結果

問題 No.1940 Escape through + -
ユーザー 👑 tails
提出日時 2022-05-18 20:39:16
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 165 ms / 2,000 ms
コード長 56 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 481 ms
コンパイル使用メモリ 6,656 KB
実行使用メモリ 26,624 KB
最終ジャッジ日時 2026-04-06 00:44:35
合計ジャッジ時間 1,990 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge2_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 25
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

($n,$m,$s)=glob<>;
$s-=$_ for glob<>;
print$s%$m?No:Yes;
0