Submission #617903

#TimeUsernameProblemLanguageResultExecution timeMemory
617903Minindu2006Vision Program (IOI19_vision)C++14
Compilation error
0 ms0 KiB
#include "vision.h" #include <bits/stdc++.h> using namespace std; void construct_network(int H, int W, int K) { vector<int> kDis; for (int x = 0; x < H; x++) { for (int y = 0; y < W; y++) { if (abs(x - 0) + abs(y - 0) == K) kDis.push_back(x * W + y); } } add_and({0, add_or(kDis)}) }

Compilation message (stderr)

vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:16:28: error: expected ';' before '}' token
   16 |  add_and({0, add_or(kDis)})
      |                            ^
      |                            ;
   17 | }
      | ~