Pagini recente » Borderou de evaluare (job #2137706) | Borderou de evaluare (job #2129268) | Borderou de evaluare (job #1047568) | Borderou de evaluare (job #2878013) | Borderou de evaluare (job #2365503)
Borderou de evaluare (job #2365503)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:14: warning: unused variable 'j' [-Wunused-variable]
int mx,i,j,a,k,p1,p2;
^
main.cpp:19:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&k);
^
main.cpp:24:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
main.cpp:32:14: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
a=mx-s[p2-k];
~~^~
main.cpp:32:6: warning: 'mx' may be used uninitialized in this function [-Wmaybe-uninitialized]
a=mx-s[p2-k];
~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 4ms | 131kb | OK! | 10 |
6 | 6ms | 262kb | OK! | 10 |
7 | 8ms | 262kb | OK! | 10 |
8 | 11ms | 262kb | OK! | 10 |
9 | 15ms | 393kb | OK! | 10 |
10 | 21ms | 524kb | OK! | 10 |
Punctaj total | 100 |