QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#127106#6641. XOR Diceyy_zq#WA 2ms3460kbC++14333b2023-07-19 13:01:292023-07-19 13:01:33

Judging History

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

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-07-19 13:01:33]
  • 评测
  • 测评结果:WA
  • 用时:2ms
  • 内存:3460kb
  • [2023-07-19 13:01:29]
  • 提交

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