結果

問題 No.643 Two Operations No.2
ユーザー n_getn_get
提出日時 2022-07-04 14:03:33
言語 Scheme
(Gauche-0.9.14)
結果
AC  
実行時間 20 ms / 2,000 ms
コード長 196 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 5,300 KB
実行使用メモリ 11,888 KB
最終ジャッジ日時 2023-08-20 20:53:51
合計ジャッジ時間 1,232 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
11,660 KB
testcase_01 AC 18 ms
11,652 KB
testcase_02 AC 18 ms
11,848 KB
testcase_03 AC 17 ms
11,864 KB
testcase_04 AC 18 ms
11,772 KB
testcase_05 AC 18 ms
11,888 KB
testcase_06 AC 20 ms
11,660 KB
testcase_07 AC 18 ms
11,872 KB
testcase_08 AC 19 ms
11,656 KB
testcase_09 AC 18 ms
11,840 KB
testcase_10 AC 18 ms
11,728 KB
testcase_11 AC 18 ms
11,652 KB
testcase_12 AC 19 ms
11,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

(let* [[x (read)][y (read)]]
      (print (cond [(= x y) 0]
                   [(zero? (+ x y)) 3]
                   [(zero? y) 1]
                   [(zero? x) 2]
                   [else -1])))
0