# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
715035 | 2023-03-25T21:19:23 Z | ELc0421 | Kamenčići (COCI21_kamencici) | C++14 | 0 ms | 212 KB |
#include <iostream> using namespace std; int main() { int n, k, reds = 0; cin >> n >> k; for (int i = 0; i < n; i++) { int pebble; cin >> pebble; if (pebble = 1) { reds++; } } if (reds >= k) { cout << "Auntun wins!"; } else { cout << "Branka wins!"; } return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 212 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |