CSES - Datatähti Open 2019 - Results
Submission details
Task:Classifier
Sender:faishol27
Submission time:2019-01-21 07:21:05 +0200
Language:C++
Status:READY
Result:0
Feedback
groupverdictscore
#10
#20
#30
#40
Test results
testverdicttimegroup
#10.02 s1details
#20.02 s2details
#30.02 s3details
#40.03 s4details

Code

#include <bits/stdc++.h>
using namespace std;
int K, N;


int main(){
	cout << 20 << endl;
	cout << "00 -> A" << endl;
	cout << "01 -> B" << endl;
	cout << "10 -> C" << endl;
	cout << "11 -> D" << endl;
	for(int i=0;i<4;i++) for(int j=0;j<4;j++){
		if(i==j) continue;
		cout << (i+'A') << (j+'A') << " -> Z" << endl;
	}
	cout << "A -> _" << endl;
	cout << "B -> _" << endl;
	cout << "C -> _" << endl;
	cout << "D -> _" << 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