/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("Travel.in","r",stdin);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:20:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("Travel.out","w",stdout);
  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:21:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%lf%lf%lf%lf%lld",&d1,&c,&d2,&p,&n);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:23:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf%lf",&a[i].d,&a[i].p);
         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~

自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-07T13:01:44.170Z","handle":"2020-08-07T13:01:44.170Z","cache_start":"2020-08-07T13:01:44.177Z","read_cases":"2020-08-07T13:01:44.339Z","judge":"2020-08-07T13:01:44.340Z","done":"2020-08-07T13:01:44.767Z"}
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 33.49 1ms 256.0 KiB
#2 Wrong Answer 0a1 > -1 \ No newline at end o 1ms 256.0 KiB
#3 Wrong Answer 0a1 > 105.95 1ms 256.0 KiB
#4 Wrong Answer 0a1 > 192.15 1ms 256.0 KiB
#5 Wrong Answer 0a1 > 26.95 \ No newline at en 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1253 旅行家的预算
语言
C++
递交时间
2020-08-07 21:01:44
评测时间
2020-08-07 21:01:44
评测机
分数
0
总耗时
5ms
峰值内存
256.0 KiB