結果

問題 No.80 四角形を描こう
ユーザー tanimani364tanimani364
提出日時 2021-03-24 15:06:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 157 ms / 5,000 ms
コード長 282 bytes
コンパイル時間 1,068 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 80,216 KB
最終ジャッジ日時 2023-08-17 22:13:46
合計ジャッジ時間 3,879 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 155 ms
80,048 KB
testcase_01 AC 156 ms
80,036 KB
testcase_02 AC 151 ms
80,184 KB
testcase_03 AC 146 ms
80,216 KB
testcase_04 AC 146 ms
80,092 KB
testcase_05 AC 146 ms
80,112 KB
testcase_06 AC 149 ms
80,000 KB
testcase_07 AC 150 ms
80,188 KB
testcase_08 AC 154 ms
80,192 KB
testcase_09 AC 157 ms
80,132 KB
testcase_10 AC 155 ms
80,124 KB
testcase_11 AC 155 ms
80,180 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
#coding:utf-8

import math
import string
from sys import stdin
# import numpy as np
# from matplotlib import pyplot as plt

	
def main():
	read=stdin.readline

	#edit here!
	d=int(read())
	x=d//4
	ans=x*(d//2-x)
	print(ans)
if __name__ == '__main__':
	main()
0