emmmmmm第6行什么意思啊
查看原帖
emmmmmm第6行什么意思啊
1044239
chenjunjie123楼主2024/9/28 18:48
#include<bits/stdc++.h>
using namespace std;
int main(){
	int n,l,r;
	cin>>n>>l>>r;
		if(l/n==r/n) 
		cout<<r%n;
		else 
		cout<<n-1;
		return 0;
}
2024/9/28 18:48
加载中...