結果

問題 No.80 四角形を描こう
ユーザー lloyzlloyz
提出日時 2023-07-19 00:48:24
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 5,000 ms
コード長 102 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 81,832 KB
実行使用メモリ 59,384 KB
最終ジャッジ日時 2023-10-19 03:53:04
合計ジャッジ時間 1,537 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
53,340 KB
testcase_01 AC 39 ms
53,340 KB
testcase_02 AC 39 ms
53,340 KB
testcase_03 AC 39 ms
53,340 KB
testcase_04 AC 38 ms
53,340 KB
testcase_05 AC 40 ms
53,340 KB
testcase_06 AC 41 ms
53,340 KB
testcase_07 AC 39 ms
53,340 KB
testcase_08 AC 40 ms
53,340 KB
testcase_09 AC 42 ms
57,328 KB
testcase_10 AC 42 ms
57,328 KB
testcase_11 AC 45 ms
59,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

d = int(input())

ans = 0
l = d // 2
for i in range(1, l):
    ans = max(ans, i * (l - i))
print(ans)
0