# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
528089 | 2022-02-19T07:53:59 Z | aris12345678 | Wand (COCI19_wand) | C++14 | 26 ms | 1704 KB |
#include <bits/stdc++.h> using namespace std; int main() { int n, m; scanf("%d %d", &n, &m); string s = ""; for(int i = 0; i < n; i++) s += '0'; for(int i = 0; i < m; i++) { int a, b; scanf("%d %d", &a, &b); s[a-1] = '1'; } cout << s << "\n"; return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 1 ms | 208 KB | Output isn't correct |
2 | Correct | 1 ms | 208 KB | Output is correct |
3 | Incorrect | 17 ms | 1616 KB | Output isn't correct |
4 | Incorrect | 22 ms | 1576 KB | Output isn't correct |
5 | Incorrect | 19 ms | 1512 KB | Output isn't correct |
6 | Incorrect | 18 ms | 1600 KB | Output isn't correct |
7 | Incorrect | 18 ms | 1496 KB | Output isn't correct |
8 | Incorrect | 26 ms | 1640 KB | Output isn't correct |
9 | Incorrect | 19 ms | 1704 KB | Output isn't correct |
10 | Incorrect | 18 ms | 1608 KB | Output isn't correct |