31 lines
547 B
C++
31 lines
547 B
C++
//#include<iostream>
|
|
//using namespace std;
|
|
//int main() {
|
|
// int count = 0;
|
|
// int n;
|
|
// cin >> n;
|
|
// for (int i = 0; i < n; i++)
|
|
// {
|
|
// int N,is_zhe=0;
|
|
// cin >> N;
|
|
// for (int j = 1; j < sqrt(N); j++)
|
|
// {
|
|
// count++;
|
|
// cout << count<<endl;
|
|
// int temp = N - pow(j, 2);
|
|
// int emp = sqrt(temp);
|
|
// if (temp == pow(emp, 2)){
|
|
// is_zhe=1;
|
|
// break;
|
|
// }
|
|
// //cout <<temp <<" " << pow(emp, 2) << endl;
|
|
// }
|
|
// if (is_zhe)
|
|
// {
|
|
// cout << "Yes"<<endl;
|
|
// }else{
|
|
// cout << "No" << endl;
|
|
// }
|
|
// }
|
|
// return 0;
|
|
//}
|