QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#871626 | #8619. Interactive Casino | ucup-team139# | WA | 3ms | 3456kb | C++23 | 1.1kb | 2025-01-25 21:20:42 | 2025-01-25 21:20:51 |
Judging History
answer
#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#include <random>
#include <unordered_map>
#include <unordered_set>
#include <assert.h>
#include <climits>
#include <iomanip>
using namespace std;
void solve([[maybe_unused]] int t)
{
int n;
cin >> n;
for (int i = 0; i < n; i++)
{
int m, b;
string s;
cin >> s;
if (s != "ROUND")
{
return;
}
cin >> m >> b;
if (m <= b / 10)
{
cout << "PLAY" << endl;
}
else
{
cout << "SKIP" << endl;
}
}
}
int main()
{
int n = 1;
// cin >> n;
for (int i = 1; i <= n; i++)
solve(i);
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3456kb
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: -100
Wrong Answer
time: 3ms
memory: 3456kb
input:
1000 ROUND 1000 741 ROUND 1000 70 ROUND 1000 211 ROUND 1000 996 ROUND 1000 215 ROUND 1000 827 ROUND 1000 472 ROUND 1000 738 ROUND 1000 938 ROUND 1000 53 ROUND 1000 565 ROUND 1000 880 ROUND 1000 389 ROUND 1000 242 ROUND 1000 459 ROUND 1000 653 ROUND 1000 164 ROUND 1000 91 ROUND 1000 937 ROUND 1000 85...
output:
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 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 SKIP SKIP SKIP SKIP ...
result:
wrong answer WA