This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // #define ONLINE_JUDGE | |
| #include <assert.h> | |
| #include <algorithm> | |
| #include <fstream> | |
| #include <functional> | |
| #include <iostream> | |
| #include <set> | |
| #include <string> | |
| #include <map> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <algorithm> | |
| #include <assert.h> | |
| #include <cctype> | |
| #include <deque> | |
| #include <fstream> | |
| #include <iomanip> | |
| #include <map> | |
| #include <string> | |
| #include <vector> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <algorithm> | |
| #include <assert.h> | |
| #include <cctype> | |
| #include <map> | |
| #include <fstream> | |
| #include <string> | |
| // ========================================================================= | |
| class Telephone | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <algorithm> | |
| #include <bitset> | |
| #include <assert.h> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <sstream> | |
| #include <string> | |
| #include <vector> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <assert.h> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <iterator> | |
| #include <set> | |
| #include <sstream> | |
| #include <string> | |
| #include <vector> | |
| // ===================================================================== | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // UVa1339.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| #include <cstdio> | |
| #include <queue> | |
| #include <stack> | |
| #include <fstream> | |
| #include <map> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include "stdafx.h" | |
| #include <assert.h> | |
| #include <algorithm> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <regex> | |
| #include <set> | |
| #include <stack> | |
| #include <string> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // UVa1339.cpp : Defines the entry point for the console application. | |
| // | |
| #include "stdafx.h" | |
| #include <assert.h> | |
| #include <algorithm> | |
| #include <fstream> | |
| #include <iostream> | |
| #include <set> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <assert.h> | |
| #include <algorithm> | |
| #include <fstream> | |
| #include <functional> | |
| #include <iosfwd> | |
| #include <iostream> | |
| #include <map> | |
| #include <vector> | |
| namespace { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include <iostream> | |
| #include <sstream> | |
| #include <string> | |
| #include <utility> | |
| #include <vector> | |
| static void bangla_number(uint64_t number, std::stringstream & result) | |
| { | |
| typedef std::pair<size_t, std::string> bangla_number_t; |