C++ || simple to_string() use
\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        long long ans=0;\n        for(int i=0,j=nums.size()-1;i<nums.size()
```\nclass Solution {\npublic:\n    long long findTheArrayConcVal(vector<int>& nums) {\n        long long ans=0;\n        for(int i=0,j=nums.size()-1;i<nums.size()/2;i++,j--){\n            string s = to_string(nums[i])+to_string(nums[j]);\n            ans += stoll(s);\n        }\n        if(nums.size()%2==1) ans += nums[nums.size()/2];\n        return ans;\n    }\n};\n```
['C', 'C++']