結果
| 問題 |
No.1850 Rewrite Product
|
| コンテスト | |
| ユーザー |
ripity
|
| 提出日時 | 2022-02-25 21:26:51 |
| 言語 | Java (openjdk 23) |
| 結果 |
AC
|
| 実行時間 | 1,157 ms / 2,000 ms |
| コード長 | 590 bytes |
| コンパイル時間 | 2,432 ms |
| コンパイル使用メモリ | 75,208 KB |
| 実行使用メモリ | 69,524 KB |
| 最終ジャッジ日時 | 2024-07-03 16:05:46 |
| 合計ジャッジ時間 | 3,721 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 1 |
ソースコード
import java.util.*;
import java.io.*;
public class Main {
public static Scanner sc = new Scanner(System.in);
public static PrintWriter pw = new PrintWriter(System.out);
public static void main(String[] args) {
int t = sc.nextInt();
while( t > 0 ) {
solve();
t--;
}
pw.flush();
}
static void solve() {
int X = sc.nextInt();
int Y = sc.nextInt();
if( X <= 4 && X < Y ) pw.println("No");
else pw.println("Yes");
}
}
ripity