結果

問題 No.80 四角形を描こう
ユーザー convexineqconvexineq
提出日時 2020-12-03 07:45:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 156 ms / 5,000 ms
コード長 269 bytes
コンパイル時間 1,167 ms
コンパイル使用メモリ 86,884 KB
実行使用メモリ 76,356 KB
最終ジャッジ日時 2023-10-11 16:38:25
合計ジャッジ時間 3,090 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,088 KB
testcase_01 AC 75 ms
71,136 KB
testcase_02 AC 74 ms
71,152 KB
testcase_03 AC 75 ms
71,284 KB
testcase_04 AC 75 ms
71,476 KB
testcase_05 AC 75 ms
71,320 KB
testcase_06 AC 75 ms
71,144 KB
testcase_07 AC 73 ms
71,072 KB
testcase_08 AC 86 ms
75,968 KB
testcase_09 AC 84 ms
76,160 KB
testcase_10 AC 90 ms
76,356 KB
testcase_11 AC 156 ms
76,128 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# Your code here!
import sys
read = sys.stdin.read
readline = sys.stdin.readline

d = int(readline())//2
#*x, = map(int,readline().split())
ans = 0
for i in range(d):
    for j in range(d):
        if i+j > d: break
        ans = max(ans,i*j)
print(ans)
0