結果
| 問題 | No.131 マンハッタン距離 | 
| コンテスト | |
| ユーザー |  fmhr | 
| 提出日時 | 2015-04-25 18:04:52 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 4,489 ms / 5,000 ms | 
| コード長 | 148 bytes | 
| コンパイル時間 | 225 ms | 
| コンパイル使用メモリ | 82,604 KB | 
| 実行使用メモリ | 58,920 KB | 
| 最終ジャッジ日時 | 2024-07-05 02:37:17 | 
| 合計ジャッジ時間 | 30,369 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 24 | 
ソースコード
# coding:utf-8
x, y, d = map(int, input().split())
ans = 0
for i in range(d+1):
    if i > x or d - i > y:
        continue
    ans += 1
print(ans)
            
            
            
        