結果
問題 | No.111 あばばばば |
ユーザー | itezpace |
提出日時 | 2016-08-23 17:34:13 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 127 bytes |
コンパイル時間 | 103 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,568 KB |
最終ジャッジ日時 | 2024-04-25 13:37:15 |
合計ジャッジ時間 | 6,739 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 30 ms
10,624 KB |
testcase_01 | AC | 29 ms
10,752 KB |
testcase_02 | AC | 53 ms
10,624 KB |
testcase_03 | TLE | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
ソースコード
l=int(input()) a=l-2 if l>3: b=(l-3)/2+1 else: b=1 c=b a2=int((a-1)/2) for i in range(1,a2+1): c+=2*i print(int(c))