結果

問題 No.2043 Ohuton and Makura
ユーザー RedSpicaRedSpica
提出日時 2022-08-20 05:06:23
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 111 ms / 2,000 ms
コード長 195 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 75,648 KB
最終ジャッジ日時 2024-04-17 06:20:57
合計ジャッジ時間 2,603 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
51,712 KB
testcase_01 AC 42 ms
51,584 KB
testcase_02 AC 74 ms
64,128 KB
testcase_03 AC 64 ms
59,776 KB
testcase_04 AC 106 ms
75,520 KB
testcase_05 AC 95 ms
75,264 KB
testcase_06 AC 55 ms
61,312 KB
testcase_07 AC 102 ms
75,264 KB
testcase_08 AC 57 ms
61,824 KB
testcase_09 AC 77 ms
64,384 KB
testcase_10 AC 88 ms
69,248 KB
testcase_11 AC 96 ms
75,008 KB
testcase_12 AC 41 ms
51,712 KB
testcase_13 AC 40 ms
51,712 KB
testcase_14 AC 40 ms
51,584 KB
testcase_15 AC 56 ms
58,112 KB
testcase_16 AC 54 ms
58,112 KB
testcase_17 AC 80 ms
75,264 KB
testcase_18 AC 53 ms
57,984 KB
testcase_19 AC 109 ms
75,264 KB
testcase_20 AC 111 ms
75,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,s=map(int,input().split())
ans=0
for x in range(1,a+1):
    for y in range(1,s//x+1):
        if b<y:
            break
        if x*y<=s:
            ans+=(a-x+1)*(b-y+1)
        
print(ans)
0