Submission #1074042

#TimeUsernameProblemLanguageResultExecution timeMemory
1074042MalixWombats (IOI13_wombats)C++14
9 / 100
1542 ms16472 KiB
#include "wombats.h" #include <bits/stdc++.h> using namespace std; #define REP(a,b,c) for(int a=b;a<c;a++) #define F first #define S second #define PB push_back typedef long long ll; typedef vector<int> vi; typedef vector<vi> vii; typedef pair<int,int> pi; vii a(5000,vi(200,0)),b(5000,vi(200,0)); int n,m; void init(int R, int C, int H[5000][200], int V[5000][200]) { n=R; m=C; REP(i,0,5000)REP(j,0,200)a[i][j]=H[i][j]; REP(i,0,5000)REP(j,0,200)b[i][j]=V[i][j]; } void changeH(int P, int Q, int W) { /* ... */ } void changeV(int P, int Q, int W) { b[P][Q]=W; } int escape(int V1, int V2) { int ans=0; REP(i,0,n)REP(j,0,m)ans+=b[i][j]; return ans; }

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...