记录详情

Accepted

foo.cc: In function 'void dp(int)':
foo.cc:9:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<son[x].size();i++){
              ~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:26:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=1;i<=n;i++)
  ^~~
foo.cc:31:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
     dp(root);
     ^~
foo.cc:18:28: 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",&h[i]);
                       ~~~~~^~~~~~~~~~~~
foo.cc:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&x,&y);
   ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 640.0 KiB
#2 Accepted 2ms 616.0 KiB
#3 Accepted 2ms 640.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 1ms 640.0 KiB
#6 Accepted 1ms 640.0 KiB
#7 Accepted 2ms 640.0 KiB
#8 Accepted 3ms 896.0 KiB
#9 Accepted 2ms 896.0 KiB
#10 Accepted 3ms 896.0 KiB
#11 Accepted 4ms 1.125 MiB

信息

递交者
类型
递交
题目
没有上司的晚会
题目数据
下载
语言
C++
递交时间
2021-03-23 19:31:08
评测时间
2021-03-23 19:31:08
评测机
分数
110
总耗时
27ms
峰值内存
1.125 MiB