Pagini recente » Borderou de evaluare (job #1884066) | Borderou de evaluare (job #2936374) | Borderou de evaluare (job #364847) | Borderou de evaluare (job #1249521) | Borderou de evaluare (job #1946814)
Borderou de evaluare (job #1946814)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:34: warning: unused variable ‘min’ [-Wunused-variable]
int n, nr, sum, i, max, cs, min, l, poz, ccs, ccd;
^
user.cpp:8:39: warning: unused variable ‘l’ [-Wunused-variable]
int n, nr, sum, i, max, cs, min, l, poz, ccs, ccd;
^
user.cpp:8:42: warning: unused variable ‘poz’ [-Wunused-variable]
int n, nr, sum, i, max, cs, min, l, poz, ccs, ccd;
^
user.cpp:12:27: 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", &nr);
^
user.cpp:29:46: warning: ‘ccs’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf( fout, "%d %d %d", max, ccs+1, ccd);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 5 |
2 | 0ms | 424kb | OK | 5 |
3 | 0ms | 420kb | Incorect | 0 |
4 | 0ms | 424kb | OK | 5 |
5 | 0ms | 420kb | OK | 5 |
6 | 0ms | 424kb | OK | 5 |
7 | 4ms | 428kb | OK | 5 |
8 | 4ms | 424kb | OK | 5 |
9 | 20ms | 424kb | OK | 5 |
10 | 44ms | 424kb | OK | 5 |
11 | 92ms | 424kb | OK | 5 |
12 | 136ms | 420kb | OK | 5 |
13 | 184ms | 424kb | OK | 5 |
14 | 236ms | 424kb | OK | 5 |
15 | 1020ms | 428kb | OK | 5 |
16 | 1168ms | 424kb | OK | 5 |
17 | 1144ms | 424kb | OK | 5 |
18 | 1312ms | 428kb | OK | 5 |
19 | 1236ms | 428kb | OK | 5 |
20 | 1240ms | 428kb | OK | 5 |
Punctaj total | 95 |