Submission #1273992

#TimeUsernameProblemLanguageResultExecution timeMemory
1273992hccoderHack (APIO25_hack)C++20
8 / 100
115 ms436 KiB
#include <bits/stdc++.h> using namespace std; long long collisions(std::vector<long long> x); int hack(){ for (int i = 2; i<=500000; i++){ if (collisions({1, i})) return i-1; } }

Compilation message (stderr)

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