QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#585028 | #9376. Game | Coffeecat996 | WA | 1ms | 3628kb | C++14 | 510b | 2024-09-23 18:31:12 | 2024-09-23 18:31:12 |
Judging History
answer
#include <bits/stdc++.h>
#define int long long
const int mod = 998244353;
inline int qpow (int a, int b) {
int program = 1;
while (b) {
if (b & 1) {
program = program * a % mod;
}
a = a * a % mod;
b = b >> 1;
}
return program;
}
inline void _solve () {
int x, y, a0, a1, b;
std::cin >> x >> y >> a0 >> a1 >> b;
}
signed main () {
std::ios::sync_with_stdio (false);
std::cin.tie (0); std::cout.tie (0);
int _T = 1;
std::cin >> _T;
while (_T--) _solve ();
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 1ms
memory: 3628kb
input:
3 1 1 2 2 6 1 3 2 3 6 3 4 7 3 15
output:
result:
wrong answer 1st lines differ - expected: '499122177', found: ''