Submission #1256275

#TimeUsernameProblemLanguageResultExecution timeMemory
1256275nlknHack (APIO25_hack)C++20
Compilation error
0 ms0 KiB
int hack(){ int i=2; while(i++)if(collisions({1, i}))return i-1; }

Compilation message (stderr)

hack.cpp: In function 'int hack()':
hack.cpp:3:14: error: 'collisions' was not declared in this scope
    3 | while(i++)if(collisions({1, i}))return i-1;
      |              ^~~~~~~~~~
hack.cpp:4:1: warning: control reaches end of non-void function [-Wreturn-type]
    4 | }
      | ^