Submission #897993

#TimeUsernameProblemLanguageResultExecution timeMemory
897993UmairAhmadMirzaGame (IOI13_game)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "grader.h" using namespace std; set<pair<int,int>> v; long long grid[105][100005]; void init(int R, int C){ } void update(int P, int Q, long long K){ v.insert({P,Q}); grid[P][Q]=K; } long long calculate(int P, int Q, int U, int V){ long long ans=0; for (auto i:v) { int r=i.first; int c=i.second; if(P<=r&&r<=U&&Q<=c&&c<=V) ans=__gcd(grid[r][c],ans); } return ans; }

Compilation message (stderr)

game.cpp:2:10: fatal error: grader.h: No such file or directory
    2 | #include "grader.h"
      |          ^~~~~~~~~~
compilation terminated.