답안 #754480

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
754480 2023-06-07T21:19:03 Z ValiAntonie Hotter Colder (IOI10_hottercolder) C++17
0 / 100
10000 ms 7976 KB
#include "grader.h"
#include<bits/stdc++.h>
using namespace std;
 
 
int HC(int n){
    int st = 1;
    int dr = n;
    while(st <= dr){
        int mij = (st + dr) >> 1;
        Guess(st);
        int x = Guess(dr);
        if(x == 0){
            return mij;
        }
        else if(x > 0){
            st = mij;
        }
        else
            dr = mij;
    }
    return st;
}
# 결과 실행 시간 메모리 Grader output
1 Execution timed out 10059 ms 1236 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Execution timed out 10023 ms 1236 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Execution timed out 10003 ms 1236 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Execution timed out 10073 ms 7976 KB Time limit exceeded