結果

問題 No.414 衝動
ユーザー uafr_csuafr_cs
提出日時 2016-08-26 23:47:28
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 493 bytes
コンパイル時間 2,577 ms
コンパイル使用メモリ 80,944 KB
実行使用メモリ 55,280 KB
最終ジャッジ日時 2024-04-26 04:01:35
合計ジャッジ時間 6,445 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 155 ms
55,084 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 159 ms
55,012 KB
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.Scanner;
import java.util.Set;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		final long M = sc.nextLong();
		
		/*
		for(long i = 2; i * i <= M; i++){
			if(M % i == 0){
				System.out.println(i + " " + (M / i));
				return;
			}
		}
		*/
		
		System.out.println("0" + Long.toOctalString(1) + " " + "0" + Long.toOctalString(M));
	}

}
0