Submission #131931


Source Code Expand

#include <stdio.h>

int main(){
	char input[4][4];
	int i;
	
	for(i=3; i<=0; i--){
		scanf("%s %s %s %s", &input[i][3], &input[i][2], &input[i][1], &input[i][0]);
	}
	
	for(i=0; i<4; i++){
		printf("%s %s %s %s\n", input[i][0], input[i][1], input[i][2], input[i][3]);
	}
	
	return 0;
}

Submission Info

Submission Time
Task B - 回転
User taniho_0707
Language C (GCC 4.6.4)
Score 0
Code Size 302 Byte
Status RE
Exec Time 332 ms
Memory 808 KB

Compile Error

./Main.c: In function ‘main’:
./Main.c:12:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘int’ [-Wformat]
./Main.c:12:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat]
./Main.c:12:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat]
./Main.c:12:3: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘int’ [-Wformat]
./Main.c:8:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
RE × 30
Set Name Test Cases
All 00_sample_00.txt, 00_sample_01.txt, 01_all_dot.txt, 02_all_o.txt, 03_all_x.txt, rand_0.txt, rand_1.txt, rand_10.txt, rand_11.txt, rand_12.txt, rand_13.txt, rand_14.txt, rand_15.txt, rand_16.txt, rand_17.txt, rand_18.txt, rand_19.txt, rand_2.txt, rand_20.txt, rand_21.txt, rand_22.txt, rand_23.txt, rand_24.txt, rand_3.txt, rand_4.txt, rand_5.txt, rand_6.txt, rand_7.txt, rand_8.txt, rand_9.txt
Case Name Status Exec Time Memory
00_sample_00.txt RE 332 ms 680 KB
00_sample_01.txt RE 246 ms 676 KB
01_all_dot.txt RE 252 ms 680 KB
02_all_o.txt RE 245 ms 680 KB
03_all_x.txt RE 246 ms 808 KB
rand_0.txt RE 246 ms 804 KB
rand_1.txt RE 246 ms 680 KB
rand_10.txt RE 251 ms 680 KB
rand_11.txt RE 247 ms 804 KB
rand_12.txt RE 246 ms 808 KB
rand_13.txt RE 248 ms 676 KB
rand_14.txt RE 255 ms 804 KB
rand_15.txt RE 264 ms 676 KB
rand_16.txt RE 266 ms 792 KB
rand_17.txt RE 247 ms 800 KB
rand_18.txt RE 244 ms 808 KB
rand_19.txt RE 244 ms 804 KB
rand_2.txt RE 252 ms 800 KB
rand_20.txt RE 245 ms 680 KB
rand_21.txt RE 250 ms 796 KB
rand_22.txt RE 245 ms 672 KB
rand_23.txt RE 252 ms 680 KB
rand_24.txt RE 247 ms 672 KB
rand_3.txt RE 241 ms 804 KB
rand_4.txt RE 239 ms 676 KB
rand_5.txt RE 239 ms 800 KB
rand_6.txt RE 246 ms 680 KB
rand_7.txt RE 249 ms 676 KB
rand_8.txt RE 251 ms 804 KB
rand_9.txt RE 253 ms 680 KB