Submission #00239
ソースコード
ステータス
項目 |
データ |
問題 |
0006 - 品質管理 |
ユーザー名 |
椅子男
|
投稿日時 |
2016-08-29 10:38:13 |
言語 |
C++11 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
4408 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:122:11: error: redefinition of ‘const int INF’
const int INF = (1<<30);
^
./Main.cpp:16:11: note: ‘const int INF’ previously defined here
const int INF = (1<<30);
^
./Main.cpp:123:14: error: redefinition of ‘const int dx []’
const int dx[]={1,0,-1,0}, dy[]={0,-1,0,1};
^
./Main.cpp:17:11: note: ‘const int dx [4]’ previously defined here
const int dx[]={1,0,-1,0}, dy[]={0,-1,0,1};
^
./Main.cpp:123:31: error: redefinition of ‘const int dy []’
const int dx[]={1,0,-1,0}, dy[]={0,-1,0,1};
^
./Main.cpp:17:28: note: ‘const int dy [4]’ previously defined here
const int dx[]={1,0,-1,0}, dy[]={0,-1,0,1};
^
./Main.cpp:126:5: error: redefinition of ‘int C’
int C, N, D; //N:偶数
^
./Main.cpp:20:5: note: ‘int C’ previously declared here
int C, N, D; //N:偶数
^
./Main.cpp:126:8: error: redefinition of ‘int N’
int C, N, D; //N:偶数
^
./Main.cpp:20:8: note: ‘int N’ previously declared here
int C, N, D; //N:偶数
^
./Main.cpp:126:11: error: redefinition of ‘int D’
int C, N, D; //N:偶数
^
./Main.cpp:20:11: note: ‘int D’ previously declared here
int C, N, D; //N:偶数
^
./Main.cpp:127:17: error: redefinition of ‘int p [1001][1001]’
int p[1001][1001];
^
./Main.cpp:21:5: note: ‘int p [1001][1001]’ previously declared here
int p[1001][1001];
^
./Main.cpp:128:15: error: redefinition of ‘std::__cxx11::string ps [1001]’
string ps[1001];
^
./Main.cpp:22:8: note: ‘std::__cxx11::string ps [1001]’ previously declared here
string ps[1001];
^
./Main.cpp:129:19: error: redefinition of ‘bool same [501][501]’
bool same[501][501];
^
./Main.cpp:23:6: note: ‘bool same [501][501]’ previously declared here
bool same[501][501];
^
./Main.cpp:130:5: error: redefinition of ‘int cnt’
int cnt = 0;
^
./Main.cpp:24:5: note: ‘int cnt’ previously defined here
int cnt = 0;
^
./Main.cpp:131:5: error: redefinition of ‘int ans’
int ans = 0;
^
./Main.cpp:25:5: note: ‘int ans’ previously defined here
int ans = 0;
^
./Main.cpp: In function ‘int main()’:
./Main.cpp:134:5: error: redefinition of ‘int main()’
int main()
^
./Main.cpp:28:5: note: ‘int main()’ previously defined here
int main()
^
セット
テストケース