Submission #999309

#TimeUsernameProblemLanguageResultExecution timeMemory
999309crafticatL-triominoes (CEOI21_ltriominoes)C++17
0 / 100
0 ms348 KiB
#include <bits/stdc++.h> using namespace std; int w, h, k; vector<bool> getData(int pos) { vector<bool> exist(w); int j = 0; while (pos > 0) { if (pos % 2) exist[j] = true; pos /= 2; } return exist; } int main() { cin >> w >> h >> k; for (int i = 0; i < k; ++i) { int x, y; cin >> x >> y; } int pos = pow(2,w) + 1; cout << "NO"; return 0; }

Compilation message (stderr)

ltrominoes.cpp: In function 'int main()':
ltrominoes.cpp:22:9: warning: unused variable 'pos' [-Wunused-variable]
   22 |     int pos = pow(2,w) + 1;
      |         ^~~
#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...