結果

問題 No.80 四角形を描こう
ユーザー あかりきあかりき
提出日時 2021-02-08 13:22:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 82 bytes
コンパイル時間 1,115 ms
コンパイル使用メモリ 86,876 KB
実行使用メモリ 71,256 KB
最終ジャッジ日時 2023-09-19 03:21:52
合計ジャッジ時間 2,372 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
70,800 KB
testcase_01 AC 76 ms
71,256 KB
testcase_02 AC 75 ms
70,928 KB
testcase_03 AC 74 ms
70,944 KB
testcase_04 AC 74 ms
70,956 KB
testcase_05 AC 75 ms
71,256 KB
testcase_06 AC 75 ms
70,640 KB
testcase_07 AC 75 ms
70,848 KB
testcase_08 AC 74 ms
70,852 KB
testcase_09 AC 77 ms
70,640 KB
testcase_10 AC 74 ms
71,000 KB
testcase_11 AC 75 ms
71,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

d=int(input())
d=d//2
if d%2==0:
  print((d//2)**2)
else:
  print((d//2)*(d//2+1))
0