Run ID:94159
提交时间:2024-10-19 20:12:35
#include <iostream> int main(){ int n ,x, y; std::cin >> n >> x >> y; if(y % x == 0){ std::cout << n - y / x << std::endl; }else{ if (n - (y / x + 1) < 0){ std::cout << 0<<std::endl; }else{ std::cout << n - (y /x +1) << std::endl; } } return 0; }