結果

問題 No.80 四角形を描こう
ユーザー aaaaaaaaaa2230aaaaaaaaaa2230
提出日時 2022-01-19 21:40:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 91 bytes
コンパイル時間 359 ms
コンパイル使用メモリ 86,824 KB
実行使用メモリ 75,216 KB
最終ジャッジ日時 2023-08-15 08:11:37
合計ジャッジ時間 2,285 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
71,176 KB
testcase_01 AC 64 ms
71,156 KB
testcase_02 AC 63 ms
71,252 KB
testcase_03 AC 63 ms
71,176 KB
testcase_04 AC 62 ms
71,284 KB
testcase_05 AC 62 ms
71,084 KB
testcase_06 AC 64 ms
71,004 KB
testcase_07 AC 64 ms
71,172 KB
testcase_08 AC 61 ms
71,224 KB
testcase_09 AC 64 ms
71,152 KB
testcase_10 AC 63 ms
71,256 KB
testcase_11 AC 68 ms
75,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

d = int(input())
ans = 0
for i in range(1,d//4+1):
    ans = max(ans,i*(d//2-i))
print(ans)
0