結果
| 問題 | No.208 王将 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-08-13 00:55:26 |
| 言語 | Java (openjdk 25.0.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 346 bytes |
| 記録 | |
| コンパイル時間 | 2,768 ms |
| コンパイル使用メモリ | 74,756 KB |
| 実行使用メモリ | 56,328 KB |
| 最終ジャッジ日時 | 2024-07-18 07:03:32 |
| 合計ジャッジ時間 | 6,406 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 23 |
ソースコード
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 = Math.max(x,y);
if(x==y && x1==y1 && x1 < x){
res++;
}
return res;
}
}