結果

問題 No.2043 Ohuton and Makura
ユーザー Meso Meso
提出日時 2025-04-22 10:36:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 156 bytes
コンパイル時間 547 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 18,468 KB
最終ジャッジ日時 2025-04-22 10:36:20
合計ジャッジ時間 9,543 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 TLE * 1
other TLE * 2 -- * 16
権限があれば一括ダウンロードができます

ソースコード

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