結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
alpha_virginis
|
| 提出日時 | 2015-05-15 22:33:28 |
| 言語 | C++11 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 842 ms |
| コンパイル使用メモリ | 173,904 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-09 00:02:10 |
| 合計ジャッジ時間 | 2,349 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_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