結果

問題 No.687 E869120 and Constructing Array 1
ユーザー fal_rndfal_rnd
提出日時 2018-05-23 09:09:30
言語 Java21
(openjdk 21)
結果
AC  
実行時間 141 ms / 1,000 ms
コード長 289 bytes
コンパイル時間 2,292 ms
コンパイル使用メモリ 72,648 KB
実行使用メモリ 56,296 KB
最終ジャッジ日時 2023-09-11 01:35:02
合計ジャッジ時間 4,518 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 140 ms
55,892 KB
testcase_01 AC 140 ms
56,276 KB
testcase_02 AC 138 ms
56,164 KB
testcase_03 AC 136 ms
55,940 KB
testcase_04 AC 141 ms
56,264 KB
testcase_05 AC 139 ms
56,296 KB
testcase_06 AC 139 ms
55,584 KB
testcase_07 AC 141 ms
56,080 KB
testcase_08 AC 139 ms
55,740 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    static Scanner s=new Scanner(System.in);
    public static void main(String[] args) {
        int n=s.nextInt();
        if(n<=10)
            System.out.println(1+" "+(n-1));
        else
            System.out.println(10+" "+(n-10));
    }
}
0