/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |     scanf("%d%d",&n,&k);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:25:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |      scanf("%d",&q[i].a);
      |      ~~~~~^~~~~~~~~~~~~~
foo.cc:27:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |      scanf("%d",&q[i].p);
      |      ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 524.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 3ms 1.375 MiB
#6 Accepted 3ms 2.125 MiB
#7 Accepted 4ms 2.125 MiB
#8 Accepted 5ms 3.371 MiB
#9 Accepted 4ms 4.125 MiB
#10 Accepted 5ms 4.125 MiB

信息

递交者
类型
递交
题目
P1793 养猪
语言
C++
递交时间
2022-02-27 19:48:04
评测时间
2022-02-27 19:48:04
评测机
分数
100
总耗时
33ms
峰值内存
4.125 MiB