Code Submission Evaluation System Login

Datatähti 2017 loppu

Start:2017-01-19 12:15:00
End:2017-01-19 17:15:00
 

Tasks | Messages | Scoreboard | Statistics


CSES - Datatähti 2017 loppu - Results
History
2017-02-15 15:02:00100
2017-02-15 14:53:0019
2017-02-15 14:48:5919
2017-01-19 15:59:3319
2017-01-19 13:08:120
Task:Sukujuhla
Sender:siirikuoppala
Submission time:2017-01-19 15:59:33
Language:C++
Status:READY
Score:19

Feedback

groupverdictscore
#1ACCEPTED19
#2WRONG ANSWER0
#3WRONG ANSWER0

Test results

testverdicttime (s)group
#1ACCEPTED0.13 / 10.001details
#2WRONG ANSWER0.13 / 10.002details
#3WRONG ANSWER1.19 / 10.003details

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
16 1 7
15 1 11 3 2 10 12 7 14 9 16 5 ...
view   save

correct output
50

view   save

user output
B

A

B
...
view   save

Test 2

Group: 2

Verdict: WRONG ANSWER

input
1000 10 7
30 40 56 57 74 84 87 91 118 12...
view   save

correct output
50

view   save

user output
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
...
view   save

Test 3

Group: 3

Verdict: WRONG ANSWER

input
1000000000 1000 3
2465407 36450077 43121743 6275...
view   save

correct output
50

view   save

user output
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
QAQ EN OSAA ;__;
...
view   save