QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#528637 | #9162. COVID tests | makrav# | 0 | 15ms | 3940kb | C++20 | 557b | 2024-08-23 17:52:40 | 2024-08-23 17:52:40 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
signed main() {
ios::sync_with_stdio(false); cin.tie(0);
int n, t;
double p;
cin >> n >> p >> t;
string ans;
for (int i = 0; i < n; i++) {
cout << "Q ";
for (int j = 0; j < n; j++) {
if (j == i) cout << '1';
else cout << '0';
}
cout << endl;
char c; cin >> c;
if (c == 'P') ans += '0';
else ans += '1';
}
cout << "A " << ans << endl;
char c; cin >> c;
return 0;
}
詳細信息
Subtask #1:
score: 0
Wrong Answer
Test #1:
score: 0
Wrong Answer
time: 8ms
memory: 3748kb
input:
1000 0.789673 1 P N P P P P P P N P P N P N P P P P P N P P P P P P N P P P P P P P P P P P P P P P P P P N N N P P P P N P P P P N N P P P N P P P P N P P P P P N N P N P P P P P N P P P P P P P P P P P P P P P P P P N N P N P P P P P P P P N P N P P P N N P P P P P P P P P P P P P P P P P P P P N ...
output:
Q 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
points 0.0 0.0 translate:wrong
Subtask #2:
score: 0
Wrong Answer
Test #18:
score: 0
Wrong Answer
time: 15ms
memory: 3940kb
input:
1000 0.001 300 N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N N...
output:
Q 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
result:
points 0.0 0.0 translate:wrong