QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869942#8619. Interactive Casinoucup-team5150#TL 2ms3968kbC++201.8kb2025-01-25 14:01:152025-01-25 14:01:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
ROUND 1000 43
ROUND 957 433
ROUND 1823 973
ROUND 1823 1279
ROUND 1823 1618
WIN

output:

PLAY
PLAY
SKIP
SKIP
SKIP


result:

ok OK

Test #2:

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

input:

1000
ROUND 1000 741
ROUND 1000 70
ROUND 1140 976
ROUND 1140 955
ROUND 1140 667
ROUND 1140 372
ROUND 768 634
ROUND 768 573
ROUND 768 5
ROUND 763 738
ROUND 763 263
ROUND 1289 856
ROUND 1289 259
ROUND 1807 614
ROUND 1193 735
ROUND 1193 1084
ROUND 1193 703
ROUND 1193 461
ROUND 732 306
ROUND 426 44
ROUND...

output:

SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
...

result:

ok OK

Test #3:

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

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1830 1408
ROUND 1830 81
ROUND 1749 1458
ROUND 1749 722
ROUND 1027 958
ROUND 1027 115
ROUND 912 118
ROUND 794 664
ROUND 794 400
ROUND 794 114
ROUND 680 446
ROUND 680 574
ROUND 680 595
ROUND 680 569
ROUND 680 617
ROUND 680 639
ROUND 680 251
ROUND 1182 411
ROUND ...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
...

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1922 1024
ROUND 1922 449
ROUND 1473 1305
ROUND 1473 238
ROUND 1235 981
ROUND 1235 812
ROUND 1235 972
ROUND 1235 555
ROUND 2345 1161
ROUND 1184 573
ROUND 2330 335
ROUND 3000 1620
ROUND 3000 1394
ROUND 1606 626
ROUND 980 230
ROUND 750 396
ROUND 75...

output:

SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY


result:

ok OK

Test #5:

score: 0
Accepted
time: 2ms
memory: 3840kb

input:

1000
ROUND 1000 765
ROUND 1000 729
ROUND 1000 358
ROUND 1716 939
ROUND 1716 476
ROUND 1240 1134
ROUND 1240 536
ROUND 704 574
ROUND 704 97
ROUND 607 454
ROUND 607 168
ROUND 439 25
ROUND 489 68
ROUND 625 270
ROUND 355 287
ROUND 355 194
ROUND 355 237
ROUND 355 237
ROUND 355 297
ROUND 355 251
ROUND 355 ...

output:

SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
...

result:

ok OK

Test #6:

score: 0
Accepted
time: 1ms
memory: 3840kb

input:

1000
ROUND 1000 637
ROUND 1000 885
ROUND 1000 909
ROUND 1000 190
ROUND 1380 467
ROUND 2314 1836
ROUND 2314 6
ROUND 2308 2082
ROUND 2308 834
ROUND 1474 379
ROUND 2232 1177
ROUND 2232 267
ROUND 1965 1138
ROUND 1965 1648
ROUND 1965 1812
ROUND 1965 919
ROUND 1046 269
ROUND 777 446
ROUND 777 532
ROUND 77...

output:

SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
...

result:

ok OK

Test #7:

score: 0
Accepted
time: 1ms
memory: 3840kb

input:

1000
ROUND 1000 613
ROUND 1000 418
ROUND 582 307
ROUND 582 230
ROUND 352 313
ROUND 352 54
ROUND 460 335
ROUND 460 101
ROUND 662 85
ROUND 832 312
ROUND 520 2
ROUND 524 431
ROUND 524 455
ROUND 524 503
ROUND 524 140
ROUND 384 140
ROUND 664 490
ROUND 664 460
ROUND 664 531
ROUND 664 129
ROUND 922 206
ROU...

output:

SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
...

result:

ok OK

Test #8:

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

input:

1000
ROUND 1000 893
ROUND 1000 277
ROUND 723 93
ROUND 630 233
ROUND 397 110
ROUND 617 54
ROUND 563 38
ROUND 639 61
ROUND 761 638
ROUND 761 737
ROUND 761 276
ROUND 1313 357
ROUND 2027 1630
ROUND 2027 824
ROUND 3675 325
ROUND 4325 124
ROUND 4201 2605
ROUND 4201 906
ROUND 3295 198
ROUND 3097 776
ROUND ...

output:

SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY


result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1728 1272
ROUND 1728 1133
ROUND 1728 81
ROUND 1890 119
ROUND 1771 163
ROUND 2097 699
ROUND 3495 1420
ROUND 6335 5181
ROUND 6335 1397
ROUND 9129 4622
ROUND 9129 7682
ROUND 9129 8014
ROUND 9129 7216
ROUND 9129 5134
ROUND 9129 4304
WIN

output:

PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY


result:

ok OK

Test #10:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

1000
ROUND 1000 236
ROUND 1472 1070
ROUND 1472 391
ROUND 2254 1348
ROUND 2254 1814
ROUND 2254 266
ROUND 2786 1131
ROUND 1655 1050
ROUND 1655 1651
ROUND 1655 1334
ROUND 1655 825
ROUND 830 333
ROUND 1496 64
ROUND 1432 748
ROUND 1432 8
ROUND 1448 722
ROUND 726 344
ROUND 382 42
ROUND 340 283
ROUND 340 1...

output:

PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #11:

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

input:

1000
ROUND 1000 213
ROUND 787 509
ROUND 787 105
ROUND 682 103
ROUND 579 545
ROUND 579 367
ROUND 579 480
ROUND 579 327
ROUND 579 332
ROUND 579 574
ROUND 579 39
ROUND 540 172
ROUND 368 60
ROUND 488 88
ROUND 664 565
ROUND 664 23
ROUND 641 265
ROUND 1171 1160
ROUND 1171 543
ROUND 2257 1844
ROUND 2257 59...

output:

PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY


result:

ok OK

Test #12:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

1000
ROUND 1000 788
ROUND 1000 900
ROUND 1000 801
ROUND 1000 531
ROUND 1000 486
ROUND 514 250
ROUND 264 173
ROUND 264 39
ROUND 342 116
ROUND 226 197
ROUND 226 25
ROUND 276 118
ROUND 158 151
ROUND 158 151
ROUND 158 111
ROUND 158 119
ROUND 158 124
ROUND 158 142
ROUND 158 48
ROUND 110 107
ROUND 110 32
...

output:

SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
...

result:

ok OK

Test #13:

score: 0
Accepted
time: 1ms
memory: 3840kb

input:

1000
ROUND 1000 166
ROUND 834 262
ROUND 572 384
ROUND 572 132
ROUND 440 263
ROUND 440 347
ROUND 440 145
ROUND 295 107
ROUND 509 96
ROUND 701 284
ROUND 417 176
ROUND 769 707
ROUND 769 737
ROUND 769 739
ROUND 769 515
ROUND 769 210
ROUND 1189 909
ROUND 1189 727
ROUND 1189 527
ROUND 662 174
ROUND 1010 8...

output:

PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
...

result:

ok OK

Test #14:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

1000
ROUND 1000 446
ROUND 554 148
ROUND 850 293
ROUND 1436 494
ROUND 2424 208
ROUND 2216 1229
ROUND 2216 1570
ROUND 2216 946
ROUND 4108 328
ROUND 4764 2309
ROUND 2455 1215
ROUND 4885 1905
ROUND 2980 2936
ROUND 2980 832
ROUND 2148 783
ROUND 3714 3172
ROUND 3714 1726
ROUND 7166 2819
WIN

output:

PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY


result:

ok OK

Test #15:

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

input:

1000
ROUND 1000 718
ROUND 1000 99
ROUND 1198 1020
ROUND 1198 731
ROUND 1198 869
ROUND 1198 66
ROUND 1330 1068
ROUND 1330 439
ROUND 2208 505
ROUND 3218 3199
ROUND 3218 1361
ROUND 1857 1438
ROUND 1857 1094
ROUND 1857 1494
ROUND 1857 558
ROUND 1299 434
ROUND 2167 355
ROUND 2877 2444
ROUND 2877 1031
ROU...

output:

SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY


result:

ok OK

Test #16:

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

input:

1000
ROUND 1000 294
ROUND 706 470
ROUND 706 106
ROUND 600 325
ROUND 600 41
ROUND 682 412
ROUND 682 77
ROUND 605 522
ROUND 605 528
ROUND 605 6
ROUND 599 176
ROUND 423 217
ROUND 423 356
ROUND 423 246
ROUND 423 111
ROUND 312 190
ROUND 312 122
ROUND 190 153
ROUND 190 145
ROUND 190 70
ROUND 330 172
ROUND...

output:

PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
...

result:

ok OK

Test #17:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

1000
ROUND 1000 765
ROUND 1000 224
ROUND 1448 324
ROUND 1124 189
ROUND 935 380
ROUND 1695 611
ROUND 1084 999
ROUND 1084 1084
ROUND 1084 1015
ROUND 1084 954
ROUND 1084 367
ROUND 717 360
ROUND 717 337
ROUND 1391 106
ROUND 1603 1045
ROUND 1603 1201
ROUND 1603 1164
ROUND 1603 1282
ROUND 1603 1220
ROUND ...

output:

SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
...

result:

ok OK

Test #18:

score: 0
Accepted
time: 1ms
memory: 3968kb

input:

1000
ROUND 1000 341
ROUND 659 542
ROUND 659 43
ROUND 616 192
ROUND 1000 443
ROUND 557 147
ROUND 410 215
ROUND 410 309
ROUND 410 74
ROUND 558 102
ROUND 456 95
ROUND 646 54
ROUND 592 401
ROUND 592 358
ROUND 592 591
ROUND 592 420
ROUND 592 438
ROUND 592 572
ROUND 592 543
ROUND 592 15
ROUND 577 269
ROUN...

output:

PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
...

result:

ok OK

Test #19:

score: -100
Time Limit Exceeded

input:

1000
ROUND 1000 318
ROUND 1636 1211
ROUND 1636 1003
ROUND 1636 1621
ROUND 1636 862
ROUND 1636 603
ROUND 2842 904
ROUND 1938 1397
ROUND 1938 536
ROUND 1402 182
ROUND 1766 936
ROUND 1766 1563
ROUND 1766 1114
ROUND 1766 347
ROUND 1419 322
ROUND 1097 974
ROUND 1097 844
ROUND 1097 807
ROUND 1097 516
ROUN...

output:

PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
...

result: