Submission #1205651

#TimeUsernameProblemLanguageResultExecution timeMemory
1205651bongoboltoHack (APIO25_hack)C++20
0 / 100
18 ms320 KiB
#include "hack.h" // #include <iostream> #include <vector> #include <map> using namespace std; int hack() { int n = 1; for (int i = 0; i < 500000; ++i) { // vector<long long> vec = {n}; if(collisions(vector<long long> {n}) != 0LL) { // cout<<n<<endl; return n; } n++; } }

Compilation message (stderr)

hack.cpp: In function 'int hack()':
hack.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type]
   21 | }
      | ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...