Last active
February 27, 2016 08:20
-
-
Save TheoKlein/2867c011378713051b83 to your computer and use it in GitHub Desktop.
ZeroJudge_a015_C
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| int main (){ | |
| int row; | |
| int column; | |
| int array[100][100]; | |
| while(scanf("%d%d",&row,&column)!=EOF){ | |
| int x,k,y,t; | |
| for(x = 0 ; x < row ; x++){ | |
| for(k = 0 ; k < column ; k++) | |
| scanf("%d",&array[x][k]); | |
| } | |
| for( y = 0 ; y <column ; y++){ | |
| for(t = 0 ; t < row ; t++) | |
| printf("%d ",array[t][y]); | |
| printf("\n"); | |
| } | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment