/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   15 |     for(i=1;i<lena+lenb;i++)
      |     ^~~
/in/foo.cc:21:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   21 |         len=lena+lenb;//需要对c数组进行进位操作
      |         ^~~
/in/foo.cc:5:29: warning: unused variable 'x' [-Wunused-variable]
    5 |     int a[10001],b[10001],i,x,len,j,c[10001];
      |                             ^
# 状态 耗时 内存占用
#1 Accepted 2ms 500.0 KiB
#2 Accepted 2ms 480.0 KiB
#3 Accepted 3ms 568.0 KiB
#4 Runtime Error 13ms 664.0 KiB

信息

递交者
类型
递交
题目
P1040 高精度乘法
语言
C++
递交时间
2025-05-26 19:44:24
评测时间
2025-05-26 19:44:24
评测机
分数
75
总耗时
21ms
峰值内存
664.0 KiB