CCF计算机职业资格认证考试题解系列文章为meelo原创,请务必以连接形式注明本文地址html
C数组
#include <stdio.h> int a[1000][1000]; int main() { int N, M; scanf("%d%d", &N, &M); for(int n=0; n<N; n++) { for(int m=0; m<M; m++) { scanf("%d", &a[n][m]); } } for(int m=M-1; m>=0; m--) { for(int n=0; n<N; n++) { printf("%d ", a[n][m]); } printf("\n"); } }