AC
#include<bits/stdc++.h> using namespace std; long long a,b; double n; int main() { cin>>a>>b>>n; cout<<ceil((a-2*b)/n); return 0; }
代码