E题题解# 解题思路: 从\sqrt{n}开始枚举,每一次枚举都要乘以十倍。 代码如下: #include<bits/stdc++.h> using namespace std; typedef long long ll; int main() { ll y, k, t, x; bool b = 1; cin >> t; while (t--) { cin >> x; k = x; b = 1; for (int i = 0; i <= 9; i++) { y = ceil(sqrt(k)); ll m = pow(y, 2) / pow(10, i)...