动态数组

mac2022-06-30  111

动态数组

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;

}

http://blog.csdn.net/wr132/article/details/43121761

转载于:https://www.cnblogs.com/AquamarineOnly/p/6431032.html

最新回复(0)