Language
Compiler
Options
$
What happened before and after 4.5?
before: @4, Player 4 built walls
after: @6, Player 3 left the game
Exit Code:
0
Author
anonymous
almost 8 years ago
Author
anonymous
almost 8 years ago
$
prog.cc: In function 'int main()':
prog.cc:39:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(before>events.begin() && (before->event_time)>search_time)
^~
prog.cc:41:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
after= std::upper_bound (events.begin(), events.end(), search_time);
^~~~~
prog.cc:42:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(after == events.end() )
^~
prog.cc:44:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
std::cout<<"What happened before and after "<<search_time<<"?"<<std::endl;
^~~
What happened before and after 4.5?
before: @4, Player 4 built walls
after: @6, Player 3 left the game