結果

問題 No.2715 Unique Chimatagram
コンテスト
ユーザー 👑 tails
提出日時 2024-04-05 21:29:21
言語 Perl
(5.42.1)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 129 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 543 ms
コンパイル使用メモリ 6,784 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2026-04-17 02:18:13
合計ジャッジ時間 3,014 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 40
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "a" may clash with future reserved word at Main.pl line 4.
Unquoted string "z" may clash with future reserved word at Main.pl line 4.
Main.pl syntax OK

ソースコード

diff #
raw source code

<>;
for(<>){
	@a=/./g;
	for$c(a..z){
		$h{join"",sort@a,$c}+=1;
	}
}
for(keys%h){
	if($h{$_}==1){
		print;
		exit;
	}
}
print-1;
0