# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1011739 | 2024-07-01T07:54:47 Z | uranhishig | Hotter Colder (IOI10_hottercolder) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; int Guess(int G); //int run(int L, int R) { // if(L == R){ // return 1; // } //} int HC(int n){ int x = 0, i; bool x = true; for(int i = 1; i <= 500; i++){ if(Guess(i) == -1){ break; x = false; } } if(x){ cout << "500" << endl; } else{ cout << i << endl; } }