結果

問題 No.687 E869120 and Constructing Array 1
ユーザー youthfuldays072youthfuldays072
提出日時 2018-06-22 17:35:38
言語 Java21
(openjdk 21)
結果
TLE  
実行時間 -
コード長 331 bytes
コンパイル時間 2,000 ms
コンパイル使用メモリ 74,264 KB
実行使用メモリ 56,908 KB
最終ジャッジ日時 2023-09-13 08:01:04
合計ジャッジ時間 14,314 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 TLE -
testcase_02 AC 147 ms
56,908 KB
testcase_03 TLE -
testcase_04 TLE -
testcase_05 AC 145 ms
56,712 KB
testcase_06 AC 146 ms
56,780 KB
testcase_07 TLE -
testcase_08 AC 145 ms
56,888 KB
権限があれば一括ダウンロードができます

ソースコード

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