Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
128969 | fkccf | 数组元素前移 | C++ | 通过 | 100 | 0 MS | 244 KB | 460 | 2024-01-26 14:33:50 |
#include<bits/stdc++.h> #define _(e...) ({e;}) #define x(a,e...) _(auto x=a;e) #define $(a,e...) if(a){e;}else #define i(n,e...) {int $n=n;int i=0;for(;i<$n;++i){e;}} #define DBG(a...) //_(a) using I=int; #define dg isdigit(c=getchar()) I rd(){int c;while(!dg);I x=c-'0';while(dg)x=x*10+c-'0';return x;} const I N=110;int a[N]; int main(){I n=rd();for(I i=1;i<=n;i++)a[i]=rd(); for(I i=2;i<=n;i++)printf("%d\n",a[i]);printf("%d\n",a[1]); return 0;}