Submission #199319

# Submission time Handle Problem Language Result Execution time Memory
199319 2020-01-31T08:27:24 Z mythos Hotter Colder (IOI10_hottercolder) C
Compilation error
0 ms 0 KB
#include "grader.h"
#include "hottercolder.h"

int HC(int n) {
    if (n == 1) return n;
    int g = 1, r = Guess(g);
    while (r != -1 && g != n) {
        g = g + 1;
        r = Guess(g);
    }
    if (r == -1) return g - 1;
    else return g;
}

Compilation message

hottercolder.c:2:10: fatal error: hottercolder.h: No such file or directory
 #include "hottercolder.h"
          ^~~~~~~~~~~~~~~~
compilation terminated.