QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#731390#9575. $P \oplus Q = R$ucup-team253#TL 2242ms9612kbC++172.7kb2024-11-10 03:04:062024-11-10 08:23:39

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3596kb

input:

2
3
4

output:

No
Yes
1 2 0 3 
1 3 2 0 

result:

ok Correct. (2 test cases)

Test #2:

score: 0
Accepted
time: 320ms
memory: 3868kb

input:

1999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101...

output:

Yes
0 
0 
No
No
Yes
2 0 1 3 
2 1 3 0 
No
No
No
Yes
4 3 7 0 2 5 1 6 
4 2 5 3 6 0 7 1 
No
No
No
Yes
11 6 8 5 0 4 3 7 10 1 9 2 
11 7 10 6 4 1 5 0 2 8 3 9 
No
No
No
Yes
1 5 4 8 12 9 15 7 2 11 13 6 3 14 0 10 
1 4 6 11 8 12 9 0 10 2 7 13 15 3 14 5 
No
No
No
Yes
17 6 18 14 8 12 2 9 7 15 1 11 13 5 4 10 19 3...

result:

ok Correct. (1999 test cases)

Test #3:

score: 0
Accepted
time: 401ms
memory: 3628kb

input:

828
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2...

output:

Yes
569 1070 273 73 1330 375 772 1616 633 70 1606 1250 148 862 1491 1401 82 1810 1060 1859 1407 1906 339 1748 260 1392 1704 904 1626 1940 237 96 1321 859 382 173 1142 297 311 891 809 1201 1533 354 1970 1711 950 1088 961 958 1584 1010 1674 1402 274 1624 1526 310 6 1933 679 1492 933 529 526 566 625 15...

result:

ok Correct. (828 test cases)

Test #4:

score: 0
Accepted
time: 2242ms
memory: 9612kb

input:

10
200000
199996
199992
199988
199984
199980
199976
199972
199968
199964

output:

Yes
178083 98980 13537 195102 135538 79764 110195 110659 102426 77186 185594 148746 96834 97267 100200 119693 130020 144848 108178 83149 46447 137929 94854 198573 14228 144793 164028 169076 100097 99764 169705 123399 71977 27890 102184 111905 77909 72346 66090 83968 158122 146928 89688 179718 81600 ...

result:

ok Correct. (10 test cases)

Test #5:

score: 0
Accepted
time: 700ms
memory: 7104kb

input:

17
114516
114492
114468
114444
114420
114396
114372
114348
114324
114300
114276
114252
114228
114204
114180
114156
114132

output:

Yes
113990 83325 39602 48630 83014 110384 78675 29509 29311 96918 92485 103733 31473 73594 35166 47727 48604 37563 75651 34868 57447 1333 13109 100239 38680 34095 29364 96868 111278 109650 32107 102743 84091 110304 39407 72105 54460 110057 87608 69747 90678 34532 56312 70723 58960 32311 92048 85582 ...

result:

ok Correct. (17 test cases)

Test #6:

score: 0
Accepted
time: 644ms
memory: 7500kb

input:

15
131072
130944
130816
130688
130560
130432
130304
130176
130048
129920
129792
129664
129536
129408
129280

output:

Yes
8315 125107 40892 16594 124205 51309 99206 24367 6248 120861 60232 17217 36633 15876 54865 83719 99363 105944 92198 126866 126293 90594 12570 61166 16584 78661 67972 23773 113206 78734 95478 90773 129643 43142 105503 91451 70366 1879 106065 79087 105974 92200 25100 112906 6413 41019 14993 104949...

result:

ok Correct. (15 test cases)

Test #7:

score: 0
Accepted
time: 656ms
memory: 7592kb

input:

15
131068
131004
130940
130876
130812
130748
130684
130620
130556
130492
130428
130364
130300
130236
130172

output:

Yes
92533 71232 32231 72840 47700 89028 4448 64508 62127 39127 111625 69698 69792 20036 47806 9503 2809 49798 51425 41603 88761 22832 27925 829 86064 29213 17236 84910 122361 42642 89542 17489 89254 2135 37954 68561 120211 24786 26362 122131 115137 30207 36259 25220 3646 104657 55764 7582 118568 100...

result:

ok Correct. (15 test cases)

Test #8:

score: 0
Accepted
time: 626ms
memory: 7636kb

input:

15
131064
131032
131000
130968
130936
130904
130872
130840
130808
130776
130744
130712
130680
130648
130616

output:

Yes
45384 98580 61823 35635 31182 41581 50678 123910 1389 38554 102417 53697 79453 81844 59259 20859 12613 40290 111884 72105 124417 34987 110168 62335 122822 104898 96189 52666 113611 60967 103558 55242 21785 28910 106571 59625 68219 114830 107921 92579 125964 1086 97561 27258 98187 71529 80587 682...

result:

ok Correct. (15 test cases)

Test #9:

score: 0
Accepted
time: 171ms
memory: 7500kb

input:

15
131060
131059
131058
131057
131056
131055
131054
131053
131052
131051
131050
131049
131048
131047
131046

output:

Yes
25300 108098 70770 47217 8051 128276 112147 109280 43509 123123 5370 82147 22373 76575 116305 38787 86424 123680 21482 8289 48268 84579 110207 75172 60759 56849 4748 65629 13007 74839 83766 129217 52352 16018 117745 102903 55036 22492 20984 90398 7623 73043 7 4286 27937 44910 53945 104779 128259...

result:

ok Correct. (15 test cases)

Test #10:

score: 0
Accepted
time: 276ms
memory: 5476kb

input:

30
65536
65534
65532
65530
65528
65526
65524
65522
65520
65518
65516
65514
65512
65510
65508
65506
65504
65502
65500
65498
65496
65494
65492
65490
65488
65486
65484
65482
65480
65478

output:

Yes
1129 35385 26377 11605 45288 59238 30990 9297 35835 61412 37313 62348 57585 38228 5431 28149 44514 9699 23011 7670 30822 16047 14101 56361 25045 8994 32096 58675 7453 38859 55234 16699 56942 26266 20099 41042 19536 62002 18358 37050 1374 57210 50160 2526 22226 13791 4449 22349 20563 64164 18067 ...

result:

ok Correct. (30 test cases)

Extra Test:

score: -3
Extra Test Failed : Time Limit Exceeded on 2

input:

15
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076
131076

output:


result: