记录详情

Runtime Error

/in/foo.c:2:6: warning: return type of 'main' is not 'int' [-Wmain]
 void main()
      ^~~~
/in/foo.c: In function 'PrimeCount':
/in/foo.c:31:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.c: In function 'main':
/in/foo.c:19:2: warning: 'count1' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d %d",count1,count2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 208.0 KiB
#2 Runtime Error 0ms 220.0 KiB
#3 Runtime Error 1ms 220.0 KiB
#4 Runtime Error 0ms 216.0 KiB
#5 Runtime Error 0ms 208.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2019-05-26 16:32:46
评测时间
2019-05-26 16:32:46
评测机
分数
0
总耗时
4ms
峰值内存
220.0 KiB