結果
| 問題 |
No.687 E869120 and Constructing Array 1
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-05-25 14:07:23 |
| 言語 | PHP (843.2) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 1,000 ms |
| コード長 | 129 bytes |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 30,804 KB |
| 実行使用メモリ | 31,384 KB |
| 最終ジャッジ日時 | 2024-06-28 17:56:55 |
| 合計ジャッジ時間 | 945 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php
declare(strict_types=1);
$N = trim(fgets(STDIN));
$half = floor($N /2);
$rest = $N - $half;
echo "{$half} {$rest}".PHP_EOL;