結果
問題 |
No.1362 [Zelkova 8th Tune] Black Sheep
|
ユーザー |
👑 ![]() |
提出日時 | 2020-12-15 18:09:58 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 271 bytes |
コンパイル時間 | 578 ms |
コンパイル使用メモリ | 70,708 KB |
最終ジャッジ日時 | 2025-01-17 01:07:28 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 16 TLE * 22 |
ソースコード
//TLE想定 #include<iostream> #include<algorithm> #include<string> using namespace std; int main() { string S; cin >> S; for (int i=0;i<S.size();i++){ if (count(S.begin(),S.end(),S[i])==1){ cout << i+1 << " " << S[i] << endl; } } return 0; }