結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| ユーザー |
|
| 提出日時 | 2018-05-18 22:21:31 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 138 ms / 1,000 ms |
| コード長 | 654 bytes |
| コンパイル時間 | 3,636 ms |
| コンパイル使用メモリ | 77,164 KB |
| 実行使用メモリ | 41,836 KB |
| 最終ジャッジ日時 | 2024-06-28 13:48:14 |
| 合計ジャッジ時間 | 5,456 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
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);
}
}
}