QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#579684#6641. XOR Dicemartinga#AC ✓0ms3692kbC++20415b2024-09-21 17:01:092024-09-21 17:01:09

Judging History

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

  • [2024-09-21 17:01:09]
  • 评测
  • 测评结果:AC
  • 用时:0ms
  • 内存:3692kb
  • [2024-09-21 17:01:09]
  • 提交

answer

#include <bits/stdc++.h>
using namespace std;
#define lli long long int

int main()
{
    int n, d;
    cin >> n >> d;
    int d1 = d;
    int d2 = d << 6;
    int d4 = d << 12;
    int d3 = d1 + d2;
    int d5 = d1 + d4;
    int d6 = d2 + d4;
    for (int i = 0; i < n; i++)
    {
        cout << d1 << " " << d2 << " " << d3 << " " << d4 << " " << d5 << " " << d6 << "\n";
    }
    return 0;
}

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3592kb

input:

3 2

output:

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

result:

ok Correct answer

Test #2:

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

input:

100 60

output:

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

result:

ok Correct answer

Test #3:

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

input:

99 2

output:

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

result:

ok Correct answer

Test #4:

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

input:

99 59

output:

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

result:

ok Correct answer

Test #5:

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

input:

93 17

output:

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

result:

ok Correct answer

Test #6:

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

input:

100 49

output:

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

result:

ok Correct answer

Test #7:

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

input:

100 5

output:

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

result:

ok Correct answer

Test #8:

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

input:

1 57

output:

57 3648 3705 233472 233529 237120

result:

ok Correct answer

Test #9:

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

input:

1 22

output:

22 1408 1430 90112 90134 91520

result:

ok Correct answer

Test #10:

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

input:

1 60

output:

60 3840 3900 245760 245820 249600

result:

ok Correct answer

Test #11:

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

input:

1 2

output:

2 128 130 8192 8194 8320

result:

ok Correct answer

Test #12:

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

input:

10 24

output:

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

result:

ok Correct answer