Pagini recente » Borderou de evaluare (job #1843213) | Borderou de evaluare (job #253337) | Borderou de evaluare (job #711283) | Borderou de evaluare (job #621632) | Borderou de evaluare (job #1769487)
Borderou de evaluare (job #1769487)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:40: warning: variable ‘maxfirst’ set but not used [-Wunused-but-set-variable]
int i, sc, elem, smax = -99999999, maxfirst, maxlast, first, last, scurent, nrc, nrcurent, firstc, lastc;
^
user.cpp:9:50: warning: variable ‘maxlast’ set but not used [-Wunused-but-set-variable]
int i, sc, elem, smax = -99999999, maxfirst, maxlast, first, last, scurent, nrc, nrcurent, firstc, lastc;
^
user.cpp:8:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
user.cpp:10:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &elem);
^
user.cpp:23:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &elem);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 12ms | 264kb | Incorect | 0 |
5 | 12ms | 260kb | Incorect | 0 |
6 | 16ms | 264kb | Incorect | 0 |
7 | 20ms | 268kb | Incorect | 0 |
8 | 24ms | 264kb | Incorect | 0 |
9 | 24ms | 264kb | Incorect | 0 |
10 | 20ms | 264kb | Incorect | 0 |
Punctaj total | 0 |