結果
問題 | No.1994 Confusing Name |
ユーザー |
![]() |
提出日時 | 2022-07-01 21:30:20 |
言語 | Perl (5.40.0) |
結果 |
AC
|
実行時間 | 944 ms / 2,000 ms |
コード長 | 105 bytes |
コンパイル時間 | 236 ms |
コンパイル使用メモリ | 7,072 KB |
実行使用メモリ | 72,064 KB |
最終ジャッジ日時 | 2024-11-26 03:58:37 |
合計ジャッジ時間 | 13,095 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 28 |
コンパイルメッセージ
Useless use of non-destructive substitution (s///r) in void context at Main.pl line 4. Useless use of non-destructive substitution (s///r) in void context at Main.pl line 8. Main.pl syntax OK
ソースコード
<>;@s=<>;for(@s){s/./++$h{$`.A.$'}/ger;}for(@s){$n=0;s/./$n+=$h{$`.A.$'}-1/ger;print$n,$/;}