結果

問題 No.111 あばばばば
ユーザー ktshunktshun
提出日時 2015-05-29 17:34:58
言語 Python2
(2.7.18)
結果
TLE  
実行時間 -
コード長 134 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 6,680 KB
実行使用メモリ 10,356 KB
最終ジャッジ日時 2023-09-20 15:57:10
合計ジャッジ時間 6,583 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,096 KB
testcase_01 AC 11 ms
6,040 KB
testcase_02 AC 29 ms
6,176 KB
testcase_03 TLE -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

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