Azienda coinvolta
Swap two variables without using a temp.
Anonimo
in c/c++: x^=y^=x^=y;
a= a*b; b = a/b; a = a/b;
+/- is correct even with overflow
You don't want to use +-/* as you might face under/overflow.
Can be done using adding/subtracting, multiply/divide, xor.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.