QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#735468#9575. $P \oplus Q = R$ucup-team5250TL 1700ms6316kbC++202.2kb2024-11-11 20:14:132024-11-11 20:14:13

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3780kb

input:

2
3
4

output:

No
Yes
2 1 3 0
2 0 1 3

result:

ok Correct. (2 test cases)

Test #2:

score: 0
Accepted
time: 209ms
memory: 3936kb

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
0 2 3 1
0 3 1 2
No
No
No
Yes
5 2 4 3 0 7 1 6
5 3 6 0 4 2 7 1
No
No
No
Yes
6 8 5 11 7 1 4 2 9 3 10 0
6 9 7 8 3 4 2 5 1 10 0 11
No
No
No
Yes
3 13 2 7 10 0 9 15 14 4 11 1 5 6 12 8
3 12 0 4 14 5 15 8 6 13 1 10 9 11 2 7
No
No
No
Yes
5 18 19 13 14 9 15 4 7 8 12 0 1 10 6 11 2 17 16 3
5 19...

result:

ok Correct. (1999 test cases)

Test #3:

score: 0
Accepted
time: 311ms
memory: 3876kb

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
1390 1566 712 854 1700 1738 1839 610 1132 1542 1307 740 1695 1697 820 1408 1583 1730 1710 1046 1660 1649 1659 583 448 852 117 1938 56 208 1422 1225 606 1443 1434 1188 862 1525 1234 1908 200 378 226 1827 1805 1074 914 863 1510 478 1141 507 780 725 1350 1282 313 1060 1884 1944 877 68 1737 1514 176...

result:

ok Correct. (828 test cases)

Test #4:

score: 0
Accepted
time: 1700ms
memory: 6316kb

input:

10
200000
199996
199992
199988
199984
199980
199976
199972
199968
199964

output:

Yes
175562 104654 118753 117584 173387 83718 169177 132515 158208 169081 170449 101833 122535 169320 107690 18130 149834 16988 194686 143902 137471 159965 151789 33642 94330 78122 136849 142171 129864 139359 136536 97781 99090 177434 154343 168427 80332 148329 154070 31203 84392 170912 73272 166767 ...

result:

ok Correct. (10 test cases)

Test #5:

score: 0
Accepted
time: 606ms
memory: 4980kb

input:

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

output:

Yes
57724 16505 85423 81576 10007 57436 64146 29631 89497 112978 18983 27494 66604 48957 48503 76588 87040 57624 12419 113963 22968 15246 69638 23524 31027 88461 44216 22655 40666 56430 76181 72612 58334 104324 70859 44727 41101 62002 22749 35877 8061 111418 10306 25438 22378 9363 27120 36493 9362 1...

result:

ok Correct. (17 test cases)

Test #6:

score: 0
Accepted
time: 514ms
memory: 5196kb

input:

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

output:

Yes
126266 106524 698 99824 114320 29847 22764 101503 87769 112789 8488 119041 43222 30010 108201 78160 88911 99644 81358 577 62948 56449 10032 105701 47830 118539 3132 66297 23066 64771 67880 103243 34381 105274 95833 65063 92521 107566 115852 20950 36664 47590 123852 43714 108767 114705 63199 9966...

result:

ok Correct. (15 test cases)

Test #7:

score: 0
Accepted
time: 516ms
memory: 5264kb

input:

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

output:

Yes
103341 56439 110438 128535 23142 105105 102586 106257 46484 110862 106541 39003 59124 7052 36754 3312 107728 118550 27621 29459 59458 121845 73773 68822 107074 38041 84232 9897 39458 62310 38536 85145 104234 57942 71354 91783 95973 109293 113016 43029 102825 43278 98049 6495 50417 17693 10259 56...

result:

ok Correct. (15 test cases)

Test #8:

score: 0
Accepted
time: 519ms
memory: 5256kb

input:

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

output:

Yes
55149 100760 125071 55825 66834 126085 107694 32243 116355 38865 27883 104206 69020 93322 59916 35106 8136 13564 87758 113901 125084 66074 34464 121250 32790 130677 75943 17987 44132 71435 115894 111975 44674 21117 125747 58194 41346 70025 100852 6945 6293 122469 92667 11598 65615 95191 4778 515...

result:

ok Correct. (15 test cases)

Test #9:

score: 0
Accepted
time: 136ms
memory: 5204kb

input:

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

output:

Yes
40645 125753 107613 23516 84550 4291 65774 119796 109040 70506 5 116351 31115 22464 106763 96940 24713 48337 33460 62471 1946 107589 128166 93311 101312 97350 97467 82836 66546 96080 117597 66851 40910 256 109628 29897 58122 92977 43686 130197 106628 49666 99918 124396 103791 56027 85612 31687 3...

result:

ok Correct. (15 test cases)

Test #10:

score: 0
Accepted
time: 230ms
memory: 4576kb

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
46494 35524 59350 43071 35699 60740 29282 44517 32618 31983 24131 55070 40158 51997 15261 38426 56086 12341 26873 50056 47229 8927 40771 42407 6843 51775 64247 56471 8700 26322 61272 27111 42096 19039 63106 44197 26805 23069 5087 46552 43782 227 5068 63707 4762 17090 17085 49908 33560 48355 3981...

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:

Yes
63725 131072 93648 131073 22045 65354 117308 14207 57600 112279 94900 33404 18403 102993 99800 93386 93629 70637 89786 62846 58738 67873 38494 126383 105642 80743 96968 106800 58670 82962 40987 114146 35607 2036 113543 40072 87149 1553 100243 124988 112511 7521 92406 104793 61260 45036 120501 60...

result: