結果

問題 No.80 四角形を描こう
ユーザー mkawa2mkawa2
提出日時 2020-01-03 09:49:17
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 15 ms / 5,000 ms
コード長 371 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 10,660 KB
実行使用メモリ 7,996 KB
最終ジャッジ日時 2023-08-14 19:05:14
合計ジャッジ時間 1,007 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,908 KB
testcase_01 AC 13 ms
7,828 KB
testcase_02 AC 12 ms
7,824 KB
testcase_03 AC 13 ms
7,824 KB
testcase_04 AC 14 ms
7,996 KB
testcase_05 AC 13 ms
7,792 KB
testcase_06 AC 14 ms
7,812 KB
testcase_07 AC 13 ms
7,816 KB
testcase_08 AC 13 ms
7,864 KB
testcase_09 AC 14 ms
7,864 KB
testcase_10 AC 13 ms
7,800 KB
testcase_11 AC 14 ms
7,868 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

def main():
    d=int(input())
    hw=d//2
    h=hw//2
    print(h*(hw-h))
main()
0