Wrong Answer

foo.cc: In function 'int main()':
foo.cc:25:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
   if(dis>0)
     ^
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&h);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:19:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&x[i].a ,&x[i].b,&x[i].c);
   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 26314, expect 29513. 52ms 568.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Wrong Answer Read 278, expect 285. 2ms 340.0 KiB
#5 Wrong Answer Read 398, expect 404. 2ms 380.0 KiB
#6 Wrong Answer Read 4394, expect 4483. 3ms 384.0 KiB
#7 Accepted 3ms 512.0 KiB
#8 Accepted 18ms 604.0 KiB
#9 Accepted 4ms 600.0 KiB
#10 Wrong Answer Read 27187, expect 29150. 14ms 572.0 KiB
#11 Wrong Answer Read 26996, expect 28848. 15ms 596.0 KiB
#12 Wrong Answer Read 27718, expect 29576. 73ms 572.0 KiB
#13 Wrong Answer Read 20747, expect 29636. 88ms 600.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.1 例 2」种树
语言
C++
递交时间
2021-06-30 10:56:56
评测时间
2021-06-30 10:56:56
评测机
分数
35
总耗时
282ms
峰值内存
604.0 KiB