Pagini recente » Borderou de evaluare (job #1942293) | Borderou de evaluare (job #119081) | Borderou de evaluare (job #1026070) | Borderou de evaluare (job #1374721) | Borderou de evaluare (job #1982843)
Borderou de evaluare (job #1982843)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:23: warning: unused variable ‘x’ [-Wunused-variable]
int max, i, n, j, x, elem, s1, s2, maxim, poz, caut, valmax, cont;
^
user.cpp:10:26: warning: unused variable ‘elem’ [-Wunused-variable]
int max, i, n, j, x, elem, s1, s2, maxim, poz, caut, valmax, cont;
^
user.cpp:10:32: warning: unused variable ‘s1’ [-Wunused-variable]
int max, i, n, j, x, elem, s1, s2, maxim, poz, caut, valmax, cont;
^
user.cpp:10:36: warning: unused variable ‘s2’ [-Wunused-variable]
int max, i, n, j, x, elem, s1, s2, maxim, poz, caut, valmax, cont;
^
user.cpp:14: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:16:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &v[i]);
^
user.cpp:39:16: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=poz-1;i>=1;i--) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 440kb | Corect! | 10 | 10 |
2 | 12ms | 456kb | Corect! | 10 | 10 |
3 | 0ms | 420kb | Corect! | 10 | 10 |
4 | 0ms | 428kb | Corect! | 10 | 10 |
5 | 0ms | 432kb | Corect! | 10 | 10 |
6 | 8ms | 436kb | Corect! | 10 | 10 |
7 | 12ms | 444kb | Corect! | 10 | 10 |
8 | Depăşit | 476kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 572kb | Time limit exceeded. | 0 |
10 | Depăşit | 472kb | Time limit exceeded. | 0 |
Punctaj total | 70 |