| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145659 | 伊建润 | 07苹果和虫子 | C++ | Wrong Answer | 0 MS | 272 KB | 220 | 2026-01-25 17:48:01 |
#include <iostream> int main() { int n, x, y; std::cin >> n >> x >> y; int eaten = y / x; int remaining = (n - eaten < 0)? 0 : n - eaten; std::cout << remaining << std::endl; return 0; }
------Input------
459 2 1
------Answer-----
458
------Your output-----
459