14 条题解

  • 0
    @ 2024-4-19 16:36:21

    #include<bits/stdc++.h> using namespace std; int main(){ int n,x; for(int y=100;y<=999;y++){ if((y%10)(y%10)(y%10)+(y/10%10)(y/10%10)(y/10%10)+(y/100%10)(y/100%10)(y/100%10)==y){ cout<<y<<" "; } } return 0; }

    信息

    ID
    887
    时间
    1000ms
    内存
    64MiB
    难度
    2
    标签
    递交数
    350
    已通过
    208
    上传者