Pagini recente » Borderou de evaluare (job #217063) | Borderou de evaluare (job #2029468) | Borderou de evaluare (job #3041654) | Borderou de evaluare (job #3235796) | Borderou de evaluare (job #1599786)
Borderou de evaluare (job #1599786)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:19:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&v[i]);
^
user.cpp:72:18: warning: ‘poz_int’ may be used uninitialized in this function [-Wmaybe-uninitialized]
v[poz_int+1]=0;
^
user.cpp:52:31: warning: ‘poz_doi’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (v[n-1]*v[n]>max_ultim && poz_doi!=n-1)
^
user.cpp:13:20: warning: ‘poz_fin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,poz_in,poz_fin,poz_doi,poz_int;
^
user.cpp:13:13: warning: ‘poz_in’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,poz_in,poz_fin,poz_doi,poz_int;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 0ms | 292kb | OK | 10 |
10 | 0ms | 292kb | OK | 10 |
Punctaj total | 100 |