P0003. Friend numbers P55307


Statement
 

pdf   zip

Public test cases
  • Input

    1345 6721  2924 2620  15 2  220 284  220 284   
    

    Output

    (2924 2620),(220 284),(220 284)
    
  • Input

    
            
                                

    Output

    
            
                                
  • Input

    8 8  1184 1210  6666 9999  6 6
    

    Output

    (1184 1210)
    
  • Information
    Author
    Professorat de P1
    Language
    English
    Translator
    Carlos Molina
    Original language
    Catalan
    Other languages
    Catalan
    Official solutions
    C++
    User solutions
    C++ Python