记录详情

Runtime Error

/in/foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'main':
/in/foo.c:8:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&x1,&y1);
           ^
/in/foo.c:8:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&x1,&y1);
              ^
/in/foo.c:9:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&x2,&y2);
           ^
/in/foo.c:9:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'int *' [-Wformat=]
  scanf("%ld%ld",&x2,&y2);
              ^
/in/foo.c:7:8: warning: unused variable 'count' [-Wunused-variable]
  int s,count;
        ^~~~~
/in/foo.c:6:11: warning: unused variable 'y3' [-Wunused-variable]
  float x3,y3;
           ^~
/in/foo.c:6:8: warning: unused variable 'x3' [-Wunused-variable]
  float x3,y3;
        ^~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 220.0 KiB

信息

递交者
类型
递交
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C
递交时间
2020-12-09 16:15:55
评测时间
2020-12-09 16:15:55
评测机
分数
0
总耗时
1ms
峰值内存
220.0 KiB