QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#127163#6641. XOR Dicearnold#WA 1ms3456kbC++14241b2023-07-19 13:38:072023-07-19 13:38:54

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:38:54]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3456kb
  • [2023-07-19 13:38:07]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

int n,d;

int ycl[7]={0,1,1<<6,1<<12,1+1<<6,1+1<<12};

int main()
{
	cin>>n>>d;
	for(int i=1;i<=n;i++)
	{
		for(int j=0;j<=5;j++)cout<<ycl[j]*d<<" ";
		cout<<endl;
	}
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3456kb

input:

3 2

output:

0 2 128 8192 256 16384 
0 2 128 8192 256 16384 
0 2 128 8192 256 16384 

result:

ok Correct answer

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3412kb

input:

100 60

output:

0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
0 60 3840 245760 7680 491520 
...

result:

wrong answer Invalid output