CSES - Datatähti 2019 loppu - Results
Submission details
Task:Luokittelija
Sender:antti röyskö
Submission time:2019-01-17 13:47:40 +0200
Language:C++
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
#40
Test results
testverdicttimegroup
#10.01 s1details
#20.03 s2details
#30.01 s3details
#40.02 s4details

Code

#include <iostream>
using namespace std;

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

	if (k == 2) {
		cout << "20\n";

		cout << "0S -> S0\n";
		cout << "1S -> S1\n";

		cout << "C0 -> 0C\n";
		cout << "C1 -> 1C\n";
		cout << "0C -> D\n";
		cout << "1C -> E\n";

		cout << "S1 -> BSC\n";
		cout << "S0 -> ASC\n";

		cout << "0 -> S0\n";
		cout << "1 -> S0\n";

		cout << "FA -> AF\n";
		cout << "FB -> BF\n";
		cout << "GA -> AG\n";
		cout << "GB -> BG\n";

		cout << "AS -> SA\n";
		cout << "BS -> SB\n";
		cout << "SA -> F\n";
		cout << "SB -> G\n";

		cout << "FD -> _\n";
		cout << "GE -> _\n";
		cout << "S -> _\n";

		// SABABBBADEDDDE
	}
}

Test details

Test 1

Group: 1

Verdict:

input
2

correct output
42
ED -> DE
FD -> DF
1DG -> DG1
GE -> EG
...

user output
20
0S -> S0
1S -> S1
C0 -> 0C
C1 -> 1C
...
Truncated

Test 2

Group: 2

Verdict:

input
3

correct output
54
ED -> DE
FD -> DF
HDG -> DGH
IDG -> DGI
...

user output
(empty)

Test 3

Group: 3

Verdict:

input
4

correct output
66
ED -> DE
FD -> DF
HDG -> DGH
IDG -> DGI
...

user output
(empty)

Test 4

Group: 4

Verdict:

input
5

correct output
78
ED -> DE
FD -> DF
HDG -> DGH
IDG -> DGI
...

user output
(empty)