結果
問題 |
No.208 王将
|
ユーザー |
|
提出日時 | 2016-09-05 11:16:18 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 290 ms |
コンパイル使用メモリ | 7,076 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-11-15 20:23:56 |
合計ジャッジ時間 | 1,812 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 17 WA * 6 |
ソースコード
a, b = map(int, raw_input().split()) c, d = map(int, raw_input().split()) print max(a, b)+2 if a==c==0 or b==d==0 else max(a,b)