結果

問題 No.159 刺さらないUSB
ユーザー RinRin
提出日時 2015-09-04 19:29:10
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 1,000 ms
コード長 297 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 5,324 KB
実行使用メモリ 13,700 KB
最終ジャッジ日時 2023-09-14 16:42:34
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 18 ms
11,652 KB
testcase_01 AC 20 ms
11,796 KB
testcase_02 AC 19 ms
11,560 KB
testcase_03 AC 19 ms
11,792 KB
testcase_04 AC 19 ms
11,604 KB
testcase_05 AC 19 ms
11,784 KB
testcase_06 AC 19 ms
11,600 KB
testcase_07 AC 19 ms
11,560 KB
testcase_08 AC 19 ms
13,700 KB
testcase_09 AC 18 ms
11,624 KB
testcase_10 AC 18 ms
11,620 KB
testcase_11 AC 18 ms
11,536 KB
testcase_12 AC 18 ms
11,760 KB
testcase_13 AC 19 ms
11,672 KB
testcase_14 AC 19 ms
11,700 KB
testcase_15 AC 19 ms
11,676 KB
testcase_16 AC 19 ms
11,772 KB
testcase_17 AC 19 ms
11,676 KB
testcase_18 AC 18 ms
11,532 KB
testcase_19 AC 19 ms
11,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(define (System.out.println x)
  (begin
    (display x)
    (newline)
  )
)

(let (
      (p (read))
      (q (read))
     )
  (let (
        (p1 (* (- 1 p) q))
        (p2 (* p (- 1 q) q))
       )
    (if (< p1 p2)
        (System.out.println "YES")
        (System.out.println "NO")
    )
  )
)
0