/ 虐题者 /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:16: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf ("%d",&n);
                ^
/in/foo.cc:7:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  for(i=1;i<=n;i++) scanf ("%d",&a[i]);
                                     ^
/in/foo.cc:8:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf ("%d%d%d%d",&m,&p1,&s1,&s2);
                                  ^
/in/foo.cc:8:34: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:8:34: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:8:34: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
/in/foo.cc:31:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf ("%d\n",p2);
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 212.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 1ms 212.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 1ms 212.0 KiB
#10 Accepted 1ms 220.0 KiB
#11 Accepted 1ms 212.0 KiB
#12 Accepted 1ms 220.0 KiB
#13 Accepted 1ms 212.0 KiB
#14 Accepted 1ms 220.0 KiB
#15 Accepted 1ms 212.0 KiB
#16 Accepted 1ms 220.0 KiB
#17 Accepted 1ms 212.0 KiB
#18 Accepted 1ms 220.0 KiB
#19 Accepted 1ms 212.0 KiB
#20 Accepted 1ms 220.0 KiB
#21 Accepted 13ms 1.008 MiB
#22 Accepted 13ms 1.02 MiB
#23 Accepted 13ms 1004.0 KiB
#24 Accepted 12ms 1.02 MiB
#25 Accepted 12ms 984.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2020-02-08 17:08:09
评测时间
2020-02-21 22:38:35
评测机
分数
100
总耗时
89ms
峰值内存
1.02 MiB