样例能过,但是就不对
查看原帖
样例能过,但是就不对
1084413
o0o0oo0oo0oo楼主2025/7/30 14:41
#include <bits/stdc++.h>
using namespace std;
long long a,b,c;
int main(){
	scanf("%lld %lld %lld",&a,&b,&c);
	printf("%lld",a-c/b-((c%b)&&1));
	return 0;
}

2025/7/30 14:41
加载中...