Pagini recente » Borderou de evaluare (job #1854621) | Borderou de evaluare (job #697719) | Borderou de evaluare (job #100468) | Borderou de evaluare (job #2679481) | Borderou de evaluare (job #2416463)
Borderou de evaluare (job #2416463)
Raport evaluator
Compilare:
main.cpp: In function 'void rezolva1()':
main.cpp:31:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
y=1<<k-1;
~^~
main.cpp: In function 'void secventa()':
main.cpp:83:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(i<=n)
^
main.cpp: In function 'int main()':
main.cpp:164:23: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(k%2==1)
^
main.cpp:130:24: warning: unused variable 'l' [-Wunused-variable]
int u[33],nr,p,l,r;
^
main.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);
^
main.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]);
^
main.cpp: In function 'int lungime(int&, int&)':
main.cpp:72:11: warning: 'ddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
dr=ddr;
~~^~~~
main.cpp: In function 'void secventa()':
main.cpp:114:42: warning: 'ddr' may be used uninitialized in this function [-Wmaybe-uninitialized]
fout<<lmax<<'\n'<<sst<<" "<<ddr<<'\n';
^~~~
main.cpp:114:32: 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 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 6ms | 131kb | OK | 10 |
5 | 13ms | 131kb | OK | 10 |
6 | 170ms | 1835kb | OK | 10 |
7 | 26ms | 262kb | OK | 10 |
8 | 123ms | 655kb | OK | 10 |
9 | 90ms | 1310kb | OK | 10 |
10 | 2ms | 131kb | OK | 10 |
Punctaj total | 100 |