結果
| 問題 |
No.2043 Ohuton and Makura
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-08-19 22:34:11 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 196 bytes |
| コンパイル時間 | 254 ms |
| コンパイル使用メモリ | 82,568 KB |
| 実行使用メモリ | 59,620 KB |
| 最終ジャッジ日時 | 2024-10-08 09:35:21 |
| 合計ジャッジ時間 | 2,270 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 17 |
ソースコード
A,B,S = map(int,input().split())
ans = 0
for i in range(1,S + 1):
if S % i != 0:
continue
j = S // i
if i <= A and j <= B:
ans += (A - i + 1) * (B - j + 1)
print(ans)