Pagini recente » Borderou de evaluare (job #335038) | Borderou de evaluare (job #1775415) | Borderou de evaluare (job #1456144) | Borderou de evaluare (job #1776303) | Borderou de evaluare (job #1769501)
Borderou de evaluare (job #1769501)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:52: warning: unused variable ‘last’ [-Wunused-variable]
int n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:58: warning: variable ‘maxlast’ set but not used [-Wunused-but-set-variable]
int n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:67: warning: unused variable ‘lastc’ [-Wunused-variable]
int n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:6:82: warning: variable ‘maxfirst’ set but not used [-Wunused-but-set-variable]
int n, sc,scurent, smax = -999999999, elem, first, last, maxlast, lastc, firstc, maxfirst;
^
user.cpp:8:28: 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:11:29: 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 | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 12ms | 264kb | OK | 10 |
5 | 12ms | 264kb | OK | 10 |
6 | 16ms | 268kb | OK | 10 |
7 | 20ms | 264kb | OK | 10 |
8 | 24ms | 264kb | OK | 10 |
9 | 24ms | 264kb | OK | 10 |
10 | 20ms | 260kb | OK | 10 |
Punctaj total | 100 |