Commit 8666b7db authored by royus's avatar royus
Browse files

fix output

parent 32bc68e1
Loading
Loading
Loading
Loading
+3 −3
Changes for io.c: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
/* io.c */
/* Last Change: 2019/05/25 (Sat) 18:11:46. */
/* Last Change: 2019/06/02 (Sun) 23:28:03. */

#include<stdio.h>
#include"io.h"
@@ -95,8 +95,8 @@ void print_answer(void){
	printf("\n --ANSWER-- \n"); //comment out this row
	int i,j;
	printf("SIZE %dX%d\n",w,h);
	for(i=0;i<w;i++){
		for(j=0;j<h;j++){
	for(i=0;i<h;i++){
		for(j=0;j<w;j++){
			printf("%d",board_data[i][j]);
			if(j==h-1)
				printf("\n");