QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#113535 | #6641. XOR Dice | YinLin | WA | 1ms | 3528kb | C++14 | 667b | 2023-06-18 13:44:00 | 2023-06-18 13:44:03 |
Judging History
answer
#include <bits/stdc++.h>
using namespace std;
#define all(x) begin(x), end(x)
#define int long long
#define sz(x) (int)(x).size()
typedef pair<int, int> pii;
typedef vector<int> vi;
const int inf = (int)1e18;
const int MOD = (int)1e9+7;
const int maxn = (int)1e6;
signed main() {
ios::sync_with_stdio(false); cin.tie(nullptr);
cin.exceptions(std::istream::failbit);
//freopen("input.txt", "r", stdin);
//freopen("output.txt", "w", stdout);
int n, d; cin >> n >> d;
for(int i= 1; i<= n; i++){
for(int j= 1; j<= 6; j++){
cout << (i*(64*d))*j << " ";
}
cout << "\n";
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3436kb
input:
3 2
output:
128 256 384 512 640 768 256 512 768 1024 1280 1536 384 768 1152 1536 1920 2304
result:
ok Correct answer
Test #2:
score: -100
Wrong Answer
time: 1ms
memory: 3528kb
input:
100 60
output:
3840 7680 11520 15360 19200 23040 7680 15360 23040 30720 38400 46080 11520 23040 34560 46080 57600 69120 15360 30720 46080 61440 76800 92160 19200 38400 57600 76800 96000 115200 23040 46080 69120 92160 115200 138240 26880 53760 80640 107520 134400 161280 30720 61440 92160 122880 153600 184320...
result:
wrong answer Integer parameter [name=dice] equals to 1013760, violates the range [0, 1000000]