結果
| 問題 |
No.2109 Special Week
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2022-10-28 22:23:22 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 8 ms / 2,000 ms |
| コード長 | 153 bytes |
| コンパイル時間 | 466 ms |
| コンパイル使用メモリ | 6,812 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2024-07-06 01:33:47 |
| 合計ジャッジ時間 | 1,681 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 37 |
コンパイルメッセージ
Useless use of single ref constructor in void context at Main.pl line 3. Main.pl syntax OK
ソースコード
($m,$d,$k)=glob<>;
for(0..6){
\$a{$_|0}for$m/10,$m%10,$d/10,$d%10;
if(++$d>($m==2?28:2640&1<<$m?30:31)){
$d=1;
$m=$m%12+1;
}
}
print%a<$k?No:Yes;
tails