/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
       scanf("%d",a[i]);
                  ~~~~^
/in/foo.cc:12:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
     scanf("%d",b);
                 ^
/in/foo.cc:12:10: warning: 'b' is used uninitialized in this function [-Wuninitialized]
     scanf("%d",b);
     ~~~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 3ms 316.0 KiB

信息

递交者
类型
自测
题目
P1102 陶陶摘苹果
语言
C++
递交时间
2017-09-13 11:52:11
评测时间
2017-09-13 11:52:11
评测机
分数
0
总耗时
3ms
峰值内存
316.0 KiB