QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72627#5172. 序程来未Chinese_zjc_95 0ms0kb/2.5kb2023-01-17 09:14:082023-01-17 09:14:10

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-01-17 09:14:10]
  • 评测
  • 测评结果:95
  • 用时:0ms
  • 内存:0kb
  • [2023-01-17 09:14:08]
  • 提交

quantum1.out

Begin
Ry 0 2.36010078033507267911 0
M 0
ReturnFull 0 14343375
End

quantum2.out

Begin
H 0 0
M 0
H 0 0
M 0
ReturnFull 1 2 3 4
End

quantum3.out

Begin
Ry 0 0.64350110879328438680 0
IfM 0
Return 1
Endif
Ry 0 0.98176535657862273713 0
IfM 0
Return 2
Endif
Ry 0 1.42744875788953126162 0
IfM 0
Return 3
Endif
Return 4
End

quantum4.out

Begin
Ry 0 0.64350110879328438680 0
M 0
Ry 0 0.98176535657862273713 0
M 0
Ry 0 1.42744875788953126162 0
M 0
ReturnFull 4 1 2 1 3 1 2 1
End

quantum5.out

Begin
Rz 0 -1.81238856597464028644 0
Ry 0 1.98231317286238463860 0
Rz 0 -0.09824467027437830966 0
End

quantum6.out

Begin
T 0 0
T 0 0
H 0 0
M 0
ReturnFull 1 0
End

quantum7.out

Begin
H 0 0
End
Begin
H 0 0
M 0
ReturnFull -1 1
End

quantum8.out

Begin
Rx 0 -1.57079632679489661926 0
Rx 1 -1.57079632679489661926 0
End

quantum9.out

Begin
X 1 1
X 0 2
X 1 1
End

quantum10.out

Begin
H 0 0
X 1 1
Z 1 0
X 1 0
End

quantum11.out

Begin
Ry 1 1.98231317286238463860 0
Ry 0 1.91063323624901859610 0
Ry 0 -0.19648934054875661932 2
End

quantum12.out

Begin
X 0 0
Ry 1 2.36639928027943193130 1
X 0 2
Ry 2 2.30052398302186298252 2
X 1 4
Ry 3 2.21429743558818100595 4
X 2 8
Ry 4 2.09439510239319549249 8
X 3 16
Ry 5 1.91063323624901855631 16
X 4 32
Ry 6 1.57079632679489661915 32
X 5 64
End

quantum13.out

Begin
X 0 0
H 4 1
X 0 16
H 2 1
X 0 4
H 1 1
X 0 2
H 3 4
X 2 8
H 6 16
X 4 64
H 5 16
X 4 32
H 7 64
X 6 128
End

quantum14.out

Begin
Ry 0 1.36943840600456590018 0
Ry 1 1.57079632679489655800 0
Ry 1 -0.52359877559829870464 1
Ry 2 1.91063323624901859610 0
Ry 2 -0.67967381890824407620 1
Ry 2 -0.67967381890824407620 2
Ry 2 -0.55128559843253044370 3
Ry 3 3.14159265358979311600 0
Ry 3 -1.57079632679489655800 1
Ry 3 -1.57079632679489655800 2
Ry 3 -1.57079632679489655800 4
Ry 3 1.57079632679489655800 7
X 4 1
X 4 2
X 4 4
X 4 8
End

quantum15.out

Begin
Ry 0 1.36943840600456590018 0
Ry 1 1.57079632679489655800 0
Ry 1 -0.52359877559829870464 1
Ry 2 1.91063323624901859610 0
Ry 2 -0.67967381890824407620 1
Ry 2 -0.67967381890824407620 2
Ry 2 -0.55128559843253044370 3
Ry 3 3.14159265358979311600 0
Ry 3 -1.57079632679489655800 1
Ry 3 -1.57079632679489655800 2
Ry 3 -1.57079632679489655800 4
Ry 3 1.57079632679489655800 7
X 4 1
X 4 2
X 4 4
X 4 8
H 5 0
X 0 32
X 1 32
X 2 32
X 3 32
X 4 32
X 5 0
End

quantum16.out

Begin
X 3 1
X 3 2
X 3 4
End

quantum17.out

Begin
X 4 1
X 4 2
X 4 4
X 4 7
X 4 8
X 4 11
X 4 13
X 4 14
End

quantum18.out

Begin
Ry 0 1.57079632679489661926 0
End
Begin
Ry 0 -1.57079632679489661926 0
M 0
ReturnFull 0 1
End

quantum19.out

Begin
H 0 0
H 1 0
X 2 1
X 2 2
End
Begin
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
M 2
ReturnFull 1 0
End

quantum20.out

Begin
H 0 0
X 1 1
End
Begin
M 0
ReturnFull 0 1
End
Begin
Ry 0 1.57079632679489661926 0
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
Ry 1 -1.57079632679489661926 0
M 1
ReturnFull 0 1
End

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 5
Accepted

input:

1

output:

Begin
Ry 0 2.36010078033507267911 0
M 0
ReturnFull 0 14343375
End

result:

ok accepted.

Test #2:

score: 5
Accepted

input:

2

output:

Begin
H 0 0
M 0
H 0 0
M 0
ReturnFull 1 2 3 4
End

result:

ok accepted.

Test #3:

score: 5
Accepted

input:

3

output:

Begin
Ry 0 0.64350110879328438680 0
IfM 0
Return 1
Endif
Ry 0 0.98176535657862273713 0
IfM 0
Return 2
Endif
Ry 0 1.42744875788953126162 0
IfM 0
Return 3
Endif
Return 4
End

result:

ok accepted.

Test #4:

score: 5
Accepted

input:

4

output:

Begin
Ry 0 0.64350110879328438680 0
M 0
Ry 0 0.98176535657862273713 0
M 0
Ry 0 1.42744875788953126162 0
M 0
ReturnFull 4 1 2 1 3 1 2 1
End

result:

ok accepted.

Test #5:

score: 5
Accepted

input:

5

output:

Begin
Rz 0 -1.81238856597464028644 0
Ry 0 1.98231317286238463860 0
Rz 0 -0.09824467027437830966 0
End

result:

ok accepted.

Test #6:

score: 5
Accepted

input:

6

output:

Begin
T 0 0
T 0 0
H 0 0
M 0
ReturnFull 1 0
End

result:

ok accepted.

Test #7:

score: 5
Accepted

input:

7

output:

Begin
H 0 0
End
Begin
H 0 0
M 0
ReturnFull -1 1
End

result:

ok accepted.

Test #8:

score: 5
Accepted

input:

8

output:

Begin
Rx 0 -1.57079632679489661926 0
Rx 1 -1.57079632679489661926 0
End

result:

ok accepted.

Test #9:

score: 5
Accepted

input:

9

output:

Begin
X 1 1
X 0 2
X 1 1
End

result:

ok accepted.

Test #10:

score: 5
Accepted

input:

10

output:

Begin
H 0 0
X 1 1
Z 1 0
X 1 0
End

result:

ok accepted.

Test #11:

score: 5
Accepted

input:

11

output:

Begin
Ry 1 1.98231317286238463860 0
Ry 0 1.91063323624901859610 0
Ry 0 -0.19648934054875661932 2
End

result:

ok accepted.

Test #12:

score: 5
Accepted

input:

12

output:

Begin
X 0 0
Ry 1 2.36639928027943193130 1
X 0 2
Ry 2 2.30052398302186298252 2
X 1 4
Ry 3 2.21429743558818100595 4
X 2 8
Ry 4 2.09439510239319549249 8
X 3 16
Ry 5 1.91063323624901855631 16
X 4 32
Ry 6 1.57079632679489661915 32
X 5 64
End

result:

ok accepted.

Test #13:

score: 5
Accepted

input:

13

output:

Begin
X 0 0
H 4 1
X 0 16
H 2 1
X 0 4
H 1 1
X 0 2
H 3 4
X 2 8
H 6 16
X 4 64
H 5 16
X 4 32
H 7 64
X 6 128
End

result:

ok accepted.

Test #14:

score: 5
Accepted

input:

14

output:

Begin
Ry 0 1.36943840600456590018 0
Ry 1 1.57079632679489655800 0
Ry 1 -0.52359877559829870464 1
Ry 2 1.91063323624901859610 0
Ry 2 -0.67967381890824407620 1
Ry 2 -0.67967381890824407620 2
Ry 2 -0.55128559843253044370 3
Ry 3 3.14159265358979311600 0
Ry 3 -1.57079632679489655800 1
Ry 3 -1.57079632679...

result:

ok accepted.

Test #15:

score: 5
Accepted

input:

15

output:

Begin
Ry 0 1.36943840600456590018 0
Ry 1 1.57079632679489655800 0
Ry 1 -0.52359877559829870464 1
Ry 2 1.91063323624901859610 0
Ry 2 -0.67967381890824407620 1
Ry 2 -0.67967381890824407620 2
Ry 2 -0.55128559843253044370 3
Ry 3 3.14159265358979311600 0
Ry 3 -1.57079632679489655800 1
Ry 3 -1.57079632679...

result:

ok accepted.

Test #16:

score: 5
Accepted

input:

16

output:

Begin
X 3 1
X 3 2
X 3 4
End

result:

ok accepted.

Test #17:

score: 5
Accepted

input:

17

output:

Begin
X 4 1
X 4 2
X 4 4
X 4 7
X 4 8
X 4 11
X 4 13
X 4 14
End

result:

ok accepted.

Test #18:

score: 5
Accepted

input:

18

output:

Begin
Ry 0 1.57079632679489661926 0
End
Begin
Ry 0 -1.57079632679489661926 0
M 0
ReturnFull 0 1
End

result:

ok accepted.

Test #19:

score: 5
Accepted

input:

19

output:

Begin
H 0 0
H 1 0
X 2 1
X 2 2
End
Begin
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
M 2
ReturnFull 1 0
End

result:

ok accepted.

Test #20:

score: 0
Wrong Answer

input:

20

output:

Begin
H 0 0
X 1 1
End
Begin
M 0
ReturnFull 0 1
End
Begin
Ry 0 1.57079632679489661926 0
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
Ry 1 -1.57079632679489661926 0
M 1
ReturnFull 0 1
End

result:

wrong answer: wrong probability 0.000000 0.500000 0.500000 0.000000 in case 3 5.
wrong answer wrong answer.