結果

問題 No.2043 Ohuton and Makura
ユーザー ニックネーム
提出日時 2022-08-19 21:55:41
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 89 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 689 ms
コンパイル使用メモリ 82,432 KB
実行使用メモリ 75,520 KB
最終ジャッジ日時 2024-10-08 08:27:53
合計ジャッジ時間 2,607 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

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