結果

問題 No.2043 Ohuton and Makura
ユーザー pluto77pluto77
提出日時 2023-01-24 15:50:58
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 131 bytes
コンパイル時間 1,020 ms
コンパイル使用メモリ 87,024 KB
実行使用メモリ 76,828 KB
最終ジャッジ日時 2023-09-08 10:44:59
合計ジャッジ時間 5,340 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,208 KB
testcase_01 AC 73 ms
71,248 KB
testcase_02 AC 116 ms
76,564 KB
testcase_03 AC 111 ms
76,620 KB
testcase_04 AC 124 ms
76,628 KB
testcase_05 AC 110 ms
76,556 KB
testcase_06 AC 87 ms
75,940 KB
testcase_07 AC 129 ms
76,348 KB
testcase_08 AC 89 ms
76,040 KB
testcase_09 AC 113 ms
76,572 KB
testcase_10 AC 124 ms
76,792 KB
testcase_11 AC 110 ms
76,600 KB
testcase_12 AC 73 ms
71,044 KB
testcase_13 AC 137 ms
76,696 KB
testcase_14 AC 71 ms
70,904 KB
testcase_15 AC 72 ms
71,028 KB
testcase_16 AC 71 ms
71,260 KB
testcase_17 AC 126 ms
76,568 KB
testcase_18 AC 142 ms
76,828 KB
testcase_19 AC 125 ms
76,432 KB
testcase_20 AC 125 ms
76,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B,S=map(int,input().split())
res=0
for i in range(1,S+1):
 for j in range(1,S//i+1):
  res+=max(0,A-i+1)*max(0,B-j+1)
print(res)
0