记录详情

Accepted

/in/foo.cc: In function 'void kp(int, int)':
/in/foo.cc:7:11: warning: unused variable 'e' [-Wunused-variable]
 int b,c,d,e;
           ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:25:19: 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:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
/in/foo.cc:29:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
 scanf("%d",&a[i]);
                 ^
/in/foo.cc:37:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
 printf("%d", sum);
                 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 208.0 KiB

信息

递交者
类型
递交
题目
排队打水
题目数据
下载
语言
C++
递交时间
2019-01-27 10:52:02
评测时间
2019-01-27 10:52:02
评测机
分数
100
总耗时
8ms
峰值内存
216.0 KiB