完美AC
查看原帖
完美AC
1067544
tanbochen楼主2025/7/26 13:14
#include<iostream>
#include<cstdio>
using namespace std;

int n,l,r;

int main(){
	cin>>n>>l>>r;
	if(l/n==r/n) cout<<r%n;
	else cout<<n-1;
	return 0;
}
2025/7/26 13:14
加载中...