|
|
|||
File indexing completed on 2026-04-09 07:49:22
0001 // name=st_test ; gcc $name.cc -std=c++11 -lstdc++ -I.. -o /tmp/$name && /tmp/$name 0002 0003 #include <iostream> 0004 #include <iomanip> 0005 #include "st.h" 0006 0007 int main(int argc, char** argv) 0008 { 0009 for(int h=0 ; h < 16 ; h++) 0010 { 0011 int n = st::complete_binary_tree_nodes(h) ; 0012 std::cout 0013 << " h " << std::setw(3) << h 0014 << " st::complete_binary_tree_nodes(h) " << std::setw(10) << n 0015 << std::endl 0016 ; 0017 } 0018 return 0 ; 0019 }
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|