/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In member function 'void Bign::out()':
/in/foo.cc:65:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
       scanf("%d",c[len]);
                        ^
/in/foo.cc:67:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
    scanf("%04d",c[i]);
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:80:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for (int i = ans.len - 1; i >= 1; i--)
     ^~~
/in/foo.cc:82:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  return 0;
  ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 512.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Runtime Error 3ms 328.0 KiB
#4 Runtime Error 3ms 332.0 KiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C++
递交时间
2017-06-28 20:41:20
评测时间
2017-06-28 20:41:20
评测机
分数
50
总耗时
13ms
峰值内存
512.0 KiB