Submission #844582

#TimeUsernameProblemLanguageResultExecution timeMemory
844582EntityPlanttLost in the cycle (IOI19_cycle)C++14
0 / 100
0 ms344 KiB
#include "cycle.h" void escape(int n) { while (!jump(1)); while (jump(1)); jump(n - 1); }

Compilation message (stderr)

cycle.cpp: In function 'void escape(int)':
cycle.cpp:3:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
    3 |     while (!jump(1));
      |     ^~~~~
cycle.cpp:4:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
    4 |  while (jump(1));
      |  ^~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...