Submission #419014

#TimeUsernameProblemLanguageResultExecution timeMemory
419014mosiashvililukaVision Program (IOI19_vision)C++14
8 / 100
1 ms256 KiB
#include "vision.h" #include<bits/stdc++.h> using namespace std; int a,b,c,d,e,i,j,ii,jj,zx,xc,k,p[1000009],pi; vector <int> vv; int F(int q, int w){ return q*b+w; } void construct_network(int H, int W, int K) { a=H;b=W;k=K; vv.clear();pi=0; for(i=0; i<a; i++){ for(j=0; j<b; j++){ if(i+j==k){ vv.push_back(F(i,j)); } } } pi++; p[pi]=add_or(vv); return; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...