結果

問題 No.1940 Escape through + -
ユーザー n_get
提出日時 2022-07-12 13:11:04
言語 Scheme
(Gauche-0.9.15)
結果
WA  
実行時間 -
コード長 129 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 24,064 KB
最終ジャッジ日時 2024-06-23 09:02:13
合計ジャッジ時間 3,142 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 14 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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