Pagini recente » Borderou de evaluare (job #1554041) | Borderou de evaluare (job #2004327) | Borderou de evaluare (job #2279480)
Borderou de evaluare (job #2279480)
Raport evaluator
Compilare:
main.cpp: In function 'int divide(int, int, int)':
main.cpp:20:36: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return divide(n-1,x-(1<<2*n-1),y)+2*(1<<2*n-2);
~~~^~
main.cpp:20:52: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return divide(n-1,x-(1<<2*n-1),y)+2*(1<<2*n-2);
~~~^~
main.cpp:23:34: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return divide(n-1,x-(1<<n-1),y-(1<<n-1))+3*(1<<2*n-2);
~^~
main.cpp:23:45: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return divide(n-1,x-(1<<n-1),y-(1<<n-1))+3*(1<<2*n-2);
~^~
main.cpp:23:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
return divide(n-1,x-(1<<n-1),y-(1<<n-1))+3*(1<<2*n-2);
~~~^~
main.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 7ms | 131kb | Incorect | 0 |
7 | 10ms | 131kb | Incorect | 0 |
8 | 11ms | 131kb | Incorect | 0 |
9 | 13ms | 131kb | Incorect | 0 |
10 | 14ms | 131kb | Incorect | 0 |
Punctaj total | 0 |