QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#869932#8619. Interactive Casinoucup-team5150#TL 3ms3968kbC++201.8kb2025-01-25 13:58:302025-01-25 13:58:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
ROUND 1000 43
ROUND 957 433
ROUND 957 525
ROUND 957 125
ROUND 832 685
WIN

output:

PLAY
SKIP
SKIP
PLAY
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 1140 898
ROUND 1140 1078
ROUND 1140 813
ROUND 1140 785
ROUND 1140 820
ROUND 1140 929
ROUND 1140 562
ROUND 1140 399
ROUND 1140 313
ROUND 1140 804
ROUND 1140 611
ROUND 1140 237
ROUND 1140 252
ROUND 1140...

output:

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

result:

ok OK

Test #3:

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

input:

1000
ROUND 1000 13
ROUND 1026 402
ROUND 1026 653
ROUND 1026 538
ROUND 1026 333
ROUND 1026 2
ROUND 1024 413
ROUND 1024 864
ROUND 1024 396
ROUND 1024 287
ROUND 1024 700
ROUND 1024 374
ROUND 1024 68
ROUND 956 256
ROUND 956 778
ROUND 956 412
ROUND 956 670
ROUND 956 498
ROUND 956 903
ROUND 956 793
ROUND ...

output:

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

result:

ok OK

Test #4:

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

input:

1000
ROUND 1000 589
ROUND 1000 55
ROUND 1110 406
ROUND 1110 211
ROUND 1110 298
ROUND 1110 431
ROUND 1110 204
ROUND 1110 933
ROUND 1110 22
ROUND 1088 544
ROUND 1088 418
ROUND 1088 309
ROUND 1088 817
ROUND 1088 551
ROUND 1088 289
ROUND 1088 824
ROUND 1088 989
ROUND 1088 909
ROUND 1088 769
ROUND 1088 9...

output:

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

result:

ok OK

Test #5:

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

input:

1000
ROUND 1000 765
ROUND 1000 729
ROUND 1000 358
ROUND 1000 667
ROUND 1000 351
ROUND 1000 8
ROUND 992 142
ROUND 992 536
ROUND 992 186
ROUND 992 734
ROUND 992 897
ROUND 992 670
ROUND 992 686
ROUND 992 18
ROUND 974 553
ROUND 974 951
ROUND 974 405
ROUND 974 765
ROUND 974 622
ROUND 974 154
ROUND 974 36...

output:

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

result:

ok OK

Test #6:

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

input:

1000
ROUND 1000 637
ROUND 1000 885
ROUND 1000 909
ROUND 1000 190
ROUND 1000 97
ROUND 1194 751
ROUND 1194 786
ROUND 1194 568
ROUND 1194 500
ROUND 1194 766
ROUND 1194 668
ROUND 1194 634
ROUND 1194 441
ROUND 1194 937
ROUND 1194 721
ROUND 1194 45
ROUND 1149 823
ROUND 1149 835
ROUND 1149 705
ROUND 1149 3...

output:

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

result:

ok OK

Test #7:

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

input:

1000
ROUND 1000 613
ROUND 1000 418
ROUND 1000 658
ROUND 1000 815
ROUND 1000 666
ROUND 1000 50
ROUND 1100 450
ROUND 1100 783
ROUND 1100 975
ROUND 1100 721
ROUND 1100 41
ROUND 1182 685
ROUND 1182 864
ROUND 1182 1036
ROUND 1182 708
ROUND 1182 451
ROUND 1182 779
ROUND 1182 265
ROUND 1182 49
ROUND 1133 8...

output:

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

result:

ok OK

Test #8:

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

input:

1000
ROUND 1000 893
ROUND 1000 277
ROUND 1000 912
ROUND 1000 849
ROUND 1000 604
ROUND 1000 273
ROUND 1000 610
ROUND 1000 466
ROUND 1000 923
ROUND 1000 393
ROUND 1000 982
ROUND 1000 97
ROUND 1194 226
ROUND 1194 557
ROUND 1194 379
ROUND 1194 351
ROUND 1194 405
ROUND 1194 975
ROUND 1194 530
ROUND 1194 ...

