zaobaren @ 2024-10-06 09:02:51
#include<bits/stdc++.h>
using namespace std;
int main(){
int n,m;
cin >> n >> m;
for(int i = 1;i <= n;i++){
if(sqrt(i * 1.0) == (int)(sqrt(i * 1.0))) cout << i << ',';
}
}
by zaobaren @ 2024-10-06 09:04:28
题目:U404724