結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
alpha_virginis
|
| 提出日時 | 2015-05-15 22:33:28 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 919 ms |
| コンパイル使用メモリ | 173,988 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-03-27 14:34:45 |
| 合計ジャッジ時間 | 1,774 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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