結果
問題 | No.1850 Rewrite Product |
ユーザー |
![]() |
提出日時 | 2023-07-04 07:51:11 |
言語 | Ruby (3.4.1) |
結果 |
AC
|
実行時間 | 448 ms / 2,000 ms |
コード長 | 210 bytes |
コンパイル時間 | 86 ms |
コンパイル使用メモリ | 7,552 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-07-18 04:35:16 |
合計ジャッジ時間 | 1,622 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 1 |
コンパイルメッセージ
Syntax OK
ソースコード
t=gets.to_it.times{x,y=gets.split(" ").map{|e| e.to_i}ans="Yes"if x==y thenans="Yes"elsif x==1 thenans="No"elsif x<=3 && y>=x thenans="No"elsif x==4 && y>x thenans="No"endputs ans}