結果

問題 No.80 四角形を描こう
ユーザー convexineq
提出日時 2020-12-03 07:45:01
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 119 ms / 5,000 ms
コード長 269 bytes
コンパイル時間 496 ms
コンパイル使用メモリ 81,868 KB
実行使用メモリ 60,416 KB
最終ジャッジ日時 2024-09-13 15:17:47
合計ジャッジ時間 1,815 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

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