結果
問題 | No.1362 [Zelkova 8th Tune] Black Sheep |
ユーザー |
|
提出日時 | 2021-01-24 21:37:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 109 ms / 1,000 ms |
コード長 | 186 bytes |
コンパイル時間 | 228 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,648 KB |
最終ジャッジ日時 | 2024-06-11 15:34:10 |
合計ジャッジ時間 | 4,746 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 38 |
ソースコード
s=input() n=len(s) if s[0]==s[1]: for i in range(n): if s[i]!=s[0]: print(i+1,s[i]) else: if s[0]==s[2]: print(2,s[1]) else: print(1,s[0])