Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- //import java.lang.Math;
- public class Practicer {
- public static void main(String[] args) {
- Scanner cin = new Scanner(System.in);
- long base = cin.nextLong();
- long power = cin.nextLong();
- System.out.printf("%.0f",Math.pow(base, power));
- //?? why can't import java.lang.Math; ?
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement