結果
問題 | No.1362 [Zelkova 8th Tune] Black Sheep |
ユーザー |
![]() |
提出日時 | 2021-02-07 09:47:28 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 67 ms / 1,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 90 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2024-07-03 22:47:19 |
合計ジャッジ時間 | 2,793 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 38 |
ソースコード
S = input() s1 = S[0] s2 = "" for i in S: if i != s1: s2 = i break if S.count(s1) == 1: print(S.index(s1)+1,s1) if S.count(s2) == 1: print(S.index(s2)+1,s2)