Pagini recente » Borderou de evaluare (job #140600) | Borderou de evaluare (job #2328008) | Borderou de evaluare (job #2358412) | Borderou de evaluare (job #342937) | Borderou de evaluare (job #1791508)
Borderou de evaluare (job #1791508)
Raport evaluator
Compilare:
user.cpp:2:88: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
using namespace std;ifstream fin("submultimi.in");ofstream fout("submultimi.out");main(){int n;fin>>n;for(int x=1;x<1<<n;x++){for(int i=0;i<n;i++){if(x&(1<<i)){fout<<i+1<<" ";}}fout<<"\n";}}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 416kb | Correct! | 10 |
| 2 | 0ms | 408kb | Correct! | 10 |
| 3 | 0ms | 412kb | Correct! | 10 |
| 4 | 0ms | 416kb | Correct! | 10 |
| 5 | 0ms | 416kb | Correct! | 10 |
| 6 | 8ms | 416kb | Correct! | 10 |
| 7 | 16ms | 420kb | Correct! | 10 |
| 8 | 32ms | 416kb | Correct! | 10 |
| 9 | 72ms | 416kb | Correct! | 10 |
| 10 | 160ms | 416kb | Correct! | 10 |
| Punctaj total | 100 |