func_code_string: #include <bits/stdc++.h>   using namespace std;   int main() {     ios::sync_with_stdio(0);     cin.tie(0);     cout.tie(0);     cerr <<  Time :   << 1000 * ((double)clock()) / (double)CLOCKS_PER_SEC          <<  ms n ;     string s;     cin >> s;     int l = 0, r = s.length() - 1;     int cnt = 0;     set<int> s1;     while (l < r) {       if (s[l] ==  ( ) {         while (l < r && s[r] ==  ( ) {           r--;         }         if (s[r] ==  ) ) {           cnt = 1;           s1.insert(l + 1);           s1.insert(r + 1);         }       } else if (s[r] ==  ) ) {         while (l < r && s[l] ==  ) ) {           l++;         }         if (s[l] ==  ( ) {           cnt = 1;           s1.insert(l + 1);           s1.insert(r + 1);         }       }       l++;       r--;     }     cout << cnt <<   n ;     if (cnt) {       cout << s1.size() <<   n ;       for (auto it = s1.begin(); it != s1.end(); it++) {         cout << *it <<    ;       }     }     return 0;   }   