結果

問題 No.208 王将
ユーザー wing3196
提出日時 2015-05-15 22:36:50
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 451 bytes
コンパイル時間 491 ms
コンパイル使用メモリ 78,380 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-06 04:07:05
合計ジャッジ時間 1,154 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 19 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _USE_MATH_DEFINES
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<climits>
#include<string>
#include<vector>
#include<list>
#include<map>
#include<set>
#include<cmath>
#include<queue>
#include<cstring>
#include<stack>
#include<functional>
#include<deque>
#include<cstdlib>
#include<ctime>
using namespace std;

int main(){
	int X,Y,X2,Y2;
	cin>>X>>Y>>X2>>Y2;
	int ans = max(abs(X),abs(Y));
	printf("%d\n",ans);
    return 0;
}
0