제출 #927248

#제출 시각아이디문제언어결과실행 시간메모리
927248vjudge1Hotter Colder (IOI10_hottercolder)C++11
0 / 100
10098 ms8144 KiB
#include <bits/stdc++.h> using namespace std; int Guess(int); int HC(int n) { for(int i = 1; i <= n; i++) { for(int j = i + 2; j <= n; j++) { Guess(i); if(!Guess(j)) return (j + i) >> 1; } } }

컴파일 시 표준 에러 (stderr) 메시지

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