QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#872860 | #8619. Interactive Casino | ucup-team3695# | WA | 4ms | 3584kb | C++20 | 468b | 2025-01-26 06:01:41 | 2025-01-26 06:01:48 |
Judging History
answer
#include <bits/extc++.h>
using namespace std;
using namespace chrono;
namespace rg = ranges;
namespace vw = views;
int main()
{
cin.tie(0)->sync_with_stdio();
int T;
cin >> T;
int G = T == 5 ? 1000 : 10001;
int m, b;
string str;
for (int i = 0; i < T; i++)
{
cin >> str;
if (str != "ROUND")
return 0;
cin >> m >> b;
if (m >= G || b * 10 > m)
cout << "SKIP\n";
else
cout << "PLAY\n";
cout << flush;
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3584kb
input:
5 ROUND 1000 43 ROUND 1000 546 ROUND 1000 809 ROUND 1000 759 ROUND 1000 889 WIN
output:
SKIP SKIP SKIP 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 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 SKIP SKIP PLAY SKIP SKIP SKIP PLAY SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP PLAY SKIP SKIP SKIP PLAY SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP PLAY ...
result:
ok OK
Test #3:
score: -100
Wrong Answer
time: 4ms
memory: 3584kb
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 SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP SKIP PLAY SKIP SKIP SKIP SKIP ...
result:
wrong answer WA