結果

問題 No.80 四角形を描こう
ユーザー maimai
提出日時 2017-05-21 14:13:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 173 ms / 5,000 ms
コード長 379 bytes
コンパイル時間 1,246 ms
コンパイル使用メモリ 81,712 KB
実行使用メモリ 62,136 KB
最終ジャッジ日時 2023-10-19 12:02:00
合計ジャッジ時間 1,607 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
53,472 KB
testcase_01 AC 39 ms
53,472 KB
testcase_02 AC 39 ms
53,472 KB
testcase_03 AC 38 ms
53,472 KB
testcase_04 AC 39 ms
53,472 KB
testcase_05 AC 39 ms
53,472 KB
testcase_06 AC 39 ms
53,472 KB
testcase_07 AC 38 ms
53,472 KB
testcase_08 AC 46 ms
59,916 KB
testcase_09 AC 54 ms
62,136 KB
testcase_10 AC 63 ms
62,136 KB
testcase_11 AC 173 ms
62,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# ##################### #
# #                   # #
# #   python3勉強中   # # (゚д゚)
# #                   # #
# ##################### #
import sys

l = int(input())

if l < 4:
    print(0)
else:
    rslt = 0
    for x in range(int(l/2),0,-1):
        for y in range(int(l/2),0,-1):
            if x*2+y*2 > l : continue
            rslt=max(rslt,x*y)
    print(rslt)
    
0