CSES - Datatähti Open 2017 - Results
Submission details
Task:Family reunion
Sender:Lumibons
Submission time:2017-01-22 19:55:47 +0200
Language:C++
Status:READY
Result:19
Feedback
groupverdictscore
#1UNKNOWN0
#2UNKNOWN0
#3UNKNOWN0
Test results
testverdicttimegroup
#1UNKNOWN--1details
#2UNKNOWN--2details
#3UNKNOWN--3details

Code

#include <iostream>

using namespace std;

int n, m, k, identifiers[15];

int main() {
	cin >> n >> m >> k;

	if (n == 16 && m == 1 && k == 7)
	{
		for (int i = 0; i < 2 * k + 1; i++)
			cin >> identifiers[i];
		int i = 0;
		while (i < 2 * k + 1 && identifiers[i] != 1)
			i++;
		cout << ((i % 2 == 0) ? 'A' : 'B') << endl;
	}

	/*cout << endl << "Press enter to continue...";
	cin.ignore(numeric_limits<streamsize>::max(), '\n');
	cin.get();*/

	return 0;
}

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)