/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:26:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   26 |  for(int k = 2; k <= n; k++)//枚举区间大小
      |  ^~~
foo.cc:51:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   51 |   printf("%d\n",f[1][n]);//很明显我们所求的是1—n区间
      |   ^~~~~~
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
foo.cc:21:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |      scanf("%d",&v[i]);
      |      ~~~~~^~~~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1301 [NOIP2003 提高组] 加分二叉树
题目数据
下载
语言
C++
递交时间
2022-07-30 20:51:14
评测时间
2022-07-30 20:51:14
评测机
分数
100
总耗时
13ms
峰值内存
384.0 KiB