結果
問題 | No.111 あばばばば |
ユーザー | Goryudyuma |
提出日時 | 2015-03-08 02:43:59 |
言語 | PHP (8.3.4) |
結果 |
TLE
|
実行時間 | - |
コード長 | 99 bytes |
コンパイル時間 | 196 ms |
コンパイル使用メモリ | 18,424 KB |
実行使用メモリ | 18,876 KB |
最終ジャッジ日時 | 2023-09-06 21:04:10 |
合計ジャッジ時間 | 6,682 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 16 ms
18,876 KB |
testcase_01 | AC | 16 ms
18,768 KB |
testcase_02 | AC | 23 ms
18,812 KB |
testcase_03 | TLE | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
コンパイルメッセージ
No syntax errors detected in Main.php
ソースコード
<?php $N=trim(fgets(STDIN)); $ans=0; for($i=$N;$i>1;$i-=2){ $ans+=$N-$i+1; } echo $ans.PHP_EOL;