Submission #227760

# Submission time Handle Problem Language Result Execution time Memory
227760 2020-04-28T16:54:00 Z muhammad_hokimiyon Hotter Colder (IOI10_hottercolder) C++14
0 / 100
10000 ms 24440 KB
#include<bits/stdc++.h>
#include "grader.h"

using namespace std;

int HC(int nn)
{
    for( int i = 1; i <= nn; i++ ){
        int x = Guess(i);
        if( !x )continue;
        if( x == -1 ){
            return i - 1;
        }
    }
}

Compilation message

hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:15:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# Verdict Execution time Memory Grader output
1 Incorrect 93 ms 1400 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 91 ms 1400 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Incorrect 90 ms 1408 KB Output isn't correct
# Verdict Execution time Memory Grader output
1 Execution timed out 10025 ms 24440 KB Time limit exceeded