In the event of technical difficulties with Szkopuł, please contact us via email at szkopul@fri.edu.pl.
If you are familiar with IRC chat, the support team is also reachable on PIRC network (irc.pirc.pl
) in #szkopul
channel. If you are not, just use email.
Please do not ask us things like "how to solve task XYZ?".
Please remember that the support team has to sleep sometimes or go to work in real life.
Pierwiastkiem -tego stopnia z liczby całkowitej dodatniej
nazywamy
największą taką liczbę całkowitą dodatnią
, że
.
Napisz program, który:
Pierwszy wiersz wejścia zawiera jedną liczbę całkowitą
(
).
Drugi wiersz wejścia zawiera jedną liczbę całkowitą
(
).
Pierwszy i jedyny wiersz wyjścia powinien zawierać jedną liczbę
całkowitą, równą pierwiastkowi -tego stopnia z liczby
.
Dla danych wejściowych:
2 34
poprawną odpowiedzią jest:
5