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

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

View File

@@ -0,0 +1,23 @@
#include <iostream>
using namespace std;
int main() {
int i=12;
double Nconst;
for (int N=0; N<=99; N=N++) {
N=Nconst;
while (i) {
if (i%2==0) {
Nconst=Nconst*i;
i=i-1;
} else {
Nconst=Nconst-i;
i=i-1;
}
}
if (Nconst==92161) cout <<Nconst<<" "<<N<<endl;
}
system ("pause");
return 0;
}