Submission #1011764

#TimeUsernameProblemLanguageResultExecution timeMemory
1011764uranhishigHotter Colder (IOI10_hottercolder)C++14
0 / 100
2684 ms262144 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; int Guess(int G); int HC(int n){ int q = 0, i; int w[501]; for(int i = 1; i<=500; i++){ w[i] = Guess(i); } for(int i = 1; i < 500; i++){ if(w[i + 1] == -1){ return i; } } return n; }

Compilation message (stderr)

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:8:6: warning: unused variable 'q' [-Wunused-variable]
    8 |  int q = 0, i;
      |      ^
hottercolder.cpp:8:13: warning: unused variable 'i' [-Wunused-variable]
    8 |  int q = 0, i;
      |             ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...