记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:6:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
    6 |         scanf("%d",n);
      |                ~^  ~
      |                 |  |
      |                 |  int
      |                 int *
/in/foo.c:6:9: warning: 'n' is used uninitialized [-Wuninitialized]
    6 |         scanf("%d",n);
      |         ^~~~~~~~~~~~~
/in/foo.c:5:13: note: 'n' was declared here
    5 |         int n,i;
      |             ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 444.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2025-12-26 14:47:11
评测时间
2025-12-26 14:47:11
评测机
分数
0
总耗时
1ms
峰值内存
444.0 KiB