結果

問題 No.2043 Ohuton and Makura
ユーザー ニックネーム
提出日時 2022-08-19 21:55:24
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 156 bytes
コンパイル時間 315 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-08 08:27:44
合計ジャッジ時間 23,188 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13 TLE * 5
権限があれば一括ダウンロードができます

ソースコード

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