結果

問題 No.276 連続する整数の和(1)
ユーザー ねずねず
提出日時 2018-01-25 00:18:04
言語 PHP
(8.2.11)
結果
AC  
実行時間 7 ms / 1,000 ms
コード長 66 bytes
コンパイル時間 905 ms
コンパイル使用メモリ 11,920 KB
実行使用メモリ 12,136 KB
最終ジャッジ日時 2023-08-27 02:31:56
合計ジャッジ時間 1,769 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 7 ms
12,028 KB
testcase_01 AC 7 ms
12,060 KB
testcase_02 AC 7 ms
11,960 KB
testcase_03 AC 7 ms
12,064 KB
testcase_04 AC 7 ms
12,104 KB
testcase_05 AC 7 ms
12,104 KB
testcase_06 AC 7 ms
12,060 KB
testcase_07 AC 7 ms
12,136 KB
testcase_08 AC 7 ms
12,064 KB
testcase_09 AC 6 ms
12,100 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$a = trim(fgets(STDIN));
print $a % 2 == 0 ? $a / 2 : $a;
?>
0