Submission #76493
ソースコード
ステータス
| 項目 |
データ |
| 問題 |
1422 - マージ |
| ユーザー名 |
ei2331
|
| 投稿日時 |
2023-09-29 17:02:16 |
| 言語 |
C++ |
| 状態 |
Compile Error |
| 得点 |
0
|
| ソースコード長 |
166 Byte |
| 最大実行時間 |
-
|
| 最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:1:25: warning: extra tokens at end of #include directive
#include<bits/stdc++.h> #define z for(int i=0;i<n;i++)
^
./Main.cpp: In function ‘int main()’:
./Main.cpp:2:63: error: ‘z’ was not declared in this scope
using namespace std;int main(){int n,m,a[1001];cin>>n>>m;n+=m;z{cin>>a[i];}sort(a,a+n);z{cout<<a[i]<<"\n";}}
^
./Main.cpp:2:89: error: expected ‘;’ before ‘{’ token
using namespace std;int main(){int n,m,a[1001];cin>>n>>m;n+=m;z{cin>>a[i];}sort(a,a+n);z{cout<<a[i]<<"\n";}}
^
;
セット
テストケース