結果

問題 No.2043 Ohuton and Makura
ユーザー qibqib
提出日時 2023-01-10 23:01:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 300 ms
コンパイル使用メモリ 87,328 KB
実行使用メモリ 77,004 KB
最終ジャッジ日時 2023-08-23 10:26:00
合計ジャッジ時間 5,159 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,452 KB
testcase_01 AC 72 ms
71,480 KB
testcase_02 AC 110 ms
76,792 KB
testcase_03 AC 110 ms
76,936 KB
testcase_04 AC 121 ms
76,948 KB
testcase_05 AC 111 ms
76,792 KB
testcase_06 AC 85 ms
76,432 KB
testcase_07 AC 126 ms
76,640 KB
testcase_08 AC 88 ms
76,476 KB
testcase_09 AC 110 ms
76,648 KB
testcase_10 AC 120 ms
76,832 KB
testcase_11 AC 107 ms
76,960 KB
testcase_12 AC 71 ms
71,452 KB
testcase_13 AC 109 ms
76,988 KB
testcase_14 AC 72 ms
71,124 KB
testcase_15 AC 72 ms
71,440 KB
testcase_16 AC 73 ms
71,476 KB
testcase_17 AC 117 ms
77,004 KB
testcase_18 AC 123 ms
76,612 KB
testcase_19 AC 124 ms
76,628 KB
testcase_20 AC 124 ms
76,980 KB
権限があれば一括ダウンロードができます

ソースコード

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):
    if x > a or y > b:
      continue
    ans += (a - x + 1) * (b - y + 1)

print(ans)
0