Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
108561 | 汤奕硕 | 07苹果和虫子 | C++ | Compile Error | 0 MS | 0 KB | 145 | 2025-01-20 19:57:06 |
n=int(input()) x=int(input()) y=int(input()) if y%x==0: a=y//x else: a=y//x+1 if n-a<0: print(0) else: print(n-a)
Main.cc:1:1: error: 'n' does not name a type n=int(input()) ^