/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
 #define INF LONG_LONG_MAX/2+1
             ^
foo.cpp:86:35: note: in expansion of macro 'INF'
     for (int i=1;i<=n;++i) d[i] = INF;
                                   ^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
 #define INF LONG_LONG_MAX/2+1
             ^
foo.cpp:88:21: note: in expansion of macro 'INF'
         if (d[i] == INF)
                     ^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
 #define INF LONG_LONG_MAX/2+1
             ^
foo.cpp:94:35: note: in expansion of macro 'INF'
     for (int i=1;i<=n;++i) d[i] = INF;
                                   ^
foo.cpp:5:13: error: 'LONG_LONG_MAX' was not declared in this scope
 #define INF LONG_LONG_MAX/2+1
             ^
foo.cpp:97:21: note: in expansion of macro 'INF'
         if (d[i] != INF) printf("%lld\n", d[i]);
                     ^
foo.cpp:97:47: warning: unknown conversion type character 'l' in format [-Wformat=]
         if (d[i] != INF) printf("%lld\n", d[i]);
                                               ^
foo.cpp:97:47: warning: too many arguments for format [-Wformat-extra-args]

信息

递交者
类型
递交
题目
P1053 Easy sssp
语言
C++
递交时间
2015-12-14 20:18:36
评测时间
2015-12-14 20:18:37
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes