Pagini recente » Cod sursa (job #1217023) | Cod sursa (job #2155462) | Cod sursa (job #2155477) | Cod sursa (job #818367) | Borderou de evaluare (job #2694171)
Borderou de evaluare (job #2694171)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:16: warning: unused variable 'max1' [-Wunused-variable]
int n, i, j, max1, pm, rez, prez, poz, nsol;
^~~~
main.cpp:11:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:13:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
main.cpp:36:9: warning: 'prez' may be used uninitialized in this function [-Wmaybe-uninitialized]
poz = pv[poz];
~~~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 7ms | 131kb | Corect! | 10 | 10 |
| 2 | 10ms | 131kb | Corect! | 10 | 10 |
| 3 | 4ms | 131kb | Corect! | 10 | 10 |
| 4 | 5ms | 131kb | Corect! | 10 | 10 |
| 5 | 6ms | 131kb | Corect! | 10 | 10 |
| 6 | 12ms | 131kb | Corect! | 10 | 10 |
| 7 | 19ms | 131kb | Corect! | 10 | 10 |
| 8 | 301ms | 524kb | Time limit exceeded | 0 | 0 |
| 9 | 301ms | 655kb | Time limit exceeded | 0 |
| 10 | 300ms | 655kb | Time limit exceeded | 0 |
| Punctaj total | 70 |