Submission #1067771

#TimeUsernameProblemLanguageResultExecution timeMemory
1067771sleepntsheepWombats (IOI13_wombats)C++17
0 / 100
5 ms8284 KiB
#include "wombats.h" #include <vector> using namespace std; template <typename T> using ve = vector<T>; int r, c, at[9999]; int sum = 0; void init(int R, int C, int H[5000][200], int V[5000][200]) { r = R, c = C; } void changeH(int P, int Q, int W) { /* ... */ } void changeV(int P, int Q, int W) { if (c == 1) { sum += W - at[P]; at[P] = W; } /* ... */ } int escape(int V1, int V2) { return sum; }

Compilation message (stderr)

grader.c: In function 'int main()':
grader.c:15:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
   15 |  int res;
      |      ^~~
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...