QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#334413#5172. 序程来未4182_543_731100 ✓0ms0kb/2.3kb2024-02-21 21:44:492024-02-21 21:44:50

Judging History

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

  • [2024-02-21 21:44:50]
  • 评测
  • 测评结果:100
  • 用时:0ms
  • 内存:0kb
  • [2024-02-21 21:44:49]
  • 提交

quantum1.out

Begin
Ry 0 2.36010078033507220141 0
M 0
ReturnFull 0 14343375
End

quantum2.out

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

quantum3.out

Begin
Ry 0 1.15927948072740849561 0
IfM 0
Ry 0 1.91063323624901859610 0
IfM 0
Return 1
Else
Return 2
Endif
Else
Ry 0 1.42744875788953118345 0
IfM 0
Return 3
Else
Return 4
Endif
Endif
End

quantum4.out

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

quantum5.out

Begin
Ry 0 1.98231317286238462039 0
Rz 0 -0.09824467027437844280 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 4.71238898038468967400 0
Rx 1 4.71238898038468967400 0
End

quantum9.out

Begin
X 0 2
X 1 1
X 0 2
End

quantum10.out

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

quantum11.out

Begin
Ry 1 1.98231317286238462039 0
Ry 0 1.91063323624901859610 0
Ry 0 -0.19648934054875688560 2
End

quantum12.out

Begin
X 0 0
Ry 1 2.36639928027943158284 1
X 0 2
Ry 2 2.30052398302186311696 2
X 1 4
Ry 3 2.21429743558818081794 4
X 2 8
Ry 4 2.09439510239319526264 8
X 3 16
Ry 5 1.91063323624901859610 16
X 4 32
Ry 6 1.57079632679489678004 32
X 5 64
End

quantum13.out

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

quantum14.out

Begin
X 1 0
Ry 2 1.77215424758522743787 2
X 1 4
Ry 1 2.21429743558818081794 1
X 0 2
Ry 3 1.57079632679489678004 4
X 2 8
Ry 2 2.09439510239319526264 2
X 1 4
Ry 4 1.23095941734077474194 8
X 3 16
Ry 3 1.91063323624901859610 4
X 2 8
Ry 4 1.57079632679489678004 8
X 3 16
End

quantum15.out

Begin
X 1 0
Ry 2 1.77215424758522743787 2
X 1 4
Ry 1 2.21429743558818081794 1
X 0 2
Ry 3 1.57079632679489678004 4
X 2 8
Ry 2 2.09439510239319526264 2
X 1 4
Ry 4 1.23095941734077474194 8
X 3 16
Ry 3 1.91063323624901859610 4
X 2 8
Ry 4 1.57079632679489678004 8
X 3 16
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 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 1 0
End
Begin
M 1
ReturnFull 1 0
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.57079632679489655800 0
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
Ry 1 1.57079632679489655800 0
M 1
ReturnFull 0 1
End

详细

Test #1:

score: 5
Accepted

input:

1

output:

Begin
Ry 0 2.36010078033507220141 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 2 4 1 3
End

result:

ok accepted.

Test #3:

score: 5
Accepted

input:

3

output:

Begin
Ry 0 1.15927948072740849561 0
IfM 0
Ry 0 1.91063323624901859610 0
IfM 0
Return 1
Else
Return 2
Endif
Else
Ry 0 1.42744875788953118345 0
IfM 0
Return 3
Else
Return 4
Endif
Endif
End

result:

ok accepted.

Test #4:

score: 5
Accepted

input:

4

output:

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

result:

ok accepted.

Test #5:

score: 5
Accepted

input:

5

output:

Begin
Ry 0 1.98231317286238462039 0
Rz 0 -0.09824467027437844280 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 4.71238898038468967400 0
Rx 1 4.71238898038468967400 0
End

result:

ok accepted.

Test #9:

score: 5
Accepted

input:

9

output:

Begin
X 0 2
X 1 1
X 0 2
End

result:

ok accepted.

Test #10:

score: 5
Accepted

input:

10

output:

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

result:

ok accepted.

Test #11:

score: 5
Accepted

input:

11

output:

Begin
Ry 1 1.98231317286238462039 0
Ry 0 1.91063323624901859610 0
Ry 0 -0.19648934054875688560 2
End

result:

ok accepted.

Test #12:

score: 5
Accepted

input:

12

output:

Begin
X 0 0
Ry 1 2.36639928027943158284 1
X 0 2
Ry 2 2.30052398302186311696 2
X 1 4
Ry 3 2.21429743558818081794 4
X 2 8
Ry 4 2.09439510239319526264 8
X 3 16
Ry 5 1.91063323624901859610 16
X 4 32
Ry 6 1.57079632679489678004 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 6 16
X 4 64
H 1 1
X 0 2
H 3 4
X 2 8
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
X 1 0
Ry 2 1.77215424758522743787 2
X 1 4
Ry 1 2.21429743558818081794 1
X 0 2
Ry 3 1.57079632679489678004 4
X 2 8
Ry 2 2.09439510239319526264 2
X 1 4
Ry 4 1.23095941734077474194 8
X 3 16
Ry 3 1.91063323624901859610 4
X 2 8
Ry 4 1.57079632679489678004 8
X 3 16
End

result:

ok accepted.

Test #15:

score: 5
Accepted

input:

15

output:

Begin
X 1 0
Ry 2 1.77215424758522743787 2
X 1 4
Ry 1 2.21429743558818081794 1
X 0 2
Ry 3 1.57079632679489678004 4
X 2 8
Ry 2 2.09439510239319526264 2
X 1 4
Ry 4 1.23095941734077474194 8
X 3 16
Ry 3 1.91063323624901859610 4
X 2 8
Ry 4 1.57079632679489678004 8
X 3 16
H 5 0
X 0 32
X 1...

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 1 0
End
Begin
M 1
ReturnFull 1 0
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
M 0
ReturnFull 0 1
End
Begin
Ry 0 1.57079632679489655800 0
M 0
ReturnFull 0 1
End
Begin
M 1
ReturnFull 0 1
End
Begin
Ry 1 1.57079632679489655800 0
M 1
ReturnFull 0 1
End

result:

ok accepted.