Pagini recente » Borderou de evaluare (job #1173387) | Borderou de evaluare (job #891033) | Borderou de evaluare (job #975841) | Borderou de evaluare (job #1503265) | Borderou de evaluare (job #2283982)
Borderou de evaluare (job #2283982)
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 | 655kb | Incorect | 0 |
4 | 38ms | 1310kb | Incorect | 0 |
5 | 53ms | 1835kb | Incorect | 0 |
6 | 75ms | 2490kb | Incorect | 0 |
7 | 124ms | 4980kb | Incorect | 0 |
8 | 141ms | 4980kb | Incorect | 0 |
9 | 155ms | 4980kb | Time limit exceeded | 0 |
10 | 136ms | 4980kb | Incorect | 0 |
Punctaj total | 0 |