Submission #1082568

# Submission time Handle Problem Language Result Execution time Memory
1082568 2024-08-31T15:49:34 Z aaaaaarroz Hotter Colder (IOI10_hottercolder) C++17
50 / 100
363 ms 8216 KB
#include "grader.h"
int HC(int N){
   int l=1,r=N;
   while(l<r){
      int mid=(l+r)/2;
      Guess(mid);
      int res=Guess(mid+1);
      if(res==-1){
         r=mid;
      }
      else{
         l=mid+1;
      }
   }
   return l;
}
# Verdict Execution time Memory Grader output
1 Correct 14 ms 2908 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 14 ms 2964 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 15 ms 2964 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 363 ms 8216 KB Output isn't correct - alpha = 0.000000000000
2 Halted 0 ms 0 KB -