結果

問題 No.131 マンハッタン距離
ユーザー tookunn_1213
提出日時 2015-06-05 18:41:22
言語 Python2
(2.7.18)
結果
RE  
実行時間 -
コード長 124 bytes
コンパイル時間 82 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 815,296 KB
最終ジャッジ日時 2024-07-06 14:17:45
合計ジャッジ時間 1,754 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other RE * 1 MLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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