QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#118284 | #2598. Permutation Matrix | ZhangYiDe | AC ✓ | 41ms | 19968kb | C++17 | 1.5kb | 2023-07-03 12:27:34 | 2023-07-03 12:27:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3400kb
input:
1
output:
NO
result:
ok OK.
Test #2:
score: 0
Accepted
time: 1ms
memory: 3512kb
input:
2
output:
YES 1 15 3 13 16 2 14 4 5 11 7 9 12 6 10 8
result:
ok OK.
Test #3:
score: 0
Accepted
time: 1ms
memory: 3408kb
input:
3
output:
YES 1 63 3 61 5 59 7 57 64 2 62 4 60 6 58 8 9 55 11 53 13 51 15 49 56 10 54 12 52 14 50 16 17 47 19 45 21 43 23 41 48 18 46 20 44 22 42 24 25 39 27 37 29 35 31 33 40 26 38 28 36 30 34 32
result:
ok OK.
Test #4:
score: 0
Accepted
time: 1ms
memory: 3464kb
input:
4
output:
YES 1 255 3 253 5 251 7 249 9 247 11 245 13 243 15 241 256 2 254 4 252 6 250 8 248 10 246 12 244 14 242 16 17 239 19 237 21 235 23 233 25 231 27 229 29 227 31 225 240 18 238 20 236 22 234 24 232 26 230 28 228 30 226 32 33 223 35 221 37 219 39 217 41 215 43 213 45 211 47 209 224 34 222 36 220 38...
result:
ok OK.
Test #5:
score: 0
Accepted
time: 2ms
memory: 5580kb
input:
5
output:
YES 1 1023 3 1021 5 1019 7 1017 9 1015 11 1013 13 1011 15 1009 17 1007 19 1005 21 1003 23 1001 25 999 27 997 29 995 31 993 1024 2 1022 4 1020 6 1018 8 1016 10 1014 12 1012 14 1010 16 1008 18 1006 20 1004 22 1002 24 1000 26 998 28 996 30 994 32 33 991 35 989 37 987 39 985 41 983 43 981 45 979 47 97...
result:
ok OK.
Test #6:
score: 0
Accepted
time: 0ms
memory: 5612kb
input:
6
output:
YES 1 4095 3 4093 5 4091 7 4089 9 4087 11 4085 13 4083 15 4081 17 4079 19 4077 21 4075 23 4073 25 4071 27 4069 29 4067 31 4065 33 4063 35 4061 37 4059 39 4057 41 4055 43 4053 45 4051 47 4049 49 4047 51 4045 53 4043 55 4041 57 4039 59 4037 61 4035 63 4033 4096 2 4094 4 4092 6 4090 8 4088 10 4086 12 ...
result:
ok OK.
Test #7:
score: 0
Accepted
time: 2ms
memory: 5540kb
input:
7
output:
YES 1 16383 3 16381 5 16379 7 16377 9 16375 11 16373 13 16371 15 16369 17 16367 19 16365 21 16363 23 16361 25 16359 27 16357 29 16355 31 16353 33 16351 35 16349 37 16347 39 16345 41 16343 43 16341 45 16339 47 16337 49 16335 51 16333 53 16331 55 16329 57 16327 59 16325 61 16323 63 16321 65 16319 67 1...
result:
ok OK.
Test #8:
score: 0
Accepted
time: 5ms
memory: 7684kb
input:
8
output:
YES 1 65535 3 65533 5 65531 7 65529 9 65527 11 65525 13 65523 15 65521 17 65519 19 65517 21 65515 23 65513 25 65511 27 65509 29 65507 31 65505 33 65503 35 65501 37 65499 39 65497 41 65495 43 65493 45 65491 47 65489 49 65487 51 65485 53 65483 55 65481 57 65479 59 65477 61 65475 63 65473 65 65471 67 6...
result:
ok OK.
Test #9:
score: 0
Accepted
time: 10ms
memory: 11596kb
input:
9
output:
YES 1 262143 3 262141 5 262139 7 262137 9 262135 11 262133 13 262131 15 262129 17 262127 19 262125 21 262123 23 262121 25 262119 27 262117 29 262115 31 262113 33 262111 35 262109 37 262107 39 262105 41 262103 43 262101 45 262099 47 262097 49 262095 51 262093 53 262091 55 262089 57 262087 59 262085 6...
result:
ok OK.
Test #10:
score: 0
Accepted
time: 41ms
memory: 19968kb
input:
10
output:
YES 1 1048575 3 1048573 5 1048571 7 1048569 9 1048567 11 1048565 13 1048563 15 1048561 17 1048559 19 1048557 21 1048555 23 1048553 25 1048551 27 1048549 29 1048547 31 1048545 33 1048543 35 1048541 37 1048539 39 1048537 41 1048535 43 1048533 45 1048531 47 1048529 49 1048527 51 1048525 53 1048523 55 1...
result:
ok OK.