摘要:
传送门:http://ybt.ssoier.cn:8088/problem_show.php?pid=1192 #include<iostream> using namespace std; #define N 100+10 int m,n,t; int f[N][N];//f[i][j]=i i个 阅读全文
摘要:
传送门:http://noi.openjudge.cn/ch0106/04/描述将一个数组中的值按逆序重新存放。例如,原来的顺序为8,6,5,4,1。要求改为1,4,5,6,8。输入输入为两行:第一行数组中元素的个数n(1 using namespace std; #define N 100+10 int main() { int n,a[N]; cin>>n; for(i... 阅读全文