結果

問題 No.687 E869120 and Constructing Array 1
ユーザー GrenacheGrenache
提出日時 2018-05-18 22:21:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 654 bytes
コンパイル時間 3,561 ms
コンパイル使用メモリ 72,548 KB
実行使用メモリ 55,964 KB
最終ジャッジ日時 2023-09-10 22:57:53
合計ジャッジ時間 5,486 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 127 ms
55,904 KB
testcase_01 AC 127 ms
55,964 KB
testcase_02 AC 125 ms
55,668 KB
testcase_03 AC 126 ms
55,708 KB
testcase_04 AC 126 ms
55,624 KB
testcase_05 AC 126 ms
55,740 KB
testcase_06 AC 124 ms
55,904 KB
testcase_07 AC 126 ms
55,748 KB
testcase_08 AC 127 ms
55,448 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder687 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		pr.printf("%d %d\n", n / 2, n - n / 2);
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
}
0