結果
| 問題 | No.1362 [Zelkova 8th Tune] Black Sheep |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-01-23 10:26:01 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 52 ms / 1,000 ms |
| + 635µs | |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 81,744 KB |
| 実行使用メモリ | 83,748 KB |
| 最終ジャッジ日時 | 2026-10-09 13:46:53 |
| 合計ジャッジ時間 | 3,571 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 38 |
ソースコード
from collections import Counter
s = input()
d = list(Counter(s).items())
if d[0][1] == 1:
x = d[0][0]
else:
x = d[1][0]
print(s.index(x)+1, x)
convexineq