/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:42: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:44:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for (int i = 1; i <= m; i++) scanf("%d", v + i);
                               ~~~~~^~~~~~~~~~~~~
foo.cc:48:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &value);
   ~~~~~^~~~~~~~~~~~~~
foo.cc:49:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   for (int j = 1; j <= m; j++) scanf("%d", w + j);
                                ~~~~~^~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 23ms 19.477 MiB
#2 Accepted 30ms 19.5 MiB
#3 Accepted 128ms 19.504 MiB
#4 Accepted 104ms 19.527 MiB
#5 Accepted 74ms 19.531 MiB
#6 Accepted 74ms 19.527 MiB
#7 Accepted 49ms 19.527 MiB
#8 Accepted 49ms 19.527 MiB
#9 Accepted 22ms 19.531 MiB

信息

递交者
类型
递交
题目
P1426 兴奋剂检查
语言
C++
递交时间
2021-04-06 08:52:01
评测时间
2021-04-06 08:52:01
评测机
分数
100
总耗时
558ms
峰值内存
19.531 MiB