結果

問題 No.2043 Ohuton and Makura
ユーザー mrngmrng
提出日時 2022-08-27 14:08:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 114 ms / 2,000 ms
コード長 136 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 82,836 KB
実行使用メモリ 75,888 KB
最終ジャッジ日時 2024-04-22 12:36:20
合計ジャッジ時間 2,568 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
52,544 KB
testcase_01 AC 38 ms
53,000 KB
testcase_02 AC 83 ms
75,408 KB
testcase_03 AC 82 ms
75,260 KB
testcase_04 AC 95 ms
75,796 KB
testcase_05 AC 79 ms
75,576 KB
testcase_06 AC 53 ms
64,296 KB
testcase_07 AC 100 ms
75,504 KB
testcase_08 AC 57 ms
65,432 KB
testcase_09 AC 82 ms
75,712 KB
testcase_10 AC 94 ms
75,780 KB
testcase_11 AC 79 ms
75,192 KB
testcase_12 AC 38 ms
51,868 KB
testcase_13 AC 106 ms
75,304 KB
testcase_14 AC 37 ms
52,600 KB
testcase_15 AC 38 ms
52,460 KB
testcase_16 AC 38 ms
52,868 KB
testcase_17 AC 97 ms
75,148 KB
testcase_18 AC 114 ms
75,888 KB
testcase_19 AC 95 ms
75,820 KB
testcase_20 AC 98 ms
75,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b,s = map(int,input().split())
ans = 0
for i in range(1,s+1):
	for j in range(1,s//i+1):
		ans += max(0,a-i+1)*max(0,b-j+1)
print(ans)
0