結果

問題 No.687 E869120 and Constructing Array 1
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-05-18 22:21:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 159 ms / 1,000 ms
コード長 233 bytes
コンパイル時間 2,190 ms
コンパイル使用メモリ 72,716 KB
実行使用メモリ 56,848 KB
最終ジャッジ日時 2023-09-10 22:59:06
合計ジャッジ時間 4,512 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 155 ms
56,848 KB
testcase_01 AC 155 ms
56,836 KB
testcase_02 AC 152 ms
56,772 KB
testcase_03 AC 153 ms
56,788 KB
testcase_04 AC 152 ms
56,676 KB
testcase_05 AC 155 ms
56,460 KB
testcase_06 AC 154 ms
56,680 KB
testcase_07 AC 154 ms
56,732 KB
testcase_08 AC 159 ms
56,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import static java.lang.System.*;
import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int n = sc.nextInt();
		int t = n/2;
		out.println(t+" "+(n-t));
	}
}
0