2012-03-19から1日間の記事一覧
import java.util.Scanner; public class XCubic{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int n = Integer.parseInt(sc.next()); int result = n * n * n; System.out.println(result); } } }