結果

問題 No.687 E869120 and Constructing Array 1
ユーザー youthfuldays072
提出日時 2018-06-22 17:35:38
言語 Java
(openjdk 23)
結果
TLE  
実行時間 -
コード長 331 bytes
コンパイル時間 1,975 ms
コンパイル使用メモリ 76,540 KB
実行使用メモリ 55,192 KB
最終ジャッジ日時 2024-06-30 18:01:11
合計ジャッジ時間 14,078 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other AC * 2 TLE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {
		Main main=new Main();
		main.run();
	}

	void run() {

		Scanner sc=new Scanner(System.in);

		int N=sc.nextInt();

		for(int i=10;i>=1;i++) {

			int buf=N-i;

			if(buf>0) {
				System.out.println(buf+" "+i);
				return;
			}

		}
	}
}


0