| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 137114 | 杨博煊 | 数组元素前移 | C++ | Accepted | 100 | 0 MS | 240 KB | 201 | 2024-03-09 17:34:39 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[10000],i,n,j,t; cin>>n; for(i = 0;i < n;i++){ cin>>a[i]; } a[n] = a[0]; for(i = 1;i <= n;i++){ cout<<a[i]<<" "; } }