Cod sursa(job #404336)
| Utilizator | Data | 26 februarie 2010 02:08:04 | |
|---|---|---|---|
| Problema | Factorial | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<iostream>
using namespace std;
int main()
{ int n=10;
int i, step;
for (step = 1; step < n; step <<= 1);
cout<<step;
return 0;
}
