CPP | Easy solution with string conversion
\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        int n=nums.size();double ans=0;\n        for(int i=0;i<n/2;i++){\n 
```\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        int n=nums.size();double ans=0;\n        for(int i=0;i<n/2;i++){\n            string res="";\n            res+=to_string(nums[i])+to_string(nums[n-i-1]);\n            ans+=stoi(res); \n        }\n         if(n % 2 == 1){\n            ans += nums[n/2];\n          }\n        return ans;\n    }\n};\n```
['String']