QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#596988#3298. 旷野大计算3un_larryfunc70 0ms0kb/78.9kb2024-09-28 16:49:402024-09-28 16:49:41

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

score: 10
Accepted

input:

1

output:

I
I
+ 1 2
< 3 1
- 4
O 5

result:

ok The total number of nodes is 6. score: 10

Test #2:

score: 10
Accepted

input:

2

output:

I
- 1
< 2 2
+ 2 3
S 4
O 5

result:

ok The total number of nodes is 6. score: 10

Test #3:

score: 10
Accepted

input:

3

output:

I
< 1 40
S 2
< 3 1
C 4 -1
O 5

result:

ok The total number of nodes is 6. score: 10

Test #4:

score: 10
Accepted

input:

4

output:

I
C 1 0.0000000001
< 2 233
S 3
< 4 202
> 1 200
+ 5 6
S 7
- 8
C 9 0.5
< 10 203
+ 11 1
+ 12 7
O 13

result:

ok The total number of nodes is 14. score: 10

Test #5:

score: 10
Accepted

input:

5

output:

I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
< 31 1
+ 32 33
< 30 2
+ 34 35
< 29 3
+ 36 37
< 28 4
+ 38 39
< 27 5
+ 40 41
< 26 6
+ 42 43
< 25 7
+ 44 45
< 24 8
+ 46 47
< 23 9
+ 48 49
< 22 10
+ 50 51
< 21 11
+ 52 53
< 20 12
+ 54 5...

result:

ok The total number of nodes is 95. score: 10

Test #6:

score: 0
Wrong Answer

input:

6

output:

I
< 1 500
C 2 -7029552803941010473279990502719137071331598053756241376245481360960874814709808055663171714686152964576553411928287
243387006626215683899653096707832451386310656.0000000000
S 3
< 4 531
- 5
+ 2 6
C 7 -35147764019541382992092572935894637440896471800828690066355160698578767048102...

result:

wrong output format Expected I, O, -, S, +, <, >, P, M, * or C, but "243387006626215683899653096707832451386310656.0000000000" found

Test #7:

score: 0
Wrong Answer

input:

7

output:

I
I
< 1 500
C 3 -7029552803941010473279990502719137071331598053756241376245481360960874814709808055663171714686152964576553411928287
243387006626215683899653096707832451386310656.0000000000
S 4
< 5 531
- 6
+ 3 7
C 8 -35147764019541382992092572935894637440896471800828690066355160698578767048...

result:

wrong output format Expected I, O, -, S, +, <, >, P, M, * or C, but "243387006626215683899653096707832451386310656.0000000000" found

Test #8:

score: 10
Accepted

input:

8

output:

I
> 1 233
C 2 2.0634370688955605467272811726201 
S 3
C 4 -0.887298334620741688517926539978236773937633025540819832675154107295416657242528255923059519 
< 5 233
O 6

result:

ok The total number of nodes is 7. score: 10

Test #9:

score: 10
Accepted

input:

9

output:

I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
+ 1 2
- 1
+ 18 2
C 19 0.00000000000000000000001
< 20 500
S 21
< 22 151
> 19 150
+ 24 23
S 25
C 26 -0.5000000000
- 23
< 27 152
+ 29 28
+ 1 30
- 31
+ 17 32
+ 31 3
- 31
+ 35 3
C 36 0.00000000000000000000001
< 37 500
S 38
< 39 151
>...

result:

ok The total number of nodes is 2072. score: 10

Test #10:

score: 0
Wrong Answer

input:

10

output:

I
I
I
- 3
> 4 150
C 4 0.0000001
< 1 500
C 7 -702955280394101047327999050271913707133159805375624137624548136096087481470980805566317171468615296457655341192828
243387006626215683899653096707832451386310656.0000000000
S 8
< 9 531
- 10
+ 7 11
C 12 -3514776401954138299209257293589463744089...

result:

wrong output format Expected I, O, -, S, +, <, >, P, M, * or C, but "243387006626215683899653096707832451386310656.0000000000" found