/ 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]
     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]
      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]
      scanf("%d",&q[i].p);
      ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 0ms 256.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 1ms 1.375 MiB
#6 Accepted 2ms 2.125 MiB
#7 Accepted 2ms 2.125 MiB
#8 Accepted 3ms 3.375 MiB
#9 Accepted 4ms 4.125 MiB
#10 Accepted 4ms 4.105 MiB

信息

递交者
类型
递交
题目
P1793 养猪
语言
C++
递交时间
2021-04-17 21:57:47
评测时间
2021-04-17 21:57:47
评测机
分数
100
总耗时
24ms
峰值内存
4.125 MiB