记录详情

Wrong Answer

/in/foo.cc: In function 'void kp(int, int)':
/in/foo.cc:7:12: warning: unused variable 'e' [-Wunused-variable]
  int b,c,d,e;
            ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
  scanf("%d%d",&n,&m);
                    ^
/in/foo.cc:25:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:26:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  if(m=0)printf("0");
        ^
/in/foo.cc:28:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
   scanf("%d",&a[i]);
                   ^
/in/foo.cc:36:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
  printf("%d",sum);
                 ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Wrong Answer 1ms 208.0 KiB

信息

递交者
类型
递交
题目
排队打水
题目数据
下载
语言
C++
递交时间
2019-01-26 10:57:20
评测时间
2019-01-26 10:57:20
评测机
分数
20
总耗时
7ms
峰值内存
356.0 KiB