1 solutions

  • 0
    @ 2025-4-12 11:27:44

    #include<bits/stdc++.h> using namespace std; int main() { int m,n; cin>>m>>n; int t=m; int s=0; while(t<=n) //枚举m到n之间的所有数 { if(t%17==0) //判断17的倍数 { s+=t; } t++; } cout<<s; return 0; }

    Information

    ID
    2231
    Time
    2000ms
    Memory
    1024MiB
    Difficulty
    5
    Tags
    (None)
    # Submissions
    9
    Accepted
    1
    Uploaded By