Дамп всех задач

This commit is contained in:
2017-05-22 13:29:43 +03:00
parent b970626fef
commit 93746b05d7
173 changed files with 2505 additions and 0 deletions

19
C++/перебор/4.cpp Normal file
View File

@@ -0,0 +1,19 @@
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.
#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
int x,y;
for (x=1; x<=9; x++) {
for (y=1; y<=9; y++) {
if ((x*x*x*x*x)+(y*y*y*y*y)==1025) {
cout <<x<<"^5+"<<y<<"^5=1025\n";
}
}
}
system ("pause");
return 0;
}