版本比较
题解P8708,stoll函数和to_string函数
正文
增加 2 行删除 2 行
2 行未改动34567789101135 行未改动4748495051515253545526 行未改动2 行未改动# 题意给出一个长度为的数组A 1,A 2,⋯,A n。可以从中两个数 和 ,然后拼接起来。# 什么是 stoll 函数 stoll 的功能是将字符串转化为 ```long long```类型的整数。
示例。 ```cpp#include<bits/stdc++.h>using namespace std;35 行未改动最后附上代码~~```cpp#include<bits/stdc++.h>using namespace std;int a[10000005]; int a[10000005];int main(){ int n,k,ans=0; cin>>n>>k;26 行未改动