Pagini recente » Borderou de evaluare (job #1848919) | Borderou de evaluare (job #2884616) | Borderou de evaluare (job #1706700) | Borderou de evaluare (job #750647) | Borderou de evaluare (job #2290533)
Borderou de evaluare (job #2290533)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf ( fin, "%d", &n );
^
main.cpp:17:58: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf ( fin, "%d%d", &v[i].second, &v[i].first );
^
main.cpp:12:64: warning: 'lmax1' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, stmax = 0, stmin = 0, drmax = -1, drmin = -1, j, l, lmax1, lmax2;
^~~~~
main.cpp:12:71: warning: 'lmax2' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, stmax = 0, stmin = 0, drmax = -1, drmin = -1, j, l, lmax1, lmax2;
^~~~~
main.cpp:41:15: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
l = i - j + 1;
~~^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 15ms | 655kb | Incorect | 0 |
4 | 36ms | 1310kb | Incorect | 0 |
5 | 52ms | 1835kb | Incorect | 0 |
6 | 73ms | 2490kb | Incorect | 0 |
7 | 148ms | 4980kb | Incorect | 0 |
8 | 143ms | 4980kb | Incorect | 0 |
9 | 141ms | 4980kb | Incorect | 0 |
10 | 132ms | 4980kb | Incorect | 0 |
Punctaj total | 0 |