結果
問題 |
No.1940 Escape through + -
|
ユーザー |
![]() |
提出日時 | 2022-07-12 13:11:51 |
言語 | Scheme (Gauche-0.9.15) |
結果 |
AC
|
実行時間 | 133 ms / 2,000 ms |
コード長 | 133 bytes |
コンパイル時間 | 31 ms |
コンパイル使用メモリ | 5,120 KB |
実行使用メモリ | 23,936 KB |
最終ジャッジ日時 | 2024-06-23 09:03:28 |
合計ジャッジ時間 | 2,399 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 25 |
ソースコード
(use srfi-1) (let* [[N (read)][M (read)]] (print (if (zero? (mod (fold + (- (read)) (list-tabulate N (^_ (read)))) M)) 'Yes 'No)))