Pagini recente » Borderou de evaluare (job #116782) | Borderou de evaluare (job #2979716) | Borderou de evaluare (job #2849244) | Borderou de evaluare (job #1065790) | Borderou de evaluare (job #2591230)
Borderou de evaluare (job #2591230)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:40: warning: self-comparison always evaluates to false [-Wtautological-compare]
if(even && i%2==1 && xors^v[i] <v[i]){
~~~~~^~~~~
main.cpp:29:40: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
main.cpp:30:31: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
out<<i<<" "<<(v[i]-xors^v[i]);
~~~~^~~~~
main.cpp:32:46: warning: self-comparison always evaluates to false [-Wtautological-compare]
}else if(!even && i%2==0 &&xors^v[i] <v[i] ){
~~~~~^~~~~
main.cpp:32:46: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses]
main.cpp:15:11: warning: unused variable 't' [-Wunused-variable]
int t,n,c,xors;
^
main.cpp:15:15: warning: unused variable 'c' [-Wunused-variable]
int t,n,c,xors;
^
main.cpp:22:16: warning: 'xors' may be used uninitialized in this function [-Wmaybe-uninitialized]
xors ^= v[i];
~~~~~^~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | Incorect | 0 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | Incorect | 0 |
| 5 | 3ms | 131kb | Incorect | 0 |
| 6 | 5ms | 131kb | Incorect | 0 |
| 7 | 4ms | 131kb | Incorect | 0 |
| 8 | 4ms | 131kb | Incorect | 0 |
| 9 | 4ms | 131kb | Incorect | 0 |
| 10 | 5ms | 131kb | Incorect | 0 |
| 11 | 7ms | 262kb | Incorect | 0 |
| 12 | 15ms | 208kb | Incorect | 0 |
| 13 | 12ms | 262kb | Incorect | 0 |
| 14 | 22ms | 401kb | Incorect | 0 |
| 15 | 16ms | 393kb | Incorect | 0 |
| 16 | 28ms | 393kb | Incorect | 0 |
| 17 | 33ms | 491kb | Incorect | 0 |
| 18 | 19ms | 524kb | Incorect | 0 |
| 19 | 39ms | 532kb | Incorect | 0 |
| 20 | 43ms | 528kb | Incorect | 0 |
| Punctaj total | 0 |