제출 #607416

#제출 시각아이디문제언어결과실행 시간메모리
607416gonzakia29코끼리 (Dancing Elephants) (IOI11_elephants)C++17
0 / 100
0 ms340 KiB
#include "elephants.h" #include <iostream> using namespace std; int n; int l; long long x[150000]; void init(int N, int L, int X[]){ n = N; l = L; for (int i = 0; i < n; ++i){ x[i] = X[i]; } } int update(int i, int y){ x[i] = y; if (abs(x[2]-x[1]) <= l){ return 1; } return 2; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...