output:

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

result:

ok OK

Test #9:

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

input:

1000
ROUND 1000 364
ROUND 1000 951
ROUND 1000 648
ROUND 1000 861
ROUND 1000 233
ROUND 1000 709
ROUND 1000 309
ROUND 1000 118
ROUND 882 403
ROUND 882 330
ROUND 882 401
ROUND 882 613
ROUND 882 873
ROUND 882 736
ROUND 882 249
ROUND 882 487
ROUND 882 122
ROUND 1126 122
ROUND 1004 33
ROUND 971 736
ROUND ...

output:

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

result:

ok OK

Test #10:

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

input:

1000
ROUND 1000 236
ROUND 1000 403
ROUND 1000 94
ROUND 1188 467
ROUND 1188 668
ROUND 1188 782
ROUND 1188 898
ROUND 1188 751
ROUND 1188 35
ROUND 1153 792
ROUND 1153 86
ROUND 1067 169
ROUND 1067 362
ROUND 1067 79
ROUND 1225 1126
ROUND 1225 1082
ROUND 1225 882
ROUND 1225 57
ROUND 1339 158
ROUND 1181 31...

output:

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

result:

ok OK

Test #11:

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

input:

1000
ROUND 1000 213
ROUND 1000 744
ROUND 1000 355
ROUND 1000 8
ROUND 992 103
ROUND 889 172
ROUND 889 723
ROUND 889 544
ROUND 889 877
ROUND 889 273
ROUND 889 337
ROUND 889 754
ROUND 889 758
ROUND 889 253
ROUND 889 182
ROUND 889 663
ROUND 889 84
ROUND 805 294
ROUND 805 278
ROUND 805 358
ROUND 805 692
...

output:

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

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 1000 486
ROUND 1000 292
ROUND 1000 810
ROUND 1000 85
ROUND 1170 361
ROUND 1170 368
ROUND 1170 306
ROUND 1170 749
ROUND 1170 973
ROUND 1170 175
ROUND 1170 718
ROUND 1170 214
ROUND 1170 523
ROUND 1170 729
ROUND 1170 ...

output:

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

result:

ok OK

Test #13:

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

input:

1000
ROUND 1000 166
ROUND 1000 410
ROUND 1000 902
ROUND 1000 722
ROUND 1000 596
ROUND 1000 556
ROUND 1000 258
ROUND 1000 383
ROUND 1000 347
ROUND 1000 585
ROUND 1000 932
ROUND 1000 17
ROUND 1034 694
ROUND 1034 101
ROUND 933 837
ROUND 933 773
ROUND 933 264
ROUND 933 858
ROUND 933 679
ROUND 933 289
RO...

output:

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

result:

ok OK

Test #14:

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

input:

1000
ROUND 1000 446
ROUND 1000 566
ROUND 1000 348
ROUND 1000 245
ROUND 1000 343
ROUND 1000 483
ROUND 1000 82
ROUND 1164 376
ROUND 1164 602
ROUND 1164 309
ROUND 1164 454
ROUND 1164 206
ROUND 1164 943
ROUND 1164 696
ROUND 1164 311
ROUND 1164 881
ROUND 1164 292
ROUND 1164 971
ROUND 1164 563
ROUND 1164 ...

output:

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

result:

ok OK

Test #15:

score: -100
Time Limit Exceeded

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 1330 869
ROUND 1330 351
ROUND 1330 1097
ROUND 1330 1291
ROUND 1330 993
ROUND 1330 276
ROUND 1330 929
ROUND 1330 417
ROUND 1330 217
ROUND 1330 1129
ROUND 1330 1326
ROUND ...

output:

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

result: