結果

問題 No.111 あばばばば
ユーザー kawacchukawacchu
提出日時 2019-10-08 19:26:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,401 ms / 5,000 ms
コード長 82 bytes
コンパイル時間 155 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 57,216 KB
最終ジャッジ日時 2024-04-25 02:32:21
合計ジャッジ時間 3,206 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
51,584 KB
testcase_01 AC 39 ms
51,456 KB
testcase_02 AC 40 ms
56,960 KB
testcase_03 AC 1,401 ms
57,216 KB
testcase_04 AC 35 ms
51,712 KB
testcase_05 AC 37 ms
57,216 KB
testcase_06 AC 42 ms
57,216 KB
testcase_07 AC 171 ms
57,216 KB
testcase_08 AC 691 ms
57,216 KB
testcase_09 AC 36 ms
51,584 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

print(ans)
0