Strona główna > Silnia > Silnia (wiekszy zakres)

Silnia (wiekszy zakres)

8 Październik 2009 Dodaj komentarz Go to comments

#include <iostream>

#include <fstream>

using namespace std;

string mn(string a,int x)

{

int r=0;

for (int i=a.size()-1;i>=0;i–)

{

r+=(a[i]-‚0′)*x;

a[i]=(r%10)+’0′;

r/=10;

}

while (r)

{

char wklej=(r%10)+’0’;

a=wklej+a;

r/=10;

}

return a;

}

int main()

{

string a=”1″;

int x;

fstream plik;

plik.open („silnia.txt”,fstream::out);

cout<<„Podaj n:”;

cin>>x;

for (int i=2;i<=x;i++)

{

a=mn(a,i);

}

plik<<a;

return 0;

}

Kategorie:Silnia Tags:
  1. 12 Wrzesień 2013 o 9:20 am

    Many have only very provokingly „gotten off,” from beneath their own hysterically, gutlessly, self-deceptively „moral indignance,” for years,
    upon how much like Rod Serling’s „The Howling Man” I sound,
    even while I’m howling. who got it in the head
    from Ryder, maybe he didn’t suffer what he deserved, but he did get what he „at least” quite „inadvertently” asked for,
    and even INSISTED UPON, for, far beyond the TYPICAL „THINKING,” there REALLY IS a DIFFERENCE.
    Moreover, Sartre’s most basically and extremely distorted oversimplification, is to assume such freedom so absolutely
    and unconditionally, with relation to anything more „objectively substantial” than its own „strictly ideational form,” as to disavow
    even the kinds of strictly psychological let-alone grossly physical determinism,
    within the objectively conditioned limits and forced options of which such freedom is alone capable of intentionally expressing itself; and which he otherwise
    deals with very descriptively, in their voluminously as well as NAUSEATINGLY phenomenological intricacy.

  1. No trackbacks yet.

Skomentuj

Wprowadź swoje dane lub kliknij jedną z tych ikon, aby się zalogować:

Logo WordPress.com

Komentujesz korzystając z konta WordPress.com. Log Out / Zmień )

Zdjęcie z Twittera

Komentujesz korzystając z konta Twitter. Log Out / Zmień )

Facebook photo

Komentujesz korzystając z konta Facebook. Log Out / Zmień )

Google+ photo

Komentujesz korzystając z konta Google+. Log Out / Zmień )

Connecting to %s

%d bloggers like this: