結果

問題 No.236 鴛鴦茶
ユーザー yusakayusaka
提出日時 2015-09-22 15:33:00
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 18 ms / 2,000 ms
コード長 221 bytes
コンパイル時間 101 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 12,104 KB
最終ジャッジ日時 2023-09-10 21:56:07
合計ジャッジ時間 2,170 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
11,912 KB
testcase_01 AC 17 ms
11,940 KB
testcase_02 AC 17 ms
11,852 KB
testcase_03 AC 17 ms
11,824 KB
testcase_04 AC 17 ms
11,872 KB
testcase_05 AC 18 ms
11,836 KB
testcase_06 AC 18 ms
11,804 KB
testcase_07 AC 18 ms
12,048 KB
testcase_08 AC 18 ms
11,924 KB
testcase_09 AC 18 ms
11,916 KB
testcase_10 AC 18 ms
12,096 KB
testcase_11 AC 18 ms
11,992 KB
testcase_12 AC 18 ms
12,104 KB
testcase_13 AC 17 ms
11,860 KB
testcase_14 AC 18 ms
12,016 KB
testcase_15 AC 17 ms
11,976 KB
testcase_16 AC 18 ms
11,968 KB
testcase_17 AC 17 ms
11,960 KB
testcase_18 AC 18 ms
11,832 KB
testcase_19 AC 18 ms
11,832 KB
testcase_20 AC 18 ms
11,812 KB
testcase_21 AC 18 ms
11,992 KB
testcase_22 AC 18 ms
11,916 KB
testcase_23 AC 18 ms
11,844 KB
testcase_24 AC 17 ms
11,876 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env gosh
(let ((a (read))
      (b (read))
      (x (read))
      (y (read)))
  (if (< (* (/ b a) x) y)
      (display (inexact (+ x (* (/ b a) x))))
      (display (inexact (+ y (* (/ a b) y)))))
  (newline))
0