func_code_string: #include <bits/stdc++.h>   using namespace std;   template <class T>   bool setmax(T &_a, T _b) {     if (_b > _a) {       _a = _b;       return true;     }     return false;   }   template <class T>   bool setmin(T &_a, T _b) {     if (_b < _a) {       _a = _b;       return true;     }     return false;   }   template <class T>   T gcd(T _a, T _b) {     return _b == 0 ? _a : gcd(_b, _a % _b);   }   int a[110][4], n, m;   int main() {     cin >> n >> m;     int cur = 1;     memset(a, 0, sizeof(a));     for (int i = int(1); i <= int(n); ++i) {       if (cur > m) break;       a[i][0] = cur++;       if (cur > m) break;       a[i][3] = cur++;     }     for (int i = int(1); i <= int(n); ++i) {       if (cur > m) break;       a[i][1] = cur++;       if (cur > m) break;       a[i][2] = cur++;     }     vector<int> ans;     for (int i = int(1); i <= int(n); ++i) {       ans.push_back(a[i][1]);       ans.push_back(a[i][0]);       ans.push_back(a[i][2]);       ans.push_back(a[i][3]);     }     for (int x : ans)       if (x > 0) cout << x <<    ;     cout << endl;     return 0;   }   