/ Vijos /

记录详情

Compile Error

foo.cpp:9:7: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
foo.cpp: In function 'int main()':
foo.cpp:13:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat]
foo.cpp:16:28: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'int*' [-Wformat]
foo.cpp:16:28: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat]
foo.cpp:21:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
foo.cpp:23:7: error: incompatible types in assignment of 'int' to 'int [(((sizetype)(((ssizetype)n) + -1)) + 1)]'
foo.cpp:12:10: warning: unused variable 'j' [-Wunused-variable]

信息

递交者
类型
递交
题目
P1439 区间
语言
C++
递交时间
2014-10-09 21:30:22
评测时间
2014-10-09 21:30:23
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes