QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#127630#6641. XOR DicepyrusWA 1ms3612kbC++20683b2023-07-19 20:57:152023-07-19 20:57:19

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 20:57:19]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3612kb
  • [2023-07-19 20:57:15]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> PII;
#define Yes cout<<"YES\n"
#define No  cout<<"NO\n"
#define all(a) a.begin(),a.end()
#define pb push_back
#define endl '\n'
//#define int ll
const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5;
int dx[] = {-1, 1, 0, 0};int dy[] = {0, 0, -1, 1};
void solve()
{
    int n,d;cin>>n>>d;
    for(int i=1;i<=n;i++){
        cout<<0<<' '<<d<<' '<<d<<6<<' '<<(d<<6)+(d<<12)<<' '<<(d<<12)<<' '<<d+(d<<6)<<endl;
    }
}
signed main()
{
    ios::sync_with_stdio(0);cin.tie(0);cout.tie(0);
    int __;
    __=1;
    //cin>>__;
    while(__--)
    {
    solve();
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 2

output:

0 2 26 8320 8192 130
0 2 26 8320 8192 130
0 2 26 8320 8192 130

result:

ok Correct answer

Test #2:

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

input:

100 60

output:

0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 245760 3900
0 60 606 249600 2457...

result:

wrong answer Invalid output