Submission #317277

#TimeUsernameProblemLanguageResultExecution timeMemory
317277Jarif_RahmanVision Program (IOI19_vision)C++17
12 / 100
5 ms1148 KiB
#include "vision.h" #include <bits/stdc++.h> #define pb push_back #define f first #define sc second using namespace std; typedef long long int ll; typedef string str; void construct_network(int h, int w, int k){ vector <int> v; for(int i = 0; i < h; i++) for(int j = 0; j < w; j++) for(int a = 0; a <= k; a++){ if(i+a >= h || j+k-a >= w) continue; int x = i+a, y = j+k-a; v.pb(add_and({i*w+j, x*w+y})); } add_or(v); }
#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...