結果
| 問題 | No.853 河原の石 | 
| コンテスト | |
| ユーザー |  gew1fw | 
| 提出日時 | 2025-06-12 14:55:33 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 93 bytes | 
| コンパイル時間 | 276 ms | 
| コンパイル使用メモリ | 82,596 KB | 
| 実行使用メモリ | 54,224 KB | 
| 最終ジャッジ日時 | 2025-06-12 14:57:52 | 
| 合計ジャッジ時間 | 4,018 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 3 WA * 54 | 
ソースコード
H, W = map(int, input().split())
if H == 0 or W == 0:
    print(0)
else:
    print(H + W - 1)
            
            
            
        