/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:32:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:34:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &arr[i].u);
   ~~~~~^~~~~~~~~~~~~~~~~
foo.cc:37:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &arr[i].v);
   ~~~~~^~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-07-11T23:43:38.137Z","handle":"2020-07-11T23:43:38.137Z","cache_start":"2020-07-11T23:43:38.144Z","read_cases":"2020-07-11T23:43:38.269Z","judge":"2020-07-11T23:43:38.273Z","done":"2020-07-11T23:43:38.864Z"}
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Runtime Error 18ms 1.594 MiB
#8 Runtime Error 21ms 1.797 MiB
#9 Runtime Error 24ms 1.992 MiB
#10 Runtime Error 26ms 2.195 MiB

信息

递交者
类型
递交
题目
P1977 推销员
语言
C++
递交时间
2020-07-12 07:43:38
评测时间
2020-07-12 07:43:38
评测机
分数
60
总耗时
97ms
峰值内存
2.195 MiB