Commit 8666b7db authored by royus's avatar royus

fix output

parent 32bc68e1
/* 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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment