记录详情

Runtime Error

foo.c: In function 's':
foo.c:4:6: warning: unused variable 'i' [-Wunused-variable]
  int i,p,x=0;
      ^
foo.c: In function 'main':
foo.c:16:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
  scanf("%d",n);
         ~^
foo.c: In function 's':
foo.c:12:2: warning: control reaches end of non-void function [-Wreturn-type]
  } 
  ^
foo.c: In function 'main':
foo.c:16:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",n);
  ^~~~~~~~~~~~~
foo.c:16:2: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  scanf("%d",n);
  ^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 256.0 KiB
#2 Runtime Error Segmentation fault 1ms 256.0 KiB
#3 Runtime Error Segmentation fault 0ms 256.0 KiB
#4 Runtime Error Segmentation fault 0ms 256.0 KiB
#5 Runtime Error Segmentation fault 0ms 256.0 KiB

信息

递交者
类型
递交
题目
A4-4 回文数专题:回文数个数
语言
C
递交时间
2020-12-22 21:21:38
评测时间
2020-12-22 21:21:38
评测机
分数
0
总耗时
5ms
峰值内存
256.0 KiB