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

This commit is contained in:
vlad committed 2017-05-22 13:29:43 +03:00
1 parent b970626fef
commit 93746b05d7
173 files changed
+2505

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
//Ñîçäàòåëü Âëàäèñëàâ Óòêèí.
#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
int i,x,y;
for (x=1; x<=9; x++) {
for (y=1; y<=9; y++) {
i=((x*10000+1022)*10)+y;
if (i%7==0 && i%8==0 && i%9==0)
cout <<i<<endl;
}
}
system ("pause");
return 0;
}
Binary file not shown.
Binary file not shown.
+19
View File
@@ -0,0 +1,19 @@
//Ñîçäàòåëü Âëàäèñëàâ Óòêèí.
#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;
}