| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 34326 | 流汗黄豆 | [CSP-J2021]分糖果 | C++ | Accepted | 100 | 0 MS | 244 KB | 180 | 2021-12-10 23:13:52 |
#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<<endl; else cout<<n-1<<endl; return 0; }