Submission #653300

#TimeUsernameProblemLanguageResultExecution timeMemory
653300alvinpiterVision Program (IOI19_vision)C++17
12 / 100
1 ms300 KiB
#include "vision.h" #include<bits/stdc++.h> using namespace std; void construct_network(int H, int W, int K) { if (H == 1) { vector<int> cellIndices; for (int j = 0; j + K < W; j++) { vector<int> v{j, j + K}; int cellIndex = add_and(v); cellIndices.push_back(cellIndex); } add_or(cellIndices); } else if (W == 1) { vector<int> cellIndices; for (int i = 0; i + K < H; i++) { vector<int> v{i, i + K}; int cellIndex = add_and(v); cellIndices.push_back(cellIndex); } add_or(cellIndices); } }
#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...