CSES - Datatähti 2019 loppu - Results
Submission details
Task:Luokittelija
Sender:Santeri Toivonen
Submission time:2019-01-17 15:32:13 +0200
Language:C++
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
#40
Test results
testverdicttimegroup
#10.01 s1details
#20.01 s2details
#30.03 s3details
#40.02 s4details

Code

#include <bits/stdc++.h>
using namespace std;
int k;
int main() {
cin >> k;
cout << 20<<endl;
cout << "00 -> A"<<endl;
cout << "01 -> B"<<endl;
cout << "10 -> C"<<endl;
cout << "11 -> D"<<endl;

cout << "AB -> Z"<<endl;
cout << "AC -> Z"<<endl;
cout << "AD -> Z"<<endl;

cout << "BA -> Z"<<endl;
cout << "BC -> Z"<<endl;
cout << "BD -> Z"<<endl;

cout << "CB -> Z"<<endl;
cout << "CA -> Z"<<endl;
cout << "CD -> Z"<<endl;

cout << "DA -> Z"<<endl;
cout << "DB -> Z"<<endl;
cout << "DC -> Z"<<endl;

cout << "A -> _"<<endl;
cout << "B -> _"<<endl;
cout << "C -> _"<<endl;
cout << "__ -> _"<<endl;
}

Test details

Test 1

Group: 1

Verdict:

input
2

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

user output
20
00 -> A
01 -> B
10 -> C
11 -> D
...
Truncated

Test 2

Group: 2

Verdict:

input
3

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

user output
20
00 -> A
01 -> B
10 -> C
11 -> D
...
Truncated

Test 3

Group: 3

Verdict:

input
4

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

user output
20
00 -> A
01 -> B
10 -> C
11 -> D
...
Truncated

Test 4

Group: 4

Verdict:

input
5

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

user output
20
00 -> A
01 -> B
10 -> C
11 -> D
...
Truncated