QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#818506 | #9670. GG and YY’s Stone Game | wcyQwQ | WA | 0ms | 3568kb | C++14 | 534b | 2024-12-17 21:15:00 | 2024-12-17 21:15:01 |
Judging History
answer
#include <bits/stdc++.h>
#define L(i, j, k) for (int i = (j); i <= (k); i++)
#define R(i, j, k) for (int i = (j); i >= (k); i--)
#define all(x) x.begin(), x.end()
#define eb emplace_back
using namespace std;
using LL = long long;
namespace FloatingMoon {
void main() {
int T;
cin >> T;
while (T--) {
LL n;
cin >> n;
cout << !!(n % 3) << ' ' << (n % 3 == 0 ? 1 : n % 3) << '\n';
}
}
}
int main() {
cin.tie(0)->sync_with_stdio(0);
FloatingMoon::main();
return 0;
}
详细
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3568kb
input:
3 1 2 3
output:
1 1 1 2 0 1
result:
wrong answer 1st lines differ - expected: '0 1', found: '1 1'