c++
~~~\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector& nums) {\n        long long n=nums.size(),ans=0;\n        for(int i=0;i<n/2;i++)\n     
~~~\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        long long n=nums.size(),ans=0;\n        for(int i=0;i<n/2;i++)\n        {\n            string s1=to_string(nums[i]);\n            string s2=to_string(nums[n-i-1]);\n            s1=s1+s2;\n            cout<<s1<<endl;\n            ans+=stoi(s1);\n        }\n        if(n%2!=0) \n        {\n            ans+=nums[n/2];\n        }\n        return ans;\n    }\n};
['C']