結果
| 問題 |
No.208 王将
|
| コンテスト | |
| ユーザー |
alpha_virginis
|
| 提出日時 | 2015-05-15 22:33:28 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 1,279 ms |
| コンパイル使用メモリ | 159,068 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 04:06:08 |
| 合計ジャッジ時間 | 2,112 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | AC * 20 WA * 3 |
ソースコード
#include <bits/stdc++.h>
int main() {
int x, y, x2, y2;
std::cin >> x >> y >> x2 >> y2;
if( x == y && x2 == x2 ) {
std::cout << std::max(x, y) + 1 << std::endl;
}
else {
std::cout << std::max(x, y) << std::endl;
}
return 0;
}
alpha_virginis