結果

問題 No.2043 Ohuton and Makura
ユーザー Meso Meso
提出日時 2025-04-22 10:36:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 112 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 527 ms
コンパイル使用メモリ 82,100 KB
実行使用メモリ 76,104 KB
最終ジャッジ日時 2025-04-22 10:36:41
合計ジャッジ時間 2,925 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

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

ans = 0
for x in range(1, s+1):
    for y in range(1, s//x+1):
        ans += max(0, a-x+1) * max(0, b-y+1)

print(ans)
0