| Task: | Sukujuhla |
| Sender: | siirikuoppala |
| Submission time: | 2017-01-19 15:59:33 +0200 |
| Language: | C++ |
| Status: | READY |
| Result: | 19 |
| group | verdict | score |
|---|---|---|
| #1 | ACCEPTED | 19 |
| #2 | WRONG ANSWER | 0 |
| #3 | WRONG ANSWER | 0 |
| test | verdict | time | group | |
|---|---|---|---|---|
| #1 | ACCEPTED | 0.10 s | 1 | details |
| #2 | WRONG ANSWER | 0.11 s | 2 | details |
| #3 | WRONG ANSWER | 1.30 s | 3 | details |
Code
#include <iostream>
using namespace std;
int t[10101];
int main(){
int n, m, k;
cin >> n >> m >> k;
if(n!=16) {
cout << "QAQ EN OSAA ;__;";
return 0;
}
int a=0;
for(int i=1; i<=2*k+1; ++i) {
cin >> t[i];
if(t[i]==1) a=i;
}
if(abs(k - a)%2 ==0) cout << "A\n";
else cout << "B\n";
}
Test details
Test 1
Group: 1
Verdict: ACCEPTED
| input |
|---|
| #!/bin/bash set -e OFFSET=$(grep -onam1 '^__DATA_... |
| correct output |
|---|
| 50 |
| user output |
|---|
| B A B ... Truncated |
Test 2
Group: 2
Verdict: WRONG ANSWER
| input |
|---|
| #!/bin/bash set -e OFFSET=$(grep -onam1 '^__DATA_... |
| correct output |
|---|
| 50 |
| user output |
|---|
| QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; ... Truncated |
Test 3
Group: 3
Verdict: WRONG ANSWER
| input |
|---|
| #!/bin/bash set -e OFFSET=$(grep -onam1 '^__DATA_... |
| correct output |
|---|
| 50 |
| user output |
|---|
| QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; QAQ EN OSAA ;__; ... Truncated |
