QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#234849#6641. XOR Diceugly2333AC ✓1ms3808kbC++20253b2023-11-01 23:50:002023-11-01 23:50:01

Judging History

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

  • [2023-11-01 23:50:01]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3808kb
  • [2023-11-01 23:50:00]
  • 提交

answer

//Δ_K
#include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef double DB;

int main(){
	int n,d;
	scanf("%d%d",&n,&d);
	while(n--){
		printf("%d %d %d %d %d %d\n",d,d<<6,d<<12,d|d<<6,d|d<<12,d<<6|d<<12);
	}
	return 0;
}

详细

Test #1:

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

input:

3 2

output:

2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320

result:

ok Correct answer

Test #2:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

100 60

output:

60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 249600
60 3840 245760 3900 245820 2...

result:

ok Correct answer

Test #3:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

99 2

output:

2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
2 128 8192 130 8194 8320
...

result:

ok Correct answer

Test #4:

score: 0
Accepted
time: 1ms
memory: 3640kb

input:

99 59

output:

59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 245440
59 3776 241664 3835 241723 2...

result:

ok Correct answer

Test #5:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

93 17

output:

17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69649 70720
17 1088 69632 1105 69...

result:

ok Correct answer

Test #6:

score: 0
Accepted
time: 1ms
memory: 3540kb

input:

100 49

output:

49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 203840
49 3136 200704 3185 200753 2...

result:

ok Correct answer

Test #7:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

100 5

output:

5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 20485 20800
5 320 20480 325 2048...

result:

ok Correct answer

Test #8:

score: 0
Accepted
time: 1ms
memory: 3636kb

input:

1 57

output:

57 3648 233472 3705 233529 237120

result:

ok Correct answer

Test #9:

score: 0
Accepted
time: 1ms
memory: 3568kb

input:

1 22

output:

22 1408 90112 1430 90134 91520

result:

ok Correct answer

Test #10:

score: 0
Accepted
time: 0ms
memory: 3572kb

input:

1 60

output:

60 3840 245760 3900 245820 249600

result:

ok Correct answer

Test #11:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

1 2

output:

2 128 8192 130 8194 8320

result:

ok Correct answer

Test #12:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

10 24

output:

24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98328 99840
24 1536 98304 1560 98...

result:

ok Correct answer