제출 #1256280

#제출 시각아이디문제언어결과실행 시간메모리
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; }

컴파일 시 표준 에러 (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...