Pagini recente » Cod sursa (job #2467101) | Borderou de evaluare (job #884851) | Borderou de evaluare (job #2715104) | Borderou de evaluare (job #1841603) | Borderou de evaluare (job #2515386)
Borderou de evaluare (job #2515386)
Raport evaluator
Compilare:
main.cpp: In function 'void combin(long int, int*, int, int)':
main.cpp:9:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=k;i++)fout<<ar[i]<<' ';fout<<endl;
^~~
main.cpp:9:43: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=1;i<=k;i++)fout<<ar[i]<<' ';fout<<endl;
^~~~
main.cpp: In function 'int main()':
main.cpp:20:17: warning: 'n' is used uninitialized in this function [-Wuninitialized]
int n,k;int ar[n+1];fin>>n>>k;
~^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 252ms | 655kb | Time limit exceeded | 0 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 200ms | 655kb | OK | 10 |
| 5 | 11ms | 131kb | OK | 10 |
| 6 | 11ms | 131kb | OK | 10 |
| 7 | 3ms | 131kb | OK | 10 |
| 8 | 42ms | 131kb | OK | 10 |
| 9 | 4ms | 131kb | OK | 10 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 90 |