# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
715035 | ELc0421 | Kamenčići (COCI21_kamencici) | C++14 | 0 ms | 212 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |