Submission #892873

#TimeUsernameProblemLanguageResultExecution timeMemory
892873Sir_Ahmed_ImranVision Program (IOI19_vision)C++17
0 / 100
3 ms1236 KiB
///~~~LOTA~~~/// #include "vision.h" #include <bits/stdc++.h> using namespace std; #define nl '\n' #define ff first #define ss second #define ll long long #define append push_back #define pii pair<int,int> #define all(x) (x).begin(),(x).end() #define N 100001 void construct_network(int n,int m,int o){ int p,q,r; vector<int> u,v; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ u={i*m+j}; for(int k=i;k<n;k++){ if(k-i>o || j+o-k+i>=m) continue; u.append(k*m+j+o-k+i); } if(u.size()>1) v.append(add_or(u)); } } r=add_xor(v); }

Compilation message (stderr)

vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:14:9: warning: unused variable 'p' [-Wunused-variable]
   14 |     int p,q,r;
      |         ^
vision.cpp:14:11: warning: unused variable 'q' [-Wunused-variable]
   14 |     int p,q,r;
      |           ^
vision.cpp:14:13: warning: variable 'r' set but not used [-Wunused-but-set-variable]
   14 |     int p,q,r;
      |             ^
#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...