QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#269804 | #7740. Puzzle: Question Mark | waifuSenpai# | AC ✓ | 232ms | 40896kb | C++20 | 5.4kb | 2023-11-30 01:17:08 | 2023-11-30 01:17:08 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3596kb
input:
2 3 4
output:
2 0 2 2 1 1 2 1 2 1 4 1 2 1 2 1 1 2 2 3 4 3 4 3 3 4 4
result:
ok Correct. (2 test cases)
Test #2:
score: 0
Accepted
time: 197ms
memory: 8212kb
input:
246 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:
0 0 0 0 0 0 0 2 0 2 2 1 1 2 1 2 1 4 1 2 1 2 1 1 2 2 3 4 3 4 3 3 4 4 5 1 2 2 3 3 2 1 2 3 4 1 1 0 4 3 5 5 0 4 4 5 0 5 0 0 8 1 2 1 2 7 7 1 1 2 2 7 8 3 4 3 4 8 7 3 3 4 4 8 8 5 6 5 6 0 0 5 5 6 6 0 0 11 1 2 2 3 3 6 6 2 1 2 3 4 6 7 1 1 0 4 3 7 6 5 5 0 4 4 7 7 5 0 5 0 0 8 8 9 10 9 10 11 11 8 9 9 10 10 11 8 ...
result:
ok Correct. (246 test cases)
Test #3:
score: 0
Accepted
time: 196ms
memory: 8332kb
input:
64 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
output:
15252 247 248 247 248 249 250 249 250 251 252 251 252 253 254 253 254 255 256 255 256 257 258 257 258 259 260 259 260 261 262 261 262 263 264 263 264 265 266 265 266 267 268 267 268 269 270 269 270 271 272 271 272 273 274 273 274 275 276 275 276 277 278 277 278 279 280 279 280 281 282 281 282 283 28...
result:
ok Correct. (64 test cases)
Test #4:
score: 0
Accepted
time: 206ms
memory: 10172kb
input:
45 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
output:
24180 311 312 311 312 313 314 313 314 315 316 315 316 317 318 317 318 319 320 319 320 321 322 321 322 323 324 323 324 325 326 325 326 327 328 327 328 329 330 329 330 331 332 331 332 333 334 333 334 335 336 335 336 337 338 337 338 339 340 339 340 341 342 341 342 343 344 343 344 345 346 345 346 347 34...
result:
ok Correct. (45 test cases)
Test #5:
score: 0
Accepted
time: 181ms
memory: 10740kb
input:
35 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390
output:
31684 1 2 1 2 357 358 357 358 713 714 713 714 1069 1070 1069 1070 1425 1426 1425 1426 1781 1782 1781 1782 2137 2138 2137 2138 2493 2494 2493 2494 2849 2850 2849 2850 3205 3206 3205 3206 3561 3562 3561 3562 3917 3918 3917 3918 4273 4274 4273 4274 4629 4630 4629 4630 4985 4986 4985 4986 5341 5342 5341...
result:
ok Correct. (35 test cases)
Test #6:
score: 0
Accepted
time: 189ms
memory: 10688kb
input:
30 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420
output:
38220 391 392 391 392 393 394 393 394 395 396 395 396 397 398 397 398 399 400 399 400 401 402 401 402 403 404 403 404 405 406 405 406 407 408 407 408 409 410 409 410 411 412 411 412 413 414 413 414 415 416 415 416 417 418 417 418 419 420 419 420 421 422 421 422 423 424 423 424 425 426 425 426 427 42...
result:
ok Correct. (30 test cases)
Test #7:
score: 0
Accepted
time: 230ms
memory: 39060kb
input:
2 2000 1000
output:
1000000 1 2 1 2 2001 2002 2001 2002 4001 4002 4001 4002 6001 6002 6001 6002 8001 8002 8001 8002 10001 10002 10001 10002 12001 12002 12001 12002 14001 14002 14001 14002 16001 16002 16001 16002 18001 18002 18001 18002 20001 20002 20001 20002 22001 22002 22001 22002 24001 24002 24001 24002 26001 26002 ...
result:
ok Correct. (2 test cases)
Test #8:
score: 0
Accepted
time: 213ms
memory: 39312kb
input:
2 1999 999
output:
999000 1999 2000 1999 2000 2001 2002 2001 2002 2003 2004 2003 2004 2005 2006 2005 2006 2007 2008 2007 2008 2009 2010 2009 2010 2011 2012 2011 2012 2013 2014 2013 2014 2015 2016 2015 2016 2017 2018 2017 2018 2019 2020 2019 2020 2021 2022 2021 2022 2023 2024 2023 2024 2025 2026 2025 2026 2027 2028 202...
result:
ok Correct. (2 test cases)
Test #9:
score: 0
Accepted
time: 212ms
memory: 40896kb
input:
2 1998 998
output:
998000 1 2 1 2 1999 2000 1999 2000 3997 3998 3997 3998 5995 5996 5995 5996 7993 7994 7993 7994 9991 9992 9991 9992 11989 11990 11989 11990 13987 13988 13987 13988 15985 15986 15985 15986 17983 17984 17983 17984 19981 19982 19981 19982 21979 21980 21979 21980 23977 23978 23977 23978 25975 25976 25975...
result:
ok Correct. (2 test cases)
Test #10:
score: 0
Accepted
time: 228ms
memory: 40828kb
input:
2 1997 997
output:
997002 1 2 1 2 3 4 3 4 5 6 5 6 7 8 7 8 9 10 9 10 11 12 11 12 13 14 13 14 15 16 15 16 17 18 17 18 19 20 19 20 21 22 21 22 23 24 23 24 25 26 25 26 27 28 27 28 29 30 29 30 31 32 31 32 33 34 33 34 35 36 35 36 37 38 37 38 39 40 39 40 41 42 41 42 43 44 43 44 45 46 45 46 47 48 47 48 49 50 49 50 51 52 51 52...
result:
ok Correct. (2 test cases)
Test #11:
score: 0
Accepted
time: 226ms
memory: 39116kb
input:
2 1996 996
output:
996004 1 2 1 2 1997 1998 1997 1998 3993 3994 3993 3994 5989 5990 5989 5990 7985 7986 7985 7986 9981 9982 9981 9982 11977 11978 11977 11978 13973 13974 13973 13974 15969 15970 15969 15970 17965 17966 17965 17966 19961 19962 19961 19962 21957 21958 21957 21958 23953 23954 23953 23954 25949 25950 25949...
result:
ok Correct. (2 test cases)
Test #12:
score: 0
Accepted
time: 218ms
memory: 40520kb
input:
2 1995 995
output:
995006 1995 1996 1995 1996 1997 1998 1997 1998 1999 2000 1999 2000 2001 2002 2001 2002 2003 2004 2003 2004 2005 2006 2005 2006 2007 2008 2007 2008 2009 2010 2009 2010 2011 2012 2011 2012 2013 2014 2013 2014 2015 2016 2015 2016 2017 2018 2017 2018 2019 2020 2019 2020 2021 2022 2021 2022 2023 2024 202...
result:
ok Correct. (2 test cases)
Test #13:
score: 0
Accepted
time: 232ms
memory: 40844kb
input:
2 1994 994
output:
994008 1 2 1 2 1995 1996 1995 1996 3989 3990 3989 3990 5983 5984 5983 5984 7977 7978 7977 7978 9971 9972 9971 9972 11965 11966 11965 11966 13959 13960 13959 13960 15953 15954 15953 15954 17947 17948 17947 17948 19941 19942 19941 19942 21935 21936 21935 21936 23929 23930 23929 23930 25923 25924 25923...
result:
ok Correct. (2 test cases)
Test #14:
score: 0
Accepted
time: 208ms
memory: 40008kb
input:
2 1993 993
output:
993012 1 2 1 2 3 4 3 4 5 6 5 6 7 8 7 8 9 10 9 10 11 12 11 12 13 14 13 14 15 16 15 16 17 18 17 18 19 20 19 20 21 22 21 22 23 24 23 24 25 26 25 26 27 28 27 28 29 30 29 30 31 32 31 32 33 34 33 34 35 36 35 36 37 38 37 38 39 40 39 40 41 42 41 42 43 44 43 44 45 46 45 46 47 48 47 48 49 50 49 50 51 52 51 52...
result:
ok Correct. (2 test cases)
Test #15:
score: 0
Accepted
time: 217ms
memory: 40556kb
input:
2 1992 992
output:
992016 1 2 1 2 1993 1994 1993 1994 3985 3986 3985 3986 5977 5978 5977 5978 7969 7970 7969 7970 9961 9962 9961 9962 11953 11954 11953 11954 13945 13946 13945 13946 15937 15938 15937 15938 17929 17930 17929 17930 19921 19922 19921 19922 21913 21914 21913 21914 23905 23906 23905 23906 25897 25898 25897...
result:
ok Correct. (2 test cases)
Test #16:
score: 0
Accepted
time: 215ms
memory: 40512kb
input:
2 1991 991
output:
991020 1991 1992 1991 1992 1993 1994 1993 1994 1995 1996 1995 1996 1997 1998 1997 1998 1999 2000 1999 2000 2001 2002 2001 2002 2003 2004 2003 2004 2005 2006 2005 2006 2007 2008 2007 2008 2009 2010 2009 2010 2011 2012 2011 2012 2013 2014 2013 2014 2015 2016 2015 2016 2017 2018 2017 2018 2019 2020 201...
result:
ok Correct. (2 test cases)
Extra Test:
score: 0
Extra Test Passed