結果

問題 No.2043 Ohuton and Makura
ユーザー lloyzlloyz
提出日時 2022-08-19 22:19:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 211 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 75,520 KB
最終ジャッジ日時 2024-04-17 00:59:51
合計ジャッジ時間 2,681 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
51,840 KB
testcase_01 AC 45 ms
51,584 KB
testcase_02 AC 79 ms
63,744 KB
testcase_03 AC 70 ms
60,288 KB
testcase_04 AC 103 ms
75,520 KB
testcase_05 AC 100 ms
75,264 KB
testcase_06 AC 59 ms
60,928 KB
testcase_07 AC 104 ms
75,392 KB
testcase_08 AC 63 ms
61,952 KB
testcase_09 AC 80 ms
64,512 KB
testcase_10 AC 92 ms
68,992 KB
testcase_11 AC 100 ms
75,264 KB
testcase_12 AC 47 ms
52,096 KB
testcase_13 AC 46 ms
51,456 KB
testcase_14 AC 46 ms
51,456 KB
testcase_15 AC 52 ms
58,496 KB
testcase_16 AC 52 ms
58,240 KB
testcase_17 AC 84 ms
75,264 KB
testcase_18 AC 58 ms
57,728 KB
testcase_19 AC 112 ms
75,264 KB
testcase_20 AC 111 ms
75,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b, s = map(int, input().split())

ans = 0
for i in range(1, a + 1):
    for j in range(1, b + 1):
        if i * j > s:
            break
        ans += (a - i + 1) * (b - j + 1)
print(ans)
0