# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
766385 | 2023-06-25T15:27:57 Z | irmuun | Hotter Colder (IOI10_hottercolder) | C++17 | 289 ms | 262144 KB |
#include<bits/stdc++.h> using namespace std; #define pb push_back #define ll long long #define ff first #define ss second #define all(s) s.begin(),s.end() int Guess(int n); int HC(int n){ int ans=1; int p[n+5]; for(int i=1;i<=n;i++){ p[i]=Guess(i); } for(int i=1;i<n;i++){ if(p[i+1]==-1){ return i; } } return n; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 117 ms | 1280 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 119 ms | 1284 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 113 ms | 1280 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 289 ms | 262144 KB | Execution killed with signal 9 |