結果
| 問題 |
No.1107 三善アクセント
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-14 17:12:43 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 133 ms / 2,000 ms |
| コード長 | 513 bytes |
| コンパイル時間 | 2,446 ms |
| コンパイル使用メモリ | 74,884 KB |
| 実行使用メモリ | 54,428 KB |
| 最終ジャッジ日時 | 2024-07-22 02:56:06 |
| 合計ジャッジ時間 | 8,144 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int A1 = sc.nextInt();
int A2 = sc.nextInt();
int A3 = sc.nextInt();
int A4 = sc.nextInt();
if(A1 < A2 && A3 > A4){
System.out.println("YES");
}else if(A3 < A4){
System.out.println("NO");
}else{
System.out.println("NO");
}
}
}