Submission #835992

#TimeUsernameProblemLanguageResultExecution timeMemory
835992Nicolas125841Plahte (COCI17_plahte)C++17
0 / 160
243 ms524288 KiB
#include <bits/stdc++.h> using namespace std; vector<bitset<80000>> sets(80000, bitset<80000>()); int main(){ cin.tie(NULL)->sync_with_stdio(false); int n, m; for(int i = 0; i < n; i++){ int lx, ly, ux, uy; cin >> lx >> ly >> ux >> uy; } set<int> colors; for(int i = 0; i < m; i++){ int x, y, c; cin >> x >> y >> c; assert(colors.find(c) == colors.end()); colors.insert(c); cout << "0\n"; } }

Compilation message (stderr)

plahte.cpp: In function 'int main()':
plahte.cpp:12:22: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
   12 |     for(int i = 0; i < n; i++){
      |                    ~~^~~
plahte.cpp:19:22: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
   19 |     for(int i = 0; i < m; i++){
      |                    ~~^~~
#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...