結果
問題 | No.512 魔法少女の追いかけっこ |
ユーザー |
|
提出日時 | 2024-09-18 20:21:11 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 329 bytes |
コンパイル時間 | 34 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 16,000 KB |
最終ジャッジ日時 | 2024-09-18 20:21:15 |
合計ジャッジ時間 | 2,980 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 53 |
ソースコード
(define yuki512(let*((x (read))(y (read))(n (read))(_ (read-line))(a (map string->number (string-split (read-line) #\space)))(flag #t))(do((i 0 (+ i 1)))((= i (- n 1)))(when (> (* y (~ a i)) (* x (~ a (+ i 1)))) (set! flag #f)))(display (if flag "YES\n" "NO\n"))))