結果

問題 No.208 王将
コンテスト
ユーザー rf141
提出日時 2015-08-13 00:54:31
言語 Java
(openjdk 25.0.2)
コンパイル:
javac -encoding UTF8 _filename_
実行:
java -ea -Xmx700m -Xss256M -DONLINE_JUDGE=true _class_
結果
WA  
実行時間 -
コード長 360 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 2,496 ms
コンパイル使用メモリ 82,172 KB
実行使用メモリ 128,828 KB
最終ジャッジ日時 2026-04-01 23:14:30
合計ジャッジ時間 4,991 ms
ジャッジサーバーID
(参考情報)
judge4_0 / judge3_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 2
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import java.util.*;
public class Osho{
	public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		int x=scan.nextInt(),y=scan.nextInt(),x1=scan.nextInt(),y1=scan.nextInt();
	}
	public static int count(int x,int y,int x1,int y1){
		int res = x+y-Math.min(x,y);
		if(x==y && x1==y1 && x1 < x && y1 < y){
			res++;
		}
		return res;
	}
}
0