結果

問題 No.1940 Escape through + -
ユーザー n_getn_get
提出日時 2022-07-12 13:11:04
言語 Scheme
(Gauche-0.9.14)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 44 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 19,828 KB
最終ジャッジ日時 2023-09-05 13:23:21
合計ジャッジ時間 3,427 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
12,936 KB
testcase_01 AC 25 ms
12,968 KB
testcase_02 AC 25 ms
13,088 KB
testcase_03 WA -
testcase_04 AC 26 ms
13,080 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 26 ms
13,076 KB
testcase_09 AC 26 ms
13,044 KB
testcase_10 WA -
testcase_11 AC 26 ms
12,984 KB
testcase_12 AC 26 ms
12,920 KB
testcase_13 WA -
testcase_14 AC 26 ms
13,076 KB
testcase_15 AC 26 ms
12,896 KB
testcase_16 AC 26 ms
13,068 KB
testcase_17 WA -
testcase_18 AC 27 ms
12,928 KB
testcase_19 WA -
testcase_20 AC 39 ms
14,124 KB
testcase_21 AC 40 ms
13,888 KB
testcase_22 AC 39 ms
13,924 KB
testcase_23 WA -
testcase_24 AC 120 ms
17,860 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 108 ms
17,568 KB
testcase_28 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

(use srfi-1)
(let* [[N (read)][M (read)]]
  (print (if (zero? (mod (fold + (read) (list-tabulate N (^_ (read)))) M)) 'Yes 'No)))
0