結果

問題 No.111 あばばばば
ユーザー ktshun
提出日時 2015-05-29 17:34:58
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 134 bytes
コンパイル時間 166 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 13,340 KB
最終ジャッジ日時 2024-07-06 11:02:00
合計ジャッジ時間 6,734 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3 TLE * 1 -- * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding:utf-8 -*-

if __name__ == "__main__":
	l = input()
	ans = 0 
	i = 2
	while l - i > 0:
		ans += l - i
		i += 2
	print ans 
0