Compile Error
foo.c:1:1: error: unknown type name 'def'
    1 | def calculate_bottles(n):
      | ^~~
foo.c: In function 'calculate_bottles':
foo.c:1:25: error: expected declaration specifiers before ':' token
    1 | def calculate_bottles(n):
      |                         ^
foo.c:1:5: warning: type of 'n' defaults to 'int' [-Wimplicit-int]
    1 | def calculate_bottles(n):
      |     ^~~~~~~~~~~~~~~~~
foo.c:21: warning: control reaches end of non-void function [-Wreturn-type]
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
 - 类型
 - 递交
 - 题目
 - P1087 xf1-10多喝饮料
 - 比赛
 - 2023 程序设计与竞赛(作业1:见面赛)
 - 语言
 - C
 - 递交时间
 - 2023-09-18 20:12:24
 - 评测时间
 - 2023-09-18 20:12:24
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes