結果

問題 No.687 E869120 and Constructing Array 1
ユーザー fal_rnd
提出日時 2018-05-23 09:09:30
言語 Java
(openjdk 23)
結果
AC  
実行時間 151 ms / 1,000 ms
コード長 289 bytes
コンパイル時間 2,398 ms
コンパイル使用メモリ 76,652 KB
実行使用メモリ 41,776 KB
最終ジャッジ日時 2024-06-28 16:06:25
合計ジャッジ時間 4,127 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 6
権限があれば一括ダウンロードができます

ソースコード

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