結果

問題 No.1940 Escape through + -
ユーザー n_get
提出日時 2022-07-12 13:11:04
言語 Scheme
(Gauche-0.9.15)
コンパイル:
true
実行:
gosh _filename_
結果
WA  
実行時間 -
コード長 129 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 475 ms
コンパイル使用メモリ 8,100 KB
実行使用メモリ 24,192 KB
最終ジャッジ日時 2026-03-08 02:30:44
合計ジャッジ時間 3,039 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 14 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

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