結果

問題 No.131 マンハッタン距離
ユーザー tookunn_1213tookunn_1213
提出日時 2015-06-05 18:38:33
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 135 bytes
コンパイル時間 423 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 813,660 KB
最終ジャッジ日時 2023-09-20 19:20:36
合計ジャッジ時間 2,308 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,980 KB
testcase_01 AC 11 ms
5,940 KB
testcase_02 AC 11 ms
5,872 KB
testcase_03 RE -
testcase_04 MLE -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

x,y,d = map(int,raw_input().split())
mp = [[j + i for j in range(x+1)] for i in range(y+1)]
c = 0
for i in mp:
	c += i.count(d)
print c
0