Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98590 罗忠文 07苹果和虫子 C++ Accepted 1 MS 272 KB 186 2024-11-23 11:43:47

Tests(10/10):


Code:

#include <iostream> #include<cmath> using namespace std; int main(int argc, char** argv) { int a; double b,c; cin>>a>>b>>c; cout<<max(0,int(a-ceil(c/b))); return 0; }