QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#127629 | #6641. XOR Dice | pyrus | Compile Error | / | / | C++20 | 1.3kb | 2023-07-19 20:56:23 | 2023-07-19 20:56:32 |
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:56:32]
- 评测
- 测评结果:Compile Error
- 用时:0ms
- 内存:0kb
- [2023-07-19 20:56:23]
- 提交
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();
}
}#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();
}
}
詳細信息
answer.code:30:2: error: stray ‘#’ in program 30 | }#include<bits/stdc++.h> | ^ answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:11: error: ‘bits’ was not declared in this scope 30 | }#include<bits/stdc++.h> | ^~~~ answer.code:30:16: error: ‘stdc’ was not declared in this scope; did you mean ‘std’? 30 | }#include<bits/stdc++.h> | ^~~~ | std answer.code:30:3: error: ‘include’ does not name a type 30 | }#include<bits/stdc++.h> | ^~~~~~~ answer.code:40:10: error: redefinition of ‘const ll mod’ 40 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^~~ answer.code:11:10: note: ‘const ll mod’ previously defined here 11 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^~~ answer.code:40:30: error: redefinition of ‘const int M’ 40 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^ answer.code:11:30: note: ‘const int M’ previously defined here 11 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^ answer.code:40:48: error: redefinition of ‘const int N’ 40 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^ answer.code:11:48: note: ‘const int N’ previously defined here 11 | const ll mod=1e9+7;const int M=2e5+5;const int N=2e5+5; | ^ answer.code:41:5: error: redefinition of ‘int dx []’ 41 | int dx[] = {-1, 1, 0, 0};int dy[] = {0, 0, -1, 1}; | ^~ answer.code:12:5: note: ‘int dx [4]’ previously defined here 12 | int dx[] = {-1, 1, 0, 0};int dy[] = {0, 0, -1, 1}; | ^~ answer.code:41:30: error: redefinition of ‘int dy []’ 41 | int dx[] = {-1, 1, 0, 0};int dy[] = {0, 0, -1, 1}; | ^~ answer.code:12:30: note: ‘int dy [4]’ previously defined here 12 | int dx[] = {-1, 1, 0, 0};int dy[] = {0, 0, -1, 1}; | ^~ answer.code:42:6: error: redefinition of ‘void solve()’ 42 | void solve() | ^~~~~ answer.code:13:6: note: ‘void solve()’ previously defined here 13 | void solve() | ^~~~~ answer.code:49:8: error: redefinition of ‘int main()’ 49 | signed main() | ^~~~ answer.code:20:8: note: ‘int main()’ previously defined here 20 | signed main() | ^~~~