CSES - Datatähti 2017 loppu - Results
Submission details
Task:Sukujuhla
Sender:Kuha
Submission time:2017-01-19 14:45:20 +0200
Language:C++
Status:READY
Result:19
Feedback
groupverdictscore
#1UNKNOWN0
#2UNKNOWN0
#3UNKNOWN0
Test results
testverdicttimegroup
#1UNKNOWN--1details
#2UNKNOWN--2details
#3UNKNOWN--3details

Code

#include <bits/stdc++.h>

#define ll long long

using namespace std;

int main () {
	int n, m, k;
	cin>>n>>m>>k;
	int v[16];
	int x = 15;
	for (int i = 0; i < 2 * k + 1; i++) {
		cin>>v[i];
		if (v[i] == 1) x = i;
	}
	if ((x - k) & 1) cout<<"A"<<endl;
	else cout<<"B"<<endl;
}

Test details

Test 1

Group: 1

Verdict: UNKNOWN

input
#!/bin/bash
set -e
OFFSET=$(grep -onam1 '^__DATA_...

correct output
50

user output
(not available)

Test 2

Group: 2

Verdict: UNKNOWN

input
#!/bin/bash
set -e
OFFSET=$(grep -onam1 '^__DATA_...

correct output
50

user output
(not available)

Test 3

Group: 3

Verdict: UNKNOWN

input
#!/bin/bash
set -e
OFFSET=$(grep -onam1 '^__DATA_...

correct output
50

user output
(not available)