QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#381074#5275. Joking?qiuzxWA 1ms3708kbC++205.5kb2024-04-07 16:11:442024-04-07 16:11:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2

output:

2
1 4 
2 3 

result:

ok n = 2, max_relative_diff = 0.000%

Test #2:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

3

output:

16
3 7 9 10 12 17 18 19 28 32 33 35 38 40 43 48 
1 2 6 13 14 20 22 26 27 29 30 36 37 39 44 46 
4 5 8 11 15 16 21 23 24 25 31 34 41 42 45 47 

result:

ok n = 3, max_relative_diff = 0.146%

Test #3:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

4

output:

120
2 6 8 14 19 22 25 28 41 47 49 51 54 55 56 58 60 66 70 81 83 87 100 102 104 106 111 114 115 116 123 128 134 137 139 141 143 144 152 156 158 159 163 170 176 184 185 186 187 195 197 205 207 214 215 226 227 231 232 235 248 250 252 255 256 257 260 264 265 280 282 288 290 293 294 300 301 313 316 324 3...

result:

ok n = 4, max_relative_diff = 0.200%

Test #4:

score: -100
Wrong Answer
time: 0ms
memory: 3584kb

input:

5

output:

120
7 9 11 13 17 19 36 37 42 53 71 72 73 83 84 85 86 87 95 97 102 103 105 109 110 120 121 122 137 138 140 157 165 168 169 174 183 185 187 195 201 206 213 215 218 228 240 241 252 254 260 266 274 280 282 288 290 291 300 304 305 314 317 322 324 326 331 335 336 341 353 355 359 363 365 371 380 386 389 40...

result:

wrong answer n = 5, max_relative_diff = 0.569%