| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145851 | 潘明泽 | 07苹果和虫子 | C++ | Wrong Answer | 0 MS | 268 KB | 197 | 2026-01-25 19:17:28 |
#include<bits/stdc++.h> using namespace std; int n1,n2,n3; int main(){ cin>>n1>>n2>>n3; int y=n3%n2; if(n3-y!=0){ y++; } n1-=y; cout<<n1; return 0; }
------Input------
389 1 24
------Answer-----
365
------Your output-----
388