結果

問題 No.2043 Ohuton and Makura
ユーザー ニックネームニックネーム
提出日時 2022-08-19 21:55:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 81,996 KB
実行使用メモリ 75,988 KB
最終ジャッジ日時 2024-04-17 00:36:09
合計ジャッジ時間 2,337 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,592 KB
testcase_01 AC 37 ms
52,556 KB
testcase_02 AC 63 ms
64,900 KB
testcase_03 AC 56 ms
61,648 KB
testcase_04 AC 86 ms
75,616 KB
testcase_05 AC 70 ms
74,096 KB
testcase_06 AC 46 ms
61,436 KB
testcase_07 AC 77 ms
75,988 KB
testcase_08 AC 48 ms
62,128 KB
testcase_09 AC 60 ms
65,984 KB
testcase_10 AC 69 ms
69,196 KB
testcase_11 AC 69 ms
73,780 KB
testcase_12 AC 37 ms
52,632 KB
testcase_13 AC 35 ms
53,680 KB
testcase_14 AC 37 ms
52,544 KB
testcase_15 AC 40 ms
52,760 KB
testcase_16 AC 38 ms
53,312 KB
testcase_17 AC 66 ms
75,692 KB
testcase_18 AC 44 ms
57,924 KB
testcase_19 AC 88 ms
75,252 KB
testcase_20 AC 87 ms
75,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, s = map(int, input().split())
ans = 0
for i in range(1, min(a, s)+1):
    for j in range(1, min(b, s//i)+1):
        ans += (a-i+1)*(b-j+1)
print(ans)
0