CSES - Datatähti 2019 loppu - Results
Submission details
Task:Luokittelija
Sender:Santeri Toivonen
Submission time:2019-01-17 15:33:44
Language:C++
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
#40
Test results
testverdicttimegroup
#10.02 s1details
#20.01 s2details
#30.01 s3details
#40.01 s4details

Code

#include <bits/stdc++.h>
using namespace std;
int k;
int main() {
cin >> k;
cout << 22<<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 -> F"<<endl;
cout << "B -> F"<<endl;
cout << "C -> F"<<endl;
cout << "FF -> F"<<endl;
cout << "F -> _"<<endl;
}

Test details

Test 1

Group: 1

Verdict:

input
2

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

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

Test 2

Group: 2

Verdict:

input
3

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

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

Test 3

Group: 3

Verdict:

input
4

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

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

Test 4

Group: 4

Verdict:

input
5

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

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