Submission #00403
ソースコード
ステータス
項目 |
データ |
問題 |
0004 - railway |
ユーザー名 |
ikasashi
|
投稿日時 |
2017-11-26 15:15:19 |
言語 |
C++17 |
状態 |
Compile Error |
得点 |
0
|
ソースコード長 |
2336 Byte |
最大実行時間 |
-
|
最大メモリ使用量 |
|
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:14:14: error: ‘LLONG_MAX’ was not declared in this scope
#define INF (LLONG_MAX)
^
./Main.cpp:40:53: note: in expansion of macro ‘INF’
rep(i, N) Vertex[i + 1] = make_pair(INF, 0);
^~~
./Main.cpp:14:14: note: suggested alternative: ‘WINT_MAX’
#define INF (LLONG_MAX)
^
./Main.cpp:40:53: note: in expansion of macro ‘INF’
rep(i, N) Vertex[i + 1] = make_pair(INF, 0);
^~~
./Main.cpp:14:14: error: ‘LLONG_MAX’ was not declared in this scope
#define INF (LLONG_MAX)
^
./Main.cpp:66:34: note: in expansion of macro ‘INF’
rep(i, N) costs[i + 1] = INF;
^~~
./Main.cpp:14:14: note: suggested alternative: ‘WINT_MAX’
#define INF (LLONG_MAX)
^
./Main.cpp:66:34: note: in expansion of macro ‘INF’
rep(i, N) costs[i + 1] = INF;
^~~
./Main.cpp:14:14: error: ‘LLONG_MAX’ was not declared in this scope
#define INF (LLONG_MAX)
^
./Main.cpp:72:53: note: in expansion of macro ‘INF’
rep(i, N) Vertex[i + 1] = make_pair(INF, 0);
^~~
./Main.cpp:14:14: note: suggested alternative: ‘WINT_MAX’
#define INF (LLONG_MAX)
^
./Main.cpp:72:53: note: in expansion of macro ‘INF’
rep(i, N) Vertex[i + 1] = make_pair(INF, 0);
^~~
セット
テストケース