/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:65:6: warning: unused variable 'ans' [-Wunused-variable]
  int ans=0;
      ^~~
foo.cc:44:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:45:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++) scanf("%d",d+i);
                        ~~~~~^~~~~~~~~~
foo.cc:49:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&a,&b,&c);
   ~~~~~^~~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 3ms 1.551 MiB
#2 Accepted 3ms 1.551 MiB
#3 Accepted 4ms 1.832 MiB
#4 Accepted 62ms 8.824 MiB
#5 Accepted 95ms 10.043 MiB
#6 Accepted 3ms 1.574 MiB
#7 Accepted 7ms 2.531 MiB
#8 Accepted 41ms 6.816 MiB
#9 Accepted 138ms 12.922 MiB
#10 Accepted 112ms 12.824 MiB

信息

递交者
类型
递交
题目
P1754 最优贸易
语言
C++
递交时间
2021-03-16 20:17:52
评测时间
2021-03-16 20:17:52
评测机
分数
100
总耗时
472ms
峰值内存
12.922 MiB