QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#731614#9575. $P \oplus Q = R$ucup-team253AC ✓2916ms14588kbC++174.6kb2024-11-10 09:58:472024-11-10 09:58:47

詳細信息

Test #1:

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

input:

2
3
4

output:

No
Yes
0 3 1 2 
0 2 3 1 

result:

ok Correct. (2 test cases)

Test #2:

score: 0
Accepted
time: 463ms
memory: 3716kb

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

result:

ok Correct. (1999 test cases)

Test #3:

score: 0
Accepted
time: 756ms
memory: 3688kb

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
713 956 145 1250 504 896 1401 1663 598 321 1563 332 51 200 934 1037 485 1107 424 1071 1279 540 1357 1625 1646 666 958 448 447 131 951 184 1021 645 743 1363 1555 1332 1754 58 349 77 849 550 179 925 990 1337 1553 1799 858 177 642 1156 852 1113 1684 857 1161 83 1651 1146 1305 65 725 487 1561 1211 1...

result:

ok Correct. (828 test cases)

Test #4:

score: 0
Accepted
time: 2916ms
memory: 9564kb

input:

10
200000
199996
199992
199988
199984
199980
199976
199972
199968
199964

output:

Yes
192831 158588 133467 163190 154887 154597 170261 128145 162601 192344 135306 163505 70663 107130 83581 100875 129501 164271 186964 195023 141471 114871 134800 148407 127274 96610 79366 118769 38255 135943 107040 155081 78093 172934 187642 194043 149286 123756 119680 91290 84782 173609 168038 100...

result:

ok Correct. (10 test cases)

Test #5:

score: 0
Accepted
time: 593ms
memory: 6840kb

input:

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

output:

Yes
17288 34008 28392 25214 97096 96324 33419 35988 43338 58508 70802 32629 37712 110132 107825 45101 36621 85460 102769 79131 61019 14234 93512 102059 89007 36007 56255 31577 101702 62916 38014 4874 103251 50810 96555 109701 39307 103956 60731 66702 75303 75161 11629 87535 33719 72074 70104 68954 5...

result:

ok Correct. (17 test cases)

Test #6:

score: 0
Accepted
time: 548ms
memory: 14588kb

input:

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

output:

Yes
107685 53466 78858 82503 41851 120642 38459 126132 91261 112057 110303 72485 92275 69390 9410 98021 51692 6345 87434 84432 45241 20604 86125 99409 102390 7802 94237 38500 84350 54377 4426 40407 101726 60552 79631 77640 107073 19051 47494 125668 13562 30830 92967 16846 127055 27081 31913 679 6092...

result:

ok Correct. (15 test cases)

Test #7:

score: 0
Accepted
time: 551ms
memory: 7536kb

input:

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

output:

Yes
19412 113494 52662 86910 14953 41539 72538 38007 118181 79507 70480 113519 124770 92109 73731 5008 78665 69298 36676 1704 101184 47986 89670 87424 5530 59068 129764 69009 25103 3757 130135 75103 112545 70488 440 49059 18408 8073 117321 46369 64082 19013 34057 92792 100331 95050 20515 33854 11450...

result:

ok Correct. (15 test cases)

Test #8:

score: 0
Accepted
time: 551ms
memory: 7448kb

input:

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

output:

Yes
63193 30303 94445 65643 120644 34227 44714 122219 40167 106030 54529 91838 69149 18275 85793 124818 56324 14666 6045 109144 43876 67367 21460 113364 25601 130557 61644 10526 62506 125015 72638 101355 40897 70921 111013 27323 29755 22171 34182 35001 64016 8760 96457 89107 50735 121149 76800 11862...

result:

ok Correct. (15 test cases)

Test #9:

score: 0
Accepted
time: 153ms
memory: 7388kb

input:

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

output:

Yes
40580 100486 46619 81647 119224 122204 27577 121681 112629 79347 57971 129051 111115 111609 4151 124936 68556 69508 21918 12738 9756 119726 62412 79584 25815 61529 109605 106236 20814 29836 54665 62334 76769 12103 19232 87711 8136 79160 68936 46787 111221 59397 37002 55519 19116 113880 70896 104...

result:

ok Correct. (15 test cases)

Test #10:

score: 0
Accepted
time: 228ms
memory: 8644kb

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
27772 23732 32442 34850 15707 16617 49110 31657 55272 57539 58245 25309 23663 28331 21361 6034 17809 62069 22929 30867 31430 46207 1233 8219 26069 15457 15490 49176 25542 64481 42659 23285 29281 48684 26506 42644 3268 15875 61276 59057 51548 17852 16256 26352 59522 57235 28970 38334 24253 18143 ...

result:

ok Correct. (30 test cases)

Extra Test:

score: 0
Extra Test Passed