记录详情

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:31:14: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
    printf("%ld",-1);
              ^
# 状态 耗时 内存占用
#1 Runtime Error 1ms 208.0 KiB
#2 Runtime Error 0ms 208.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 1ms 208.0 KiB
#9 Runtime Error 1ms 216.0 KiB
#10 Runtime Error 1ms 208.0 KiB

信息

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