Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
28811 Al. 分糖果 CSP 2021 J组 C++ 通过 0 MS 248 KB 158 2023-10-03 09:35:12

Tests(10/10):


#include<bits/stdc++.h> using namespace std; int main(){ int n,l,r,sum=0,ans=0; cin>>n>>l>>r; if(l/n==r/n)cout<<r%n; else cout<<n-1; return 0; }


测评信息: