1 条题解

  • 0
    @ 2025-4-13 10:40:28
    #include<bits/stdc++.h>
    using namespace std;
    int main(){
    	for(int a=10;a<=99;a++){
    		for(int b=0;b<=99;b++){
    			if((a+b)*(a+b)==a*100+b) cout<<a*100+b<<" ";
    		}
    	}
    	return 0;
    }
    
    
    • 1

    信息

    ID
    199
    时间
    1000ms
    内存
    64MiB
    难度
    8
    标签
    递交数
    24
    已通过
    5
    上传者