Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152815 王艺博 07苹果和虫子 C++ Accepted 1 MS 272 KB 181 2026-05-02 15:43:30

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(c/b>a){ cout<<0; }else{ cout<<((c%b==0)?a-c/b:a-(c/b+1)); } return 0; }