/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d", &n, &K, &A, &B);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:12:36: 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", a + i);
                               ~~~~~^~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 3ms 824.0 KiB
#2 Accepted 4ms 924.0 KiB
#3 Accepted 4ms 908.0 KiB
#4 Accepted 4ms 956.0 KiB
#5 Accepted 4ms 896.0 KiB
#6 Accepted 2ms 768.0 KiB
#7 Accepted 10ms 1.074 MiB
#8 Accepted 9ms 980.0 KiB
#9 Accepted 13ms 1.211 MiB
#10 Accepted 12ms 1.141 MiB
#11 Accepted 13ms 1.133 MiB
#12 Accepted 6ms 932.0 KiB
#13 Accepted 6ms 896.0 KiB
#14 Accepted 5ms 800.0 KiB
#15 Accepted 10ms 1.039 MiB
#16 Accepted 14ms 1.203 MiB
#17 Accepted 18ms 916.0 KiB
#18 Accepted 127ms 2.016 MiB
#19 Accepted 47ms 1.23 MiB
#20 Accepted 143ms 2.254 MiB

信息

递交者
类型
递交
题目
P1987 游戏
语言
C++
递交时间
2021-05-14 03:21:28
评测时间
2021-05-14 03:21:28
评测机
分数
100
总耗时
463ms
峰值内存
2.254 MiB