Submission #1256280

#TimeUsernameProblemLanguageResultExecution timeMemory
1256280nlknHack (APIO25_hack)C++20
8 / 100
123 ms416 KiB

#include "hack.h"
#include <bits/stdc++.h>
using namespace std;
int hack(){
vector<long long> v={1,2};
while(v[1]++)if(collisions(v))return v[1]-1;
}

Compilation message (stderr)

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