Commit be1a73e6 authored by royus's avatar royus

fix output

parent 102ed724
/* io.c */
/* Last Change: 2019/06/02 (Sun) 23:28:03. */
/* Last Change: 2019/06/02 (Sun) 23:53:02. */
#include<stdio.h>
#include"io.h"
......@@ -101,7 +101,7 @@ void print_answer(void){
printf("SIZE %dX%d\n",w,h);
for(i=0;i<h;i++){
for(j=0;j<w;j++){
printf("%d",board_data[i][j]);
printf("%d",board_data[j][i]);
if(j==h-1)
printf("\n");
else
......
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