Pagini recente » Borderou de evaluare (job #1785561) | Borderou de evaluare (job #225033) | Borderou de evaluare (job #2766374) | Borderou de evaluare (job #2283533) | Borderou de evaluare (job #1980273)
Borderou de evaluare (job #1980273)
Raport evaluator
Compilare:
user.cpp: In function ‘void rezolva1()’:
user.cpp:31:23: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
y=1<<k-1;
^
user.cpp: In function ‘int main()’:
user.cpp:130:24: warning: unused variable ‘l’ [-Wunused-variable]
int u[33],nr,p,l,r;
^
user.cpp:120:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&ct,&n,&k);
^
user.cpp:122:35: 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: In function ‘int lungime(int&, int&)’:
user.cpp:73:15: warning: ‘ddr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
st=ddr-lmax+1;
^
user.cpp: In function ‘void secventa()’:
user.cpp:114:37: warning: ‘ddr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<lmax<<'\n'<<sst<<" "<<ddr<<'\n';
^
user.cpp:114:27: warning: ‘sst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<lmax<<'\n'<<sst<<" "<<ddr<<'\n';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 436kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 8ms | 476kb | OK | 10 |
6 | 196ms | 768kb | OK | 10 |
7 | 16ms | 536kb | OK | 10 |
8 | 96ms | 832kb | OK | 10 |
9 | 72ms | 836kb | OK | 10 |
10 | 0ms | 436kb | OK | 10 |
Punctaj total | 100 |