Submission #131930


Source Code Expand

#include<stdio.h>

int main()
{
	int i,j;
	char s[11][11];
	for(i=0;i<4;i++)
		gets(s[i]);
	for(int i=3;i>=0;puts(""),i--)
		for(j=7;j>=0;j--)
			printf("%c",s[i][j]);
	return 0;
}

Submission Info

Submission Time
Task B - 回転
User Iceman0
Language C (GCC 4.6.4)
Score 0
Code Size 192 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:9:10: error: redeclaration of ‘i’ with no linkage
./Main.c:5:6: note: previous declaration of ‘i’ was here
./Main.c:9:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
./Main.c:9:2: note: use option -std=c99 or -std=gnu99 to compile your code
./Main.c:8:7: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]