Compile Error
foo.cc: In function 'int main()':
foo.cc:7:15: error: expected ';' before 'for'
    7 |  cin >> h >> n
      |               ^
      |               ;
    8 |  for (int i = 0; i < n; i++)
      |  ~~~           
foo.cc:8:18: error: 'i' was not declared in this scope
    8 |  for (int i = 0; i < n; i++)
      |                  ^
foo.cc:14:20: error: 's' was not declared in this scope
   14 |  printf("%.2f\n", &s);
      |                    ^
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1063 球反弹高度(1)
 - 语言
 - C++
 - 递交时间
 - 2022-07-12 18:58:58
 - 评测时间
 - 2022-07-12 18:58:58
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes