QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869811#8619. Interactive Casinoucup-team2818#WA 3ms3584kbC++14709b2025-01-25 13:31:232025-01-25 13:31:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
ROUND 1000 43
ROUND 957 433
ROUND 1823 973
ROUND 850 731
ROUND 850 458
WIN

output:

PLAY
PLAY
PLAY
SKIP
SKIP

result:

ok OK

Test #2:

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

input:

1000
ROUND 1000 741
ROUND 1000 70
ROUND 1140 976
ROUND 1140 955
ROUND 1140 667
ROUND 473 219
ROUND 254 197
ROUND 254 203
ROUND 254 38
ROUND 330 52
ROUND 434 413
ROUND 434 86
ROUND 606 405
ROUND 606 390
ROUND 216 85
ROUND 386 98
ROUND 288 162
ROUND 126 122
ROUND 126 5
ROUND 136 100
ROUND 136 55
ROUND...

output:

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

result:

ok OK

Test #3:

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

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: 3456kb

input:

1000
ROUND 1000 589
ROUND 2178 29
ROUND 2149 1624
ROUND 2149 662
ROUND 3473 2479
ROUND 3473 3340
ROUND 3473 3052
ROUND 3473 1497
ROUND 1976 1306
ROUND 4588 4533
ROUND 4588 2083
ROUND 8754 284
ROUND 9322 7363
ROUND 9322 4823
WIN

output:

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

result:

ok OK

Test #5:

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

input:

1000
ROUND 1000 765
ROUND 1000 729
ROUND 1000 358
ROUND 1716 939
ROUND 777 50
ROUND 727 507
ROUND 727 491
ROUND 727 488
ROUND 727 486
ROUND 727 572
ROUND 727 34
ROUND 693 130
ROUND 953 824
ROUND 953 881
ROUND 953 921
ROUND 953 322
ROUND 631 275
ROUND 356 281
ROUND 356 69
ROUND 287 243
ROUND 287 44
R...

output:

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

result:

ok OK

Test #6:

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

input:

1000
ROUND 1000 637
ROUND 2274 1759
ROUND 2274 244
ROUND 2762 2321
ROUND 2762 1987
ROUND 2762 1048
ROUND 1714 1686
ROUND 1714 1576
ROUND 1714 676
ROUND 1038 621
ROUND 2280 1369
ROUND 5018 3764
ROUND 5018 2567
WIN

output:

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

result:

ok OK

Test #7:

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

input:

1000
ROUND 1000 613
ROUND 387 373
ROUND 387 70
ROUND 317 258
ROUND 317 218
ROUND 317 29
ROUND 375 75
ROUND 525 316
ROUND 1157 181
ROUND 976 864
ROUND 976 66
ROUND 1108 719
ROUND 2546 1469
ROUND 1077 17
ROUND 1060 367
ROUND 693 152
ROUND 997 920
ROUND 997 928
ROUND 997 866
ROUND 997 843
ROUND 997 265...

output:

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

result:

ok OK

Test #8:

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

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 9411 5732
ROUND 3679 2597
ROUND 3679 3434
ROU...

output:

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

result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1728 1272
ROUND 1728 1133
ROUND 3994 605
ROUND 5204 318
ROUND 4886 1789
ROUND 3097 3051
ROUND 3097 1104
ROUND 5305 3751
ROUND 5305 5197
ROUND 5305 1565
ROUND 3740 3415
ROUND 3740 2914
ROUND 3740 1980
ROUND 7700 7416
ROUND 7700 6777
ROUND 7700 761
ROUND 6939 1223
ROUND 9385 ...

output:

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

result:

ok OK

Test #10:

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

input:

1000
ROUND 1000 236
ROUND 1472 1070
ROUND 1472 391
ROUND 2254 1348
ROUND 906 754
ROUND 906 241
ROUND 1388 764
ROUND 2916 2419
ROUND 2916 2276
ROUND 2916 967
ROUND 1949 1474
ROUND 1949 35
ROUND 1914 1306
ROUND 1914 76
ROUND 1838 1125
ROUND 713 237
ROUND 476 428
ROUND 476 288
ROUND 476 246
ROUND 476 3...

output:

PLAY
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
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
...

result:

ok OK

Test #11:

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

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
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
PLAY
SKIP
PLAY
PLAY
...

result:

ok OK

Test #12:

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

input:

1000
ROUND 1000 788
ROUND 1000 900
ROUND 1000 801
ROUND 1000 531
ROUND 469 78
ROUND 391 145
ROUND 681 327
ROUND 1335 503
ROUND 832 619
ROUND 832 89
ROUND 1010 338
ROUND 672 397
ROUND 672 231
ROUND 1134 1055
ROUND 1134 290
ROUND 844 374
ROUND 470 387
ROUND 470 212
ROUND 894 340
ROUND 1574 303
ROUND 1...

output:

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

result:

ok OK

Test #13:

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

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
PLAY
SKIP
SKIP
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY
SKIP
SKIP
SKIP
PLAY
PLAY
PLAY
SKIP
PLAY
SKIP
SKIP
PLAY
PLAY
...

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 554 148
ROUND 850 293
ROUND 1436 494
ROUND 2424 208
ROUND 2216 1229
ROUND 987 626
ROUND 2239 2101
ROUND 2239 1311
ROUND 4861 2799
WIN

output:

PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
PLAY
SKIP
PLAY
PLAY

result:

ok OK

Test #15:

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

input:

1000
ROUND 1000 718
ROUND 1000 99
ROUND 1198 1020
ROUND 1198 731
ROUND 2660 356
ROUND 3372 934
ROUND 5240 2259
ROUND 9758 649
WIN

output:

SKIP
PLAY
SKIP
PLAY
PLAY
PLAY
PLAY
PLAY

result:

ok OK

Test #16:

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

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: -100
Wrong Answer
time: 3ms
memory: 3584kb

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 558 347
ROUND 558 208
ROUND 974 674
ROUND 974 645
ROUND 329 214
...

output:

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

result:

wrong answer WA