QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#125597#5172. 序程来未CharlieVinnie100 ✓0ms0kb/2.7kb2023-07-16 23:55:132023-07-16 23:55:16

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-16 23:55:16]
  • 评测
  • 测评结果:100
  • 用时:0ms
  • 内存:0kb
  • [2023-07-16 23:55:13]
  • 提交

quantum1.out

Begin
Ry 0 0.78149187325472055940 0
M 0
ReturnFull 14343375 0
End

quantum2.out

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

quantum3.out

Begin
H 0 0
IfM 0
Ry 0 2.21429743558818097819 0
IfM 0
Return 1
Else
Return 4
Endif
Else
Ry 0 1.36943840600456587307 0
IfM 0
Return 2
Else
Return 3
Endif
Endif
End

quantum4.out

Begin
H 0 0
M 0
Ry 0 2.21429743558818097819 0
M 0
Ry 0 1.91063323624901855631 0
M 0
ReturnFull 1 2 4 2 1 3 4 3
End

quantum5.out

Begin
Ry 0 1.98231317286238484243 0
Rz 0 -0.09824467027437810973 0
End

quantum6.out

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

quantum7.out

Begin
Ry 0 1.75178277804144433283 0
End
Begin
Ry 0 1.38980987554834900521 0
M 0
ReturnFull 1 -1
End

quantum8.out

Begin
Rx 0 -1.57079632679489655800 0
Rx 1 -1.57079632679489655800 0
End

quantum9.out

Begin
X 1 1
X 0 2
X 1 1
End

quantum10.out

Begin
X 0 0
X 1 0
H 1 0
X 0 2
End

quantum11.out

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.91063323624901837405 1
X 0 0
Ry 1 2.09439510239319570672 1
X 0 0
End

quantum12.out

Begin
X 0 0
Ry 1 2.36639928027943202693 1
X 0 2
Ry 2 2.30052398302186311696 2
X 1 4
Ry 3 2.21429743558818081794 4
X 2 8
Ry 4 2.09439510239319570672 8
X 3 16
Ry 5 1.91063323624901837405 16
X 4 32
Ry 6 1.57079632679489655800 32
X 5 64
End

quantum13.out

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

quantum14.out

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.57079632679489678004 1
Ry 2 1.23095941734077496399 3
X 3 7
X 2 3
X 1 1
X 0 0
X 4 8
H 3 4
X 4 12
X 3 4
Ry 2 1.91063323624901859610 2
H 3 6
X 4 14
X 3 6
X 2 2
Ry 1 2.09439510239319526264 1
Ry 2 1.91063323624901859610 3
Ry 3 1.57079632679489678004 7
X 4 15
X 3 7
X 2 3
X 1 1
End

quantum15.out

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.57079632679489678004 1
Ry 2 1.23095941734077496399 3
X 3 7
X 2 3
X 1 1
X 0 0
X 4 8
H 3 4
X 4 12
X 3 4
Ry 2 1.91063323624901859610 2
H 3 6
X 4 14
X 3 6
X 2 2
Ry 1 2.09439510239319526264 1
Ry 2 1.91063323624901859610 3
Ry 3 1.57079632679489678004 7
X 4 15
X 3 7
X 2 3
X 1 1
H 5 0
X 0 32
X 1 32
X 2 32
X 3 32
X 4 32
X 0 0
X 1 0
X 2 0
X 3 0
X 4 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 8
X 4 7
X 4 11
X 4 13
X 4 14
End

quantum18.out

Begin
H 0 0
End
Begin
H 0 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
Ry 0 0.78539816339744827900 0
M 0
ReturnFull 0 1
End
Begin
Z 0 0
Ry 0 0.78539816339744827900 0
M 0
ReturnFull 0 1
End
Begin
Ry 1 0.78539816339744827900 0
M 1
ReturnFull 0 1
End
Begin
Ry 1 -0.78539816339744827900 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 0.78149187325472055940 0
M 0
ReturnFull 14343375 0
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
H 0 0
IfM 0
Ry 0 2.21429743558818097819 0
IfM 0
Return 1
Else
Return 4
Endif
Else
Ry 0 1.36943840600456587307 0
IfM 0
Return 2
Else
Return 3
Endif
Endif
End

result:

ok accepted.

Test #4:

score: 5
Accepted

input:

4

output:

Begin
H 0 0
M 0
Ry 0 2.21429743558818097819 0
M 0
Ry 0 1.91063323624901855631 0
M 0
ReturnFull 1 2 4 2 1 3 4 3
End

result:

ok accepted.

Test #5:

score: 5
Accepted

input:

5

output:

Begin
Ry 0 1.98231317286238484243 0
Rz 0 -0.09824467027437810973 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
Ry 0 1.75178277804144433283 0
End
Begin
Ry 0 1.38980987554834900521 0
M 0
ReturnFull 1 -1
End

result:

ok accepted.

Test #8:

score: 5
Accepted

input:

8

output:

Begin
Rx 0 -1.57079632679489655800 0
Rx 1 -1.57079632679489655800 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
X 0 0
X 1 0
H 1 0
X 0 2
End

result:

ok accepted.

Test #11:

score: 5
Accepted

input:

11

output:

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.91063323624901837405 1
X 0 0
Ry 1 2.09439510239319570672 1
X 0 0
End

result:

ok accepted.

Test #12:

score: 5
Accepted

input:

12

output:

Begin
X 0 0
Ry 1 2.36639928027943202693 1
X 0 2
Ry 2 2.30052398302186311696 2
X 1 4
Ry 3 2.21429743558818081794 4
X 2 8
Ry 4 2.09439510239319570672 8
X 3 16
Ry 5 1.91063323624901837405 16
X 4 32
Ry 6 1.57079632679489655800 32
X 5 64
End

result:

ok accepted.

Test #13:

score: 5
Accepted

input:

13

output:

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

result:

ok accepted.

Test #14:

score: 5
Accepted

input:

14

output:

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.57079632679489678004 1
Ry 2 1.23095941734077496399 3
X 3 7
X 2 3
X 1 1
X 0 0
X 4 8
H 3 4
X 4 12
X 3 4
Ry 2 1.91063323624901859610 2
H 3 6
X 4 14
X 3 6
X 2 2
Ry 1 2.09439510239319526264 1
Ry 2 1.91063323624901859610 3
Ry 3 1.57079632679489...

result:

ok accepted.

Test #15:

score: 5
Accepted

input:

15

output:

Begin
Ry 0 1.77215424758522743787 0
Ry 1 1.57079632679489678004 1
Ry 2 1.23095941734077496399 3
X 3 7
X 2 3
X 1 1
X 0 0
X 4 8
H 3 4
X 4 12
X 3 4
Ry 2 1.91063323624901859610 2
H 3 6
X 4 14
X 3 6
X 2 2
Ry 1 2.09439510239319526264 1
Ry 2 1.91063323624901859610 3
Ry 3 1.57079632679489...

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 8
X 4 7
X 4 11
X 4 13
X 4 14
End

result:

ok accepted.

Test #18:

score: 5
Accepted

input:

18

output:

Begin
H 0 0
End
Begin
H 0 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: 5
Accepted

input:

20

output:

Begin
H 0 0
X 1 1
End
Begin
Ry 0 0.78539816339744827900 0
M 0
ReturnFull 0 1
End
Begin
Z 0 0
Ry 0 0.78539816339744827900 0
M 0
ReturnFull 0 1
End
Begin
Ry 1 0.78539816339744827900 0
M 1
ReturnFull 0 1
End
Begin
Ry 1 -0.78539816339744827900 0
M 1
ReturnFull 0 1
End

result:

ok accepted.