Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144849 c13 07苹果和虫子 C++ Accepted 0 MS 276 KB 167 2026-01-24 19:14:05

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int t,n,b; scanf("%d %d %d", &t,&n,&b); cout <<max(0,int(t-ceil(b*1.0/n)))<< endl; return 0; }