結果
問題 |
No.1362 [Zelkova 8th Tune] Black Sheep
|
ユーザー |
![]() |
提出日時 | 2025-03-30 15:08:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 138 ms / 1,000 ms |
コード長 | 243 bytes |
コンパイル時間 | 396 ms |
コンパイル使用メモリ | 12,288 KB |
実行使用メモリ | 11,264 KB |
最終ジャッジ日時 | 2025-03-30 15:08:10 |
合計ジャッジ時間 | 5,354 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 38 |
ソースコード
def fun(s): dic = dict() for c in s: if c not in dic: dic[c] = 1 else: dic[c] += 1 for i, c in enumerate(s): if dic[c] == 1: return 1 + i, c s = input() print(*fun(s))