题解 | #小竹与妈妈#
小竹与妈妈
https://ac.nowcoder.com/acm/problem/243333
写水题题解真爽
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,x;
cin >> a >> b >> x;
cout << (x - b) / a << endl;
return 0;
}
小竹与妈妈
https://ac.nowcoder.com/acm/problem/243333
#include <bits/stdc++.h>
using namespace std;
int main()
{
int a,b,x;
cin >> a >> b >> x;
cout << (x - b) / a << endl;
return 0;
}
相关推荐