結果
| 問題 | No.1107 三善アクセント |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-14 17:12:43 |
| 言語 | Java (openjdk 26.0.2.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 56 ms / 2,000 ms |
| + 126µs | |
| コード長 | 513 bytes |
| 記録 | |
| コンパイル時間 | 2,016 ms |
| コンパイル使用メモリ | 84,044 KB |
| 実行使用メモリ | 45,816 KB |
| 最終ジャッジ日時 | 2026-08-22 20:29:15 |
| 合計ジャッジ時間 | 5,707 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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");
}
}
}