记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:7:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d,%d\n",n1,n2);
          ^
/in/foo.c:7:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
  scanf("%d,%d\n",n1,n2);
             ^
/in/foo.c:7:2: warning: 'n1' is used uninitialized in this function [-Wuninitialized]
  scanf("%d,%d\n",n1,n2);
  ^~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:7:2: warning: 'n2' is used uninitialized in this function [-Wuninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 1ms 220.0 KiB

信息

递交者
类型
自测
题目
A9-4 数组中第二大的数
语言
C
递交时间
2020-12-15 14:28:14
评测时间
2020-12-15 14:28:14
评测机
分数
0
总耗时
1ms
峰值内存
220.0 KiB