1 条题解

  • 2
    @ 2024-3-24 8:43:00
    #include <iostream>
    
    using namespace std;
    
    int a[1000] = {5,1,2,3,4};
    
    int main(){
        for (int i = 0; i < 10; i++){
            a[i + 5] = a[i];
            cout << i + 1 << ": ";
            for (int  j = i + 1; j <= i + 5; j ++) cout << a[j] << ' ';
            cout << endl;
        }
      
        return 0;
    }
    

    信息

    ID
    12
    时间
    1000ms
    内存
    64MiB
    难度
    5
    标签
    递交数
    161
    已通过
    65
    上传者