/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |     scanf("%d%d",&n,&k);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:22:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |      scanf("%d",&q[i].a);
      |      ~~~~~^~~~~~~~~~~~~~
foo.cc:24:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |      scanf("%d",&q[i].p);
      |      ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 640.0 KiB
#5 Accepted 2ms 1.375 MiB
#6 Accepted 3ms 2.164 MiB
#7 Accepted 3ms 2.25 MiB
#8 Accepted 4ms 3.375 MiB
#9 Accepted 4ms 4.125 MiB
#10 Accepted 6ms 4.125 MiB

信息

递交者
类型
递交
题目
P1793 养猪
语言
C++
递交时间
2022-04-21 21:51:06
评测时间
2022-04-21 21:51:06
评测机
分数
100
总耗时
32ms
峰值内存
4.125 MiB