记录详情

Runtime Error

/in/foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'main':
/in/foo.c:5:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&a,&b);
           ^
/in/foo.c:5:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&a,&b);
              ^
/in/foo.c:6:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
  printf("%ld\n",a+b);
            ^
# 状态 耗时 内存占用
#1 Runtime Error 0ms 128.0 KiB
#2 Runtime Error 0ms 220.0 KiB

信息

递交者
类型
递交
题目
P1187 汇编你好
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2020-12-09 14:52:59
评测时间
2020-12-09 14:52:59
评测机
分数
0
总耗时
1ms
峰值内存
220.0 KiB