結果

問題 No.1934 Four Fruits
ユーザー n_getn_get
提出日時 2022-07-12 12:34:19
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 210 bytes
コンパイル時間 50 ms
コンパイル使用メモリ 5,292 KB
実行使用メモリ 12,160 KB
最終ジャッジ日時 2023-09-05 12:37:17
合計ジャッジ時間 1,452 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
12,160 KB
testcase_01 AC 18 ms
12,004 KB
testcase_02 WA -
testcase_03 AC 18 ms
12,072 KB
testcase_04 AC 18 ms
12,088 KB
testcase_05 AC 19 ms
11,968 KB
testcase_06 AC 19 ms
12,076 KB
testcase_07 AC 19 ms
11,892 KB
testcase_08 WA -
testcase_09 AC 18 ms
11,952 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-1)
(let1 ls (sort (list-tabulate 3 (^_ (read))))
      (print (cond [(apply = ls) (car ls)]
                   [(apply < ls) (- 6 (apply + ls))]
                   [else (- (apply + ls) (cadr ls))])))
0