动态数组
http://blog.csdn.net/bigloomy/article/details/6615012
http://blog.csdn.net/hondely/article/details/6779887
蓝桥杯上的动态数组的题
关于这个http://blog.csdn.net/qq_30076791/article/details/50468176的解释:
https://segmentfault.com/q/1010000006672117
用Code Blocks:
#include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int a[n];
for(int i=0;i<n;i++)
cin>>a[i];
for(int i=0;i<n;i++)
cout<<a[i]<<" ";
return 0;
}