/ Vijos /

记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:14:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   14 |         scanf("%d",&n);
      |                ~^  ~~
      |                 |  |
      |                 |  long long int*
      |                 int*
      |                %lld
foo.cc:15:15: error: expected primary-expression before 'int'
   15 |         AAfor(int i=1; i<=n; ++i) {
      |               ^~~
foo.cc:15:24: error: 'i' was not declared in this scope
   15 |         AAfor(int i=1; i<=n; ++i) {
      |                        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1100 加分二叉树
语言
C++
递交时间
2023-06-26 06:45:57
评测时间
2023-06-26 06:45:57
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes