Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
sgfsfdgsfd
#include <iostream> #include <vector> int main() { std::vector<int> x; x.reserve(100); std::vector<int> y; std::cout << x.capacity() << '\n'; std::cout << y.capacity() << '\n'; x = std::move(y); std::cout << x.capacity() << '\n'; std::cout << y.capacity() << '\n'; }
run
|
edit
|
history
|
help
0
String match with test
Hashing
an awesome question of basic graph traversal (786A)
fibonacci
poker.hpp
Facebook - Split into monotonic sequences
derivative
Microsoft - # of fragments (semi-optimised)
Guess Number
Clementina