Pagini recente » Borderou de evaluare (job #1001917) | Borderou de evaluare (job #1733281) | Borderou de evaluare (job #869634) | Borderou de evaluare (job #2610980) | Borderou de evaluare (job #2133175)
Borderou de evaluare (job #2133175)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:67: warning: unused variable ‘x’ [-Wunused-variable]
int i,sum=0,smax=-2000000000,smax2=2000000000,ii=1,jj,aux=1,n,x,semn,ii2=1,jj2,sumtot=0;
^
user.cpp:11: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:14:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&v[i],&semn);
^
user.cpp:59:19: warning: ‘jj2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(smax2>smax && n-jj2!=0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 936kb | OK! | 10 |
2 | 0ms | 872kb | OK! | 10 |
3 | 0ms | 860kb | OK! | 10 |
4 | 4ms | 940kb | OK! | 10 |
5 | 12ms | 1068kb | OK! | 10 |
6 | 28ms | 1328kb | OK! | 10 |
7 | 44ms | 1604kb | OK! | 10 |
8 | 64ms | 1992kb | OK! | 10 |
9 | 76ms | 2184kb | OK! | 10 |
10 | 84ms | 2376kb | OK! | 10 |
Punctaj total | 100 |