Pagini recente » Borderou de evaluare (job #286975) | Borderou de evaluare (job #1339048) | Borderou de evaluare (job #1721112) | Borderou de evaluare (job #797064) | Borderou de evaluare (job #2283981)
Borderou de evaluare (job #2283981)
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].first, &v[i].second );
^
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 | 16ms | 524kb | Incorect | 0 |
4 | 38ms | 1048kb | Incorect | 0 |
5 | 53ms | 1441kb | Incorect | 0 |
6 | 75ms | 1966kb | Incorect | 0 |
7 | 135ms | 3801kb | Incorect | 0 |
8 | 155ms | 3801kb | Time limit exceeded | 0 |
9 | 143ms | 3932kb | Incorect | 0 |
10 | 137ms | 3801kb | Incorect | 0 |
Punctaj total | 0 |