Submission #59179
ソースコード
ステータス
項目 |
データ |
問題 |
1305 - プロになりたい! |
ユーザー名 |
crom
|
投稿日時 |
2020-04-25 23:11:30 |
言語 |
C++14 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
2349 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp:54:5: error: invalid digit "9" in octal constant
[23:09:56 crom@computer-crom procon]$ cat 001.cpp
^~
./Main.cpp:54:15: error: stray ‘@’ in program
[23:09:56 crom@computer-crom procon]$ cat 001.cpp
^
./Main.cpp:54:1: error: expected unqualified-id before ‘[’ token
[23:09:56 crom@computer-crom procon]$ cat 001.cpp
^
./Main.cpp:73:18: error: redefinition of ‘const int INF’
static const int INF = INT_MAX;
^~~
./Main.cpp:19:18: note: ‘const int INF’ previously defined here
static const int INF = INT_MAX;
^~~
./Main.cpp:74:17: error: redefinition of ‘const LL LINF’
static const LL LINF = LLONG_MAX;
^~~~
./Main.cpp:20:17: note: ‘const LL LINF’ previously defined here
static const LL LINF = LLONG_MAX;
^~~~
./Main.cpp:75:18: error: redefinition of ‘const int MIN’
static const int MIN = INT_MIN;
^~~
./Main.cpp:21:18: note: ‘const int MIN’ previously defined here
static const int MIN = INT_MIN;
^~~
./Main.cpp:76:17: error: redefinition of ‘const LL LMIN’
static const LL LMIN = LLONG_MIN;
^~~~
./Main.cpp:22:17: note: ‘const LL LMIN’ previously defined here
static const LL LMIN = LLONG_MIN;
^~~~
./Main.cpp:77:18: error: redefinition of ‘const int MOD’
static const int MOD = 1e9 + 7;
^~~
./Main.cpp:23:18: note: ‘const int MOD’ previously defined here
static const int MOD = 1e9 + 7;
^~~
./Main.cpp:78:18: error: redefinition of ‘const int SIZE’
static const int SIZE = 200005;
^~~~
./Main.cpp:24:18: note: ‘const int SIZE’ previously defined here
static const int SIZE = 200005;
^~~~
./Main.cpp:80:14: error: redefinition of ‘const int dx []’
const int dx[] = {0, -1, 1, 0};
^
./Main.cpp:26:11: note: ‘const int dx [4]’ previously defined here
const int dx[] = {0, -1, 1, 0};
^~
./Main.cpp:81:14: error: redefinition of ‘const int dy []’
const int dy[] = {-1, 0, 0, 1};
^
./Main.cpp:27:11: note: ‘const int dy [4]’ previously defined here
const int dy[] = {-1, 0, 0, 1};
^~
./Main.cpp:83:12: error: redefinition of ‘std::vector<long long int> Div(LL)’
vector<LL> Div(LL n) {
^~~
./Main.cpp:29:12: note: ‘std::vector<long long int> Div(LL)’ previously defined here
vector<LL> Div(LL n) {
^~~
./Main.cpp:95:5: error: redefinition of ‘int main()’
int main() {
^~~~
./Main.cpp:41:5: note: ‘int main()’ previously defined here
int main() {
^~~~
セット
テストケース