結果
| 問題 |
No.1107 三善アクセント
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-21 22:14:00 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 145 ms / 2,000 ms |
| コード長 | 332 bytes |
| コンパイル時間 | 2,317 ms |
| コンパイル使用メモリ | 74,496 KB |
| 実行使用メモリ | 54,328 KB |
| 最終ジャッジ日時 | 2024-12-31 10:02:34 |
| 合計ジャッジ時間 | 7,127 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int num=0;
if(sc.nextInt()<sc.nextInt())num++;
if(sc.nextInt()>sc.nextInt())num++;
if(num>1)System.out.println("YES");
else System.out.println("NO");
sc.close();
return;
}
}