Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main()
- {
- int a = 0, temp = 0;
- for (int i = 35000000; i <= 40000000; i += 2) {
- a = i;
- while (!((a % 10) & 1)) {
- a /= 2;
- }
- temp = sqrt(sqrt(a));
- if (temp * temp * temp * temp == a) {
- cout << temp << " ";
- cout << i << endl;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment