/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'int main()':
foo.cpp:17:27: warning: unknown conversion type character 'l' in format [-Wformat=]
         scanf("%lld",&a[i]);
                           ^
foo.cpp:17:27: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:21:27: warning: unknown conversion type character 'l' in format [-Wformat=]
         scanf("%lld",&b[i]);
                           ^
foo.cpp:21:27: warning: too many arguments for format [-Wformat-extra-args]
foo.cpp:44:31: error: 'abs' was not declared in this scope
             sum+=abs(t[j]-a[j]);
                               ^
foo.cpp:11:13: warning: unused variable 'k' [-Wunused-variable]
     int i,j,k,m,mid;
             ^

信息

递交者
类型
递交
题目
P1882 石阶上的砖
语言
C++
递交时间
2014-10-05 22:06:19
评测时间
2014-10-05 22:06:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes