QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#127106 | #6641. XOR Dice | yy_zq# | WA | 2ms | 3460kb | C++14 | 333b | 2023-07-19 13:01:29 | 2023-07-19 13:01:33 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
#define FOR(i,j,k) for(int i=j;i<=k;++i)
signed main(){
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
int n,d;
cin>>n>>d;
FOR(i,1,n){
cout<<0<<' '<<d<<' '<<d*8<<' '<<d*64<<' '<<d*(1+8)<<' '<<d*(1+64)<<endl;
}
return 0;
}
/*
2
5 4
1 2
1 3
1 4
1 5
*/
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 3460kb
input:
3 2
output:
0 2 16 128 18 130 0 2 16 128 18 130 0 2 16 128 18 130
result:
ok Correct answer
Test #2:
score: -100
Wrong Answer
time: 2ms
memory: 3360kb
input:
100 60
output:
0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0 60 480 3840 540 3900 0...
result:
wrong answer Invalid output