QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#528637#9162. COVID testsmakrav#0 15ms3940kbC++20557b2024-08-23 17:52:402024-08-23 17:52:40

Judging History

你现在查看的是最新测评结果

  • [2024-08-23 17:52:40]
  • 评测
  • 测评结果:0
  • 用时:15ms
  • 内存:3940kb
  • [2024-08-23 17:52:40]
  • 提交

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