Submission #00405


ソースコード

ステータス

項目 データ
問題 0004 - railway
ユーザー名 ikasashi
投稿日時 2017-11-26 15:16:08
言語 C++17
状態 Compile Error
得点 0
ソースコード長 2349 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp: In function ‘int main()’:
./Main.cpp:14:14: error: unable to find numeric literal operator ‘operator""i64’
 #define INF (9223372036854775807i64)
              ^
./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: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define INF (9223372036854775807i64)
              ^
./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: unable to find numeric literal operator ‘operator""i64’
 #define INF (9223372036854775807i64)
              ^
./Main.cpp:66:34: note: in expansion of macro ‘INF’
         rep(i, N) costs[i + 1] = INF;
                                  ^~~
./Main.cpp:14:14: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define INF (9223372036854775807i64)
              ^
./Main.cpp:66:34: note: in expansion of macro ‘INF’
         rep(i, N) costs[i + 1] = INF;
                                  ^~~
./Main.cpp:14:14: error: unable to find numeric literal operator ‘operator""i64’
 #define INF (9223372036854775807i64)
              ^
./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: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define INF (9223372036854775807i64)
              ^
./Main.cpp:72:53: note: in expansion of macro ‘INF’
                 rep(i, N) Vertex[i + 1] = make_pair(INF, 0);
                                                     ^~~

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #