/ 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 22ms 19.527 MiB
#2 Accepted 28ms 19.508 MiB
#3 Accepted 120ms 19.508 MiB
#4 Accepted 97ms 19.504 MiB
#5 Accepted 58ms 19.523 MiB
#6 Accepted 59ms 19.523 MiB
#7 Accepted 51ms 19.535 MiB
#8 Accepted 51ms 19.531 MiB
#9 Accepted 22ms 19.523 MiB

信息

递交者
类型
递交
题目
P1426 兴奋剂检查
语言
C++
递交时间
2021-04-05 19:44:45
评测时间
2021-04-05 19:44:45
评测机
分数
100
总耗时
512ms
峰值内存
19.535 MiB