Pagini recente » Borderou de evaluare (job #2223968) | Borderou de evaluare (job #1497642)
Borderou de evaluare (job #1497642)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:18: warning: variable ‘sum’ set but not used [-Wunused-but-set-variable]
int n, smax, sum, max, sc, s, lt, pozc, a, b, i, pozmax, lmax, t, pozs, ls;
^
user.cpp:8:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:17:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &a, &b);
^
user.cpp:39:17: warning: ‘pozc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ls=i-pozc+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK! | 10 |
2 | 0ms | 256kb | OK! | 10 |
3 | 0ms | 256kb | OK! | 10 |
4 | 8ms | 256kb | OK! | 10 |
5 | 16ms | 252kb | OK! | 10 |
6 | 32ms | 260kb | OK! | 10 |
7 | 52ms | 260kb | OK! | 10 |
8 | 76ms | 252kb | OK! | 10 |
9 | 92ms | 256kb | OK! | 10 |
10 | 104ms | 260kb | OK! | 10 |
Punctaj total | 100 |