1 条题解

  • 0
    @ 2025-4-16 20:58:15
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
        int y=0;
        for(int i=1;i<=100;i++){
            if(i%2==0 and i%3==0){
                y=y+i;
            }
        }
        cout<<y;
        return 0;
    }
    
    • 1

    信息

    ID
    2517
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    (无)
    递交数
    3
    已通过
    1
    上传者