結果
| 問題 | No.1362 [Zelkova 8th Tune] Black Sheep |
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-12-15 18:09:58 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 271 bytes |
| 記録 | |
| コンパイル時間 | 597 ms |
| コンパイル使用メモリ | 94,000 KB |
| 実行使用メモリ | 11,808 KB |
| 最終ジャッジ日時 | 2026-06-16 00:13:42 |
| 合計ジャッジ時間 | 3,696 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 TLE * 1 -- * 24 |
ソースコード
//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;
}
Kazun