|
|
|
|
clang++ -std=c++14 -stdlib=libc++ -Wall -Wextra -pedantic-errors -O3 main.cpp && ./a.out echo ============================================ g++ -std=c++14 -Wall -Wextra -pedantic-errors -O3 main.cpp && ./a.out typical usage: ----------------------- stack(deque) 420 millisecs stack(vector) 220 millisecs stack(list) 1800 millisecs monotonic usage: ----------------------- stack(deque) 380 millisecs stack(vector) 320 millisecs stack(list) 1840 millisecs ============================================ typical usage: ----------------------- stack(deque) 370 millisecs stack(vector) 240 millisecs stack(list) 1960 millisecs monotonic usage: ----------------------- stack(deque) 500 millisecs stack(vector) 320 millisecs stack(list) 1930 millisecs |
typical usage: ----------------------- stack(deque) 904 millisecs stack(vector) 421 millisecs stack(list) 3822 millisecs monotonic usage: ----------------------- stack(deque) 531 millisecs stack(vector) 327 millisecs stack(list) 2247 millisecs |