记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:11:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&n,&k);
          ^
/in/foo.c:11:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%d %d",&n,&k);
             ^
/in/foo.c:14:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   scanf("%d",&a[i]);
           ^
/in/foo.c:36:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d",count);
           ^
# 状态 耗时 内存占用
#1 Runtime Error 0ms 128.0 KiB
#2 Runtime Error 0ms 128.0 KiB
#3 Runtime Error 0ms 128.0 KiB
#4 Runtime Error 0ms 228.0 KiB
#5 Runtime Error 1ms 224.0 KiB
#6 Runtime Error 5ms 584.0 KiB
#7 Runtime Error 9ms 824.0 KiB
#8 Runtime Error 11ms 904.0 KiB
#9 Runtime Error 33ms 2.41 MiB
#10 Runtime Error 54ms 3.973 MiB

信息

递交者
类型
递交
题目
P1167 连续数之和
语言
C
递交时间
2021-01-28 09:53:05
评测时间
2021-01-28 09:53:05
评测机
分数
0
总耗时
119ms
峰值内存
3.973 MiB