結果

問題 No.111 あばばばば
ユーザー kawacchukawacchu
提出日時 2019-10-08 19:24:44
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 82 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 20,992 KB
最終ジャッジ日時 2024-04-25 02:30:27
合計ジャッジ時間 6,768 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

print(ans)
0