1 条题解

  • 0
    @ 2026-1-1 9:08:11
    #include<bits/stdc++.h>
    using namespace std;
    int a,b,f;
    int main(){
        cin>>a>>b>>f;
        for(int i=a;i<=b;i++){
            if(i%f==0)cout<<i<<" ";
        }
        
        return 0;
    }
    
    • 1

    信息

    ID
    883
    时间
    1000ms
    内存
    512MiB
    难度
    1
    标签
    (无)
    递交数
    43
    已通过
    36
    上传者