Submission #835966

# Submission time Handle Problem Language Result Execution time Memory
835966 2023-08-24T02:13:20 Z Nicolas125841 Plahte (COCI17_plahte) C++17
0 / 160
55 ms 7020 KB
#include <bits/stdc++.h>

using namespace std;

int main(){
    cin.tie(NULL)->sync_with_stdio(false);

    int n, m;
    cin >> 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;

        while(colors.find(c) != colors.end());

        colors.insert(c);

        cout << "0\n";
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 19 ms 2640 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 20 ms 2740 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 31 ms 4300 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 53 ms 6660 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 55 ms 7020 KB Output isn't correct
2 Halted 0 ms 0 KB -