Posts

Showing posts with the label gyaani coder solutions

Challenge - #60 - Power-Mod Power

  # Enter your code here. Read input from STDIN. Print output to STDOUT a =  int ( input ()) b =  int ( input ()) m =  int ( input ()) print ( pow (a,b), pow (a,b,m),sep= "\n" )

Challenge - #53 - Set .union() Operation

  # Enter your code here. Read input from STDIN. Print output to STDOUT en =  int ( input ()) english =  set ( map ( int ,  input ().split())) fr =  int ( input ()) french =  set ( map ( int ,  input ().split())) print ( len (english.union(french)))