結果

問題 No.111 あばばばば
ユーザー akanayaakanaya
提出日時 2020-03-26 14:47:51
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,580 ms / 5,000 ms
コード長 89 bytes
コンパイル時間 517 ms
コンパイル使用メモリ 86,848 KB
実行使用メモリ 75,596 KB
最終ジャッジ日時 2023-08-30 12:38:21
合計ジャッジ時間 4,618 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
71,060 KB
testcase_01 AC 79 ms
71,284 KB
testcase_02 AC 78 ms
75,280 KB
testcase_03 AC 1,580 ms
75,316 KB
testcase_04 AC 76 ms
71,168 KB
testcase_05 AC 82 ms
75,240 KB
testcase_06 AC 85 ms
75,596 KB
testcase_07 AC 226 ms
75,520 KB
testcase_08 AC 790 ms
75,468 KB
testcase_09 AC 75 ms
71,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

l = int(input())

ans = 0
for i in range(3, l + 1, 2):
    ans += (l - i + 1)

print(ans)
0