Pagini recente » Borderou de evaluare (job #2695270) | Borderou de evaluare (job #1251538) | Borderou de evaluare (job #1894125) | Borderou de evaluare (job #1027538) | Borderou de evaluare (job #2694158)
Borderou de evaluare (job #2694158)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:16: warning: unused variable 'max1' [-Wunused-variable]
int n, i, j, max1, pozmax, scmax, pozscmax, poz, nsol;
^~~~
main.cpp:18: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:20: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:50:9: warning: 'pozscmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
poz = prev1[poz];
~~~~^~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 6ms | 131kb | Corect! | 10 | 10 |
| 2 | 12ms | 131kb | Corect! | 10 | 10 |
| 3 | 4ms | 131kb | Corect! | 10 | 10 |
| 4 | 6ms | 131kb | Corect! | 10 | 10 |
| 5 | 6ms | 131kb | Corect! | 10 | 10 |
| 6 | 12ms | 131kb | Corect! | 10 | 10 |
| 7 | 19ms | 131kb | Corect! | 10 | 10 |
| 8 | 300ms | 655kb | Time limit exceeded | 0 | 0 |
| 9 | 303ms | 655kb | Time limit exceeded | 0 |
| 10 | 303ms | 655kb | Time limit exceeded | 0 |
| Punctaj total | 70 |