4 条题解

  • 0
    @ 2025-4-22 11:49:38

    > #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; }

    信息

    ID
    1802
    时间
    1000ms
    内存
    512MiB
    难度
    6
    标签
    递交数
    109
    已通过
    33
    上传者