結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
tenten
|
| 提出日時 | 2020-09-03 19:48:54 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 164 ms / 1,000 ms |
| コード長 | 234 bytes |
| コンパイル時間 | 3,571 ms |
| コンパイル使用メモリ | 85,460 KB |
| 実行使用メモリ | 42,556 KB |
| 最終ジャッジ日時 | 2024-11-23 23:21:03 |
| 合計ジャッジ時間 | 5,090 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
ソースコード
import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int first = n / 2;
System.out.println(first + " " + (n - first));
}
}
tenten