Accepted

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 Accepted 54ms 568.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Accepted 2ms 368.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 368.0 KiB
#6 Accepted 4ms 476.0 KiB
#7 Accepted 3ms 600.0 KiB
#8 Accepted 20ms 572.0 KiB
#9 Accepted 4ms 556.0 KiB
#10 Accepted 11ms 572.0 KiB
#11 Accepted 11ms 600.0 KiB
#12 Accepted 70ms 568.0 KiB
#13 Accepted 84ms 588.0 KiB

信息

递交者
类型
递交
题目
「一本通 1.1 例 2」种树
语言
C++
递交时间
2021-06-30 11:00:58
评测时间
2021-06-30 11:00:58
评测机
分数
91
总耗时
274ms
峰值内存
600.0 KiB