Submission #1317188

#TimeUsernameProblemLanguageResultExecution timeMemory
1317188jesusargHack (APIO25_hack)C++20
8 / 100
115 ms416 KiB
#include <bits/stdc++.h> #define ll long long #define pb push_back #define f first #define s second using namespace std; ll collisions(vector<ll> x); int hack(){ for(int i = 3; i <= 500001; i++){ if(collisions({1,i})){ return --i; } } }

Compilation message (stderr)

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