centralized performance resources
This commit is contained in:
commit
50b15a1522
63 changed files with 328466 additions and 0 deletions
12
ocw/bit-hacks/hacks.cc
Normal file
12
ocw/bit-hacks/hacks.cc
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
int x = 123;
|
||||
int y = 123123;
|
||||
|
||||
std::cout << x;
|
||||
std::swap(x, y);
|
||||
std::cout << y;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue