• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
0

Given positive integers a,b and m., Compute a^b%m. Assume a<=10^9, b<=10^18, m<=10^9.

Try sample input as a=999999999, b=10^18, m=10^9

cpp
2nd Apr 2020, 5:33 AM
Anjali Yadav
Anjali Yadav - avatar
1 Antwoord
0
https://code.sololearn.com/cfDKGVMTU3mh/?ref=app Try this one, almost same
2nd Apr 2020, 5:51 AM
Kashyap Kumar
Kashyap Kumar - avatar

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Sql practice
0 Votes
Balance
0 Votes