Pagini recente » Borderou de evaluare (job #929370) | Borderou de evaluare (job #107521) | Borderou de evaluare (job #1411077) | Borderou de evaluare (job #2752381) | Borderou de evaluare (job #2206821)
Borderou de evaluare (job #2206821)
Raport evaluator
Compilare:
user.cpp: In function ‘void scmax(int, int*, int*)’:
user.cpp:37:9: warning: unused variable ‘j’ [-Wunused-variable]
int j , k , i;
^
user.cpp: In function ‘int main()’:
user.cpp:96:21: warning: unused variable ‘k’ [-Wunused-variable]
int n , m , i , k , sz1 , sz2 , ij;
^
user.cpp:96:37: warning: unused variable ‘ij’ [-Wunused-variable]
int n , m , i , k , sz1 , sz2 , ij;
^~
user.cpp:100:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "%d" , &n);
^
user.cpp:101:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "\n");
^
user.cpp:103:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "%d " , &a [i]);
^
user.cpp:104:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "%d" , &m);
^
user.cpp:105:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "\n");
^
user.cpp:107:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (cin , "%d" , &b [i]);
^
user.cpp: In function ‘int form(int*, int*, int, int*, int*)’:
user.cpp:80:11: warning: ‘posz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = posz - 1; i >= 1 ; -- i)
~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK! | 10 |
2 | 0ms | 812kb | OK! | 10 |
3 | 4ms | 756kb | OK! | 10 |
4 | 4ms | 876kb | OK! | 10 |
5 | 4ms | 936kb | OK! | 10 |
6 | 8ms | 812kb | OK! | 10 |
7 | 8ms | 876kb | OK! | 10 |
8 | 8ms | 856kb | OK! | 10 |
9 | 12ms | 876kb | OK! | 10 |
10 | 12ms | 876kb | OK! | 10 |
Punctaj total | 100 |