Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
28815 我要进前十(黄泽远) 分糖果 CSP 2021 J组 C++ 编译错误 0 MS 0 KB 235 2023-10-03 10:05:35

Tests(0/0):


#include "iostream" #define int long long using namespace std; int s[1000000]; signed main(){ int n,l,r; cin>>n>>l>>r; int j=0; for(int i=l;i<=r;i++){ s[j]=i%n; j++; } sort(s+1,s+j+1); cout<<s[j]; return 0; }


测评信息: