记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d",&n);
          ^
/in/foo.c:11:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
   scanf("%d",&a[i]);
           ^
/in/foo.c:12:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  scanf("%d %d",&min,&max);
          ^
/in/foo.c:12:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
  scanf("%d %d",&min,&max);
             ^
/in/foo.c:33:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
    printf("%d",zheng);
             ^
/in/foo.c:40:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
    printf("%d",fu);
             ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 224.0 KiB
#2 Runtime Error 0ms 228.0 KiB
#3 Runtime Error 1ms 216.0 KiB
#4 Runtime Error 1ms 208.0 KiB
#5 Runtime Error 1ms 216.0 KiB
#6 Runtime Error 1ms 208.0 KiB
#7 Runtime Error 1ms 216.0 KiB
#8 Runtime Error 0ms 216.0 KiB
#9 Runtime Error 0ms 216.0 KiB
#10 Runtime Error 0ms 216.0 KiB

信息

递交者
类型
递交
题目
(ty 1-3) 分组
语言
C
递交时间
2019-01-22 15:31:36
评测时间
2019-01-22 15:31:36
评测机
分数
0
总耗时
10ms
峰值内存
228.0 KiB