結果
問題 | No.1850 Rewrite Product |
ユーザー | ripity |
提出日時 | 2022-02-25 21:26:51 |
言語 | Java21 (openjdk 21) |
結果 |
AC
|
実行時間 | 1,093 ms / 2,000 ms |
コード長 | 590 bytes |
コンパイル時間 | 2,005 ms |
コンパイル使用メモリ | 71,152 KB |
実行使用メモリ | 62,664 KB |
最終ジャッジ日時 | 2023-09-16 16:02:52 |
合計ジャッジ時間 | 3,998 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 127 ms
55,732 KB |
testcase_01 | AC | 1,093 ms
62,664 KB |
ソースコード
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"); } }