criyle/codenet-compile-errors huggingface dataset:
Language: C

#include<stdio.h>
int main()
{
    int a,b,i;
    for(;;)
    {
        scanf("%d %d",&a,&b);
        for(j=1;j<a){
        for(i=1;i<b;i++){
            printf("#");
        }
        printf("#\n");
        }
        printf("\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: 'j' undeclared (first use in this function)
    8 |         for(j=1;j<a){
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:20: error: expected ';' before ')' token
    8 |         for(j=1;j<a){
      |                    ^
      |                    ;
Language: C

#include<stdio.h>
int main()
{
    int a,b,i,j;
    for(;;)
    {
        if(a==0 && b==0){
            break;
        }
        else if{
            scanf("%d %d",&a,&b);
            for(j=1;j<a;j++){
            for(i=1;i<b;i++){
            printf("#");
            }
            printf("#\n");
            }
            printf("\n");
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:16: error: expected '(' before '{' token
   10 |         else if{
      |                ^
      |                (
Language: C

#include<stdio.h>
int main()
{
    int a,b,i,j;
    for(;;)
    {
        scanf("%d %d",&a,&b);
        if(a==0 && b==0){
            break;
        }
        else if{
            for(j=1;j<=a;j++){
            for(i=1;i<b;i++){
            printf("#");
            }
            printf("#\n");
            }
            printf("\n");
        }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:16: error: expected '(' before '{' token
   11 |         else if{
      |                ^
      |                (
Language: C

#include <stdio.h>

int flag,counter;
int a, b,c,d;


int main(void) {
	scanf_s("%d", &a);
	scanf_s("%d", &b);
	for (c = 0;c < a;c++) {
		for (d = 0;d < b;d++) {
			putchar('#');
		}
		putchar('\n');
	}
	while (1);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    8 |         scanf_s("%d", &a);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int flag,counter;
int a, b,c,d;


int main(void) {
	scanf_s("%d", &a);
	scanf_s("%d", &b);
	for (c = 0;c < a;c++) {
		for (d = 0;d < b;d++) {
			putchar('#');
		}
		putchar('\n');
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    8 |         scanf_s("%d", &a);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int flag,counter;
int a, b,c,d;


int main(void) {
	while (1) {
		scanf_s("%d", &a);
		scanf_s("%d", &b);
		for (c = 0;c < a;c++) {
			for (d = 0;d < b;d++) {
				putchar('#');
			}
			putchar('\n');
		}
		putchar('\n');
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:17: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 |                 scanf_s("%d", &a);
      |                 ^~~~~~~
      |                 scanf
Language: C

#include<stdio.h>


int main(void)
{	int i,j,h,w;
	scanf("%d %d",&h,&w);
	while(h != 0 && w != 0){
	for(i=0;i<h;i++){
	for(j=0;j<w;j++){printf("#");}
	printf("\n");}
	printf("\n")
	scanf("%d %d",&h,&w)
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:21: error: expected ';' before 'scanf'
   11 |         printf("\n")
      |                     ^
      |                     ;
   12 |         scanf("%d %d",&h,&w)
      |         ~~~~~
Language: C

#include<stdio.h>
int main()
{
	int i, j;
	int H, W;
	
	
    scanf("%d%d", &H, &W);

	while (H != 0 || W != 0) {
		for (i = 0; i < H; i++) {
			for (j = 0; j < W; j++) {
				printf("#");
			}printf("\n");
		}
		printf("\n");
		ascanf("%d%d", &H, &W);
	}


}

Compiler output:
main.c: In function 'main':
main.c:17:17: error: implicit declaration of function 'ascanf'; did you mean 'vscanf'? [-Wimplicit-function-declaration]
   17 |                 ascanf("%d%d", &H, &W);
      |                 ^~~~~~
      |                 vscanf
Language: C

#include<stdio.h>
int main(void){
	int a,b,i,j;
	while(1){
		scanf("%d %d",&a,&b);
		if(a==0 || b==0) break;
		for(i=0;i<a;i++){
			for(j=0;j<b;j++){
				printf("#");
			}
			printf("\n");
		}
	}
	printf(\n)
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:16: error: stray '\' in program
   14 |         printf(\n)
      |                ^
main.c:14:17: error: 'n' undeclared (first use in this function)
   14 |         printf(\n)
      |                 ^
main.c:14:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:19: error: expected ';' before 'return'
   14 |         printf(\n)
      |                   ^
      |                   ;
   15 |         return 0;
      |         ~~~~~~
Language: C

#include<stdio.h>
int main(void){
	int a,b,i,j;
	while(1){
		scanf("%d %d",&a,&b);
		if(a==0 || b==0) break;
		for(i=0;i<a;i++){
			for(j=0;j<b;j++){
				printf("#");
			}
			printf("\n");
		}
	}
	printf(\n);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:16: error: stray '\' in program
   14 |         printf(\n);
      |                ^
main.c:14:17: error: 'n' undeclared (first use in this function)
   14 |         printf(\n);
      |                 ^
main.c:14:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main(void){
	
	int H,W;

	while(1){
		scanf("%d %d",H,W);
		if(H==0 &&W==0)break;

		for(i=0;i<H;i++){

			for(j=0;j<W;j++){
				printf("#");
			}
		printf("\n");
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:21: error: 'i' undeclared (first use in this function)
   11 |                 for(i=0;i<H;i++){
      |                     ^
main.c:11:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:29: error: 'j' undeclared (first use in this function)
   13 |                         for(j=0;j<W;j++){
      |                             ^
Language: C

#include<stdio.h>

int main(void){
	
	int H,W;
	int i,j;

	scanf("%d %d",&H,&W);
	if(H==0 && W==0)break;

	for(i=0;i<H;i++){

		for(j=0;j<W;j++){
			printf("#");
		}
		printf("\n");
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:25: error: break statement not within loop or switch
    9 |         if(H==0 && W==0)break;
      |                         ^~~~~
Language: C

#include <stdio.h>
int main(void)
{
	int i,j,h,w;
	while(1){
		scanf("%d %d",h,w);
		if(h=0 && w==0) break;
		for(i=0;i<h;i++){
			for(j=0;j<w;j++){
				printf("#");
			}
			printf("\n"):
		}
		printf("\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:37: error: expected ';' before ':' token
   12 |                         printf("\n"):
      |                                     ^
      |                                     ;
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
{
	int i,j,h,w;
	while(1){
		scanf("%d %d",h,w);
		if(h=0 && w==0) break;
		for(i=0;i<h;i++){
			for(j=0;j<w;j++){
				printf("#");
			}
			printf("\n");
		}
		printf("\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
{
	int i,j,h,w;
	while(1){
		scanf("%d %d",h,w);
		if(h=0 && w==0) break;
		for(i=0;i<h;i++){
			for(j=0;j<w;j++){
				printf("#");
			}
			printf("\n"):
		}
		printf("\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:12:37: error: expected ';' before ':' token
   12 |                         printf("\n"):
      |                                     ^
      |                                     ;
Language: C

#include <stdio.h>

int main()
{
	int h,w;
	
	scantf("%d %d",&h,&w);
	for (h=0; h<h; h++) {
		for (w=0; w<w; w++) {
			printf("#");
		}
		printf("\n");
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scantf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scantf("%d %d",&h,&w);
      |         ^~~~~~
      |         scanf
Language: C

#include<stdio.h>

int main(){
  int H,W,i,k;

  while(1){
    scanf("%d %d",&H,&W);
    if(H==0 && W==0){
      brek;
    }
    else{
      for(i=0; i<H; i++){
	for(k=0; k<W; k++){
	  printf("#");
	}
	printf("\n");
      }
  }

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:7: error: 'brek' undeclared (first use in this function)
    9 |       brek;
      |       ^~~~
main.c:9:7: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:1: error: expected declaration or statement at end of input
   21 | }
      | ^
Language: C

#include <stdio.h>

int main(void)
{
	int H,W,a,b,c;
	while(1){
	scanf("%d %d",&H,&W);
	if(H==0 && W==0){break;}
	for(a=1;a<=H;a++){
	for(b=1;b<=W;b++){
	printf("#");
	}
	printf("\n");
	}
	}
	return 0;

Compiler output:
main.c: In function 'main':
main.c:16:9: error: expected declaration or statement at end of input
   16 |         return 0;
      |         ^~~~~~
Language: C

#include<stdio.h>
int main() {
	int i, j, H, W;
	while (1) {
		scanf("%d %d", &H, &W);
		if (H == 0 && W == 0) {
			break;
		}
		else if () {
			for (i = 0;i < H;i++) {
				for (j = 0;j < W;j++) {
					printf("#");
				}
				printf("\n");
			}
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:26: error: expected expression before ')' token
    9 |                 else if () {
      |                          ^
Language: C

#include<stdio.h>
int main() {
	int i, j, H, W;
	while (1) {
		scanf("%d %d", &H, &W);
		if (H == 0 && W == 0) {
			break;
		}
		else (!(H == 0 && W == 0)) {
			for (i = 0;i < H;i++) {
				for (j = 0;j < W;j++) {
					printf("#");
				}
				printf("\n");
			}
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:43: error: expected ';' before '{' token
    9 |                 else (!(H == 0 && W == 0)) {
      |                                           ^~
      |                                           ;
Language: C

#include <stdio.h>


int main(void)
{

  int height, width;
  
  
  
  int i,j;
  
  do{
  
  scanf("%d %d", &height, &width);
  
    for( i = 0; i < height; i++ ){
      for( j = 0; j < width; j ++ ){
        printf("#");
      }
    
      printf("\n")
  
    }
    
    printf("\n");
    
  }while( height || width );
 
  return 0;    
 
}  

Compiler output:
main.c: In function 'main':
main.c:22:19: error: expected ';' before '}' token
   22 |       printf("\n")
      |                   ^
      |                   ;
   23 | 
   24 |     }
      |     ~
Language: C

#include <stdio.h>

int main(void){
  int H,W,i,j;

  scanf("%d %d",&H,&W);
 while( H != 0 || W !=0){
 for( j=1 ; j<=H ; j++){
  for( i=1 ; i<=W ; i++){

  printf("#");
 }
  printf("\n");
 }
  scanf("%d %d",&H,&W);
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
int H,W,i;
while(1){
scanf("%d %d",&W ,&H);
if (W == 0 && H == 0)break;
for(i=1;i < H;i++){
for(i=1;i < W;i++){
if (i == W){
printf("#\n");
}
printf("#");
}
}
}
rerurn 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: 'rerurn' undeclared (first use in this function)
   17 | rerurn 0;
      | ^~~~~~
main.c:17:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:7: error: expected ';' before numeric constant
   17 | rerurn 0;
      |       ^~
      |       ;
Language: C

#include <stdio.h>

inta main(void)
{
  int H = 0;
  int W = 0;
  int i, j;

  sacanf ("%d %d", &H, &W);

  for(i = 0; i < H; i++){
    for(j = 0; j < W; j++)
      putchar('#');

    putchar('\n');
  }
  
  return 0;
}  

Compiler output:
main.c:3:1: error: unknown type name 'inta'; did you mean 'int'?
    3 | inta main(void)
      | ^~~~
      | int
main.c: In function 'main':
main.c:9:3: error: implicit declaration of function 'sacanf'; did you mean 'sscanf'? [-Wimplicit-function-declaration]
    9 |   sacanf ("%d %d", &H, &W);
      |   ^~~~~~
      |   sscanf
Language: C

#include <stdio.h>

int main(void)
{
  int H = 0;
  int W = 0;
  int i, j;

  sacanf ("%d %d", &H, &W);

  for(i = 0; i < H; i++){
    for(j = 0; j < W; j++)
      putchar('#');

    putchar('\n');
  }
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:3: error: implicit declaration of function 'sacanf'; did you mean 'sscanf'? [-Wimplicit-function-declaration]
    9 |   sacanf ("%d %d", &H, &W);
      |   ^~~~~~
      |   sscanf
Language: C

#include<stdio.h>

int main(void){
    int h,w,i;

    while(1){
        scanf("%d %d",&h,&w);
        if( h == 0 && w == 0)
            break;
        for(i = 0;i < h;i++){
            for(j = 0;j < w;j++)
                printf("#");
            printf("\n");
        }
        printf("\n");
    }
    return 0;
} 

Compiler output:
main.c: In function 'main':
main.c:11:17: error: 'j' undeclared (first use in this function)
   11 |             for(j = 0;j < w;j++)
      |                 ^
main.c:11:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

H,main(W,i,j){for(;scanf("%d%d",&H,%W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | H,main(W,i,j){for(;scanf("%d%d",&H,%W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'H' [-Wimplicit-int]
main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1 | H,main(W,i,j){for(;scanf("%d%d",&H,%W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |              ^
Language: C

H,main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | H,main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'H' [-Wimplicit-int]
main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1 | H,main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |              ^
Language: C

H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'H' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'W' defaults to 'int' [-Wimplicit-int]
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:3: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:1:20: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                    ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
main.c:1:20: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                    ^~~~~
main.c:1:20: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:72: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                                                                        ^~~~
main.c:1:72: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:82: error: expected expression before '}' token
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                                                                                  ^
main.c:1:84: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                                                                                    ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
main.c:1:84: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))}}exit(0);}
      |                                                                                    ^~~~
main.c:1:84: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C

H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'H' [-Wimplicit-int]
main.c:1:3: error: return type defaults to 'int' [-Wimplicit-int]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |   ^~~~
main.c: In function 'main':
main.c:1:3: error: type of 'W' defaults to 'int' [-Wimplicit-int]
main.c:1:3: error: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:3: error: type of 'j' defaults to 'int' [-Wimplicit-int]
main.c:1:20: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                    ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
main.c:1:20: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                    ^~~~~
main.c:1:20: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:72: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                                                                        ^~~~
main.c:1:72: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:82: error: expected expression before '}' token
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                                                                                  ^
main.c:1:85: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                                                                                     ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
main.c:1:85: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | H;main(W,i,j){for(;scanf("%d%d",&H,&W)*(H+W);){for(;i++<H;){for(;j++<W;puts("#"))};}exit(0);}
      |                                                                                     ^~~~
main.c:1:85: note: include '<stdlib.h>' or provide a declaration of 'exit'
Language: C

#include<stdio.h>
int main(void){
	int i,j,H,W;
	while(1){
		scanf("%d %d",&H,&W);
		if(H==0 && W == 0) break;
		for(i=0;i<H;i++){
			for(j=0;j<W;j++){
				printf("#");
			}
		printf("\n");
		}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include <stdio.h>
int main(void) {
	int H, W;
	int f, i, k;

	while (f == 0) 
	{
		scanf("%d %d", &H, &W);

		if (H == 0 && W == 0) {
			break;
		}

		for (i = 0; i < H; i++) {
			for (k = 0; k < W; k++) {
				printf("#");
			}
			printf("\n");
		}
	}
	return 0;

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected declaration or statement at end of input
   21 |         return 0;
      |         ^~~~~~
Language: C

#include <stdio.h>
int main(void) {
	int H, W;
	int f==0, i, k;

	while (f == 0) 
	{
		scanf("%d %d", &H, &W);

		if (H == 0 && W == 0) {
			break;
		}

		for (i = 0; i < H; i++) {
			for (k = 0; k < W; k++) {
				printf("#");
			}
			printf("\n");
		}
	}
	return 0;

Compiler output:
main.c: In function 'main':
main.c:4:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '==' token
    4 |         int f==0, i, k;
      |              ^~
main.c:4:14: error: expected expression before '==' token
main.c:6:16: error: 'f' undeclared (first use in this function)
    6 |         while (f == 0)
      |                ^
main.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:22: error: 'i' undeclared (first use in this function)
   14 |                 for (i = 0; i < H; i++) {
      |                      ^
main.c:15:30: error: 'k' undeclared (first use in this function)
   15 |                         for (k = 0; k < W; k++) {
      |                              ^
main.c:21:9: error: expected declaration or statement at end of input
   21 |         return 0;
      |         ^~~~~~
Language: C

#include <stdio.h>
int main(void) {
	int H, W;
	int f = 0, i, k;

	while (f == 0) 
	{
		scanf("%d %d", &H, &W);

		if (H == 0 && W == 0) {
			break;
		}

		for (i = 0; i < H; i++) {
			for (k = 0; k < W; k++) {
				printf("#");
			}
			printf("\n");
		}
	}
	return 0;

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected declaration or statement at end of input
   21 |         return 0;
      |         ^~~~~~
Language: C

#include <stdio.h>

int main(void)
{
  int i,n,a,b;

  while (1) {
    scanf("%d %d",&a,&b);
    if (a == 0 && b == 0)
      break ;
    for (i=1;i<=a;i++){
      for (n=1;n<=b;n++){  
          printf("#");
          }
        printf("\n");
        }
  }

  return 0;

Compiler output:
main.c: In function 'main':
main.c:19:3: error: expected declaration or statement at end of input
   19 |   return 0;
      |   ^~~~~~
Language: C

#include <stdio.h>

int main(void)
{
  int i,n,a,b;

  while (1) {
    scanf("%d %d",&a,&b);
    if (a == 0 && b == 0)
      break ;
    for (i=1;i<=a;i++){
      for (n=1;n<=b;n++){  
          printf("#");
          }
        printf("\n");
        }
    printf("\n");
  }

Compiler output:
main.c: In function 'main':
main.c:18:3: error: expected declaration or statement at end of input
   18 |   }
      |   ^
Language: C

#include <stdio.h>

int main(int argc, const char * argv[]) {
    int H, W;
    scanf("%d %d",&H,&W);
    
    int i,j;
    while (1)
    {
        if (H == 0 && W == 0) {
            break;
        }
        else {
            for (i=0; i<H; i++) {
                for (j=0; j<W; j++) {
                    printf("#");
                }
                printf("\n");
            }
            printf("\n");
            scanf("%d %d",&H,&W);
        }
            return 0;
    }

Compiler output:
main.c: In function 'main':
main.c:24:5: error: expected declaration or statement at end of input
   24 |     }
      |     ^
Language: C

include<stdio.h>
int main(void){
    int H,W;
    while(1){
        scanf("%d %d",&H,&W);
        if(H == 0 && W == 0){
            break;
        }
        for(int a = 0;a < H;a++){
            for(int b = 0;b < W;b++){
                printf("#");
            }
            printf("\n");
        }
        printf("\n");
    }
    return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

include<stdio.h>
int main(void){
    int H,W,i,j;
    while(1){
        scanf("%d %d",&H,&W);
        if(H == 0 && W == 0){
            break;
        }
        for(i = 0;i < H;i++){
            for(j = 0;j < W;j++){
                printf("#");
            }
            printf("\n");
        }
        printf("\n");
    }
    return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <stdio.h>
int main()
{
 int cd,cr;
 while(1)
 {
  scanf("%d %d", &cd &cr);
  if(cd==0 || cr==0)
  for(int i=0; i < cd; i++)
  {
   for(int j=0;j < cd; j++)
   {
    printf("#");
   }
    printf("/n");
  }
 }
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: invalid operands to binary & (have 'int *' and 'int')
    7 |   scanf("%d %d", &cd &cr);
      |                  ~~~ ^
      |                  |
      |                  int *
Language: C

#include <stdio.h>
int main()
{
 int cd,cr;
 while(1)
 {
  scanf("%d %d", &cd &cr);
  if(cd==0 || cr==0)
   return 0;
  for(int i=0; i < cd; i++)
  {
   for(int j=0;j < cd; j++)
   {
    printf("#");
   }
    printf("/n");
  }
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: invalid operands to binary & (have 'int *' and 'int')
    7 |   scanf("%d %d", &cd &cr);
      |                  ~~~ ^
      |                  |
      |                  int *
Language: C

#include <stdio.h>
int main()
{
 int cd,cr,i,j;
 while(1)
 {
  scanf("%d %d", &cd ,&cr);
  if(cd==0 && cr==0)
   return 0;

  for(i=0; i < cd; i++)
  {
    for(j=0;j < cr; j++)
       printf("#");
    printf("/n");
  }
  printf("/n")
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:15: error: expected ';' before '}' token
   17 |   printf("/n")
      |               ^
      |               ;
   18 |  }
      |  ~
Language: C

#include<stdio.h>

int main()
{

	int W,H;
	scanf("%d %d",&W,&H);
	
	while(0){
	
	if(H==0 & W==0) break;
	for(int i=0;i<H;i++)
	{
		for(int j=0;j<W;j++)
			{
				printf("#");
				
			}
		printf("\n");
	}
return 0;

}

Compiler output:
main.c: In function 'main':
main.c:23:1: error: expected declaration or statement at end of input
   23 | }
      | ^
Language: C

#include<stdio.h>

int main()
{
	while(){
	int W,H;
	scanf("%d %d", &H, &W);
	if ( H == 0 & W == 0) break;
	for(int i = 0; i < H; i++)
	{
		for( int j = 0; j < W; j++)
			{
				printf("#");	
			}
		printf("\n");
	}
	printf("\n");
}
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected expression before ')' token
    5 |         while(){
      |               ^
main.c:7:25: error: 'H' undeclared (first use in this function)
    7 |         scanf("%d %d", &H, &W);
      |                         ^
main.c:7:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:29: error: 'W' undeclared (first use in this function)
    7 |         scanf("%d %d", &H, &W);
      |                             ^
Language: C

#include<stdio.h>

main()
{
	while(){
		int W,H;
		scanf("%d %d", &H, &W);
		if (H == 0 & W == 0) break;
		for(int i = 0; i < H; i++)
		{
			for(int j = 0; j < W; j++)
			{
				printf("#");	
			}
			printf("\n");
		}
		printf("\n");
	}
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
main.c: In function 'main':
main.c:5:15: error: expected expression before ')' token
    5 |         while(){
      |               ^
main.c:7:33: error: 'H' undeclared (first use in this function)
    7 |                 scanf("%d %d", &H, &W);
      |                                 ^
main.c:7:33: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:37: error: 'W' undeclared (first use in this function)
    7 |                 scanf("%d %d", &H, &W);
      |                                     ^
Language: C

#include<stdio.h>

main()
{
	while(0){
		int W,H;
		scanf("%d %d", &H, &W);
		if (H == 0 & W == 0) break;
		for(int i = 0; i < H; i++)
		{
			for(int j = 0; j < W; j++)
			{
				printf("#");	
			}
			printf("\n");
		}
		printf("\n");
	}
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
Language: C

#include <stdio.h>

main()
{
	for(;;){
		int W,H;
		scanf("%d %d", &H, &W);
		if (H == 0 & W == 0) break;
		for(int i = 0; i < H; i++)
		{
			for(int j = 0; j < W; j++)
			{
				printf("#");	
			}
			printf("\n");
		}
		printf("\n");
	}
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
Language: C

#include <stdio.h>

int main(void)
{
	int h;
	int w;
	int a;
	int b;
	int c;
	
	while ((h != 0) && (w != 0)){
		scanf("%d %d", &h, &w);
		for (a = 1; a <= h; a++){
			printf("#");
			for (b = 2; b <= w; b++){
				printf("#");
			}
			printf("\n");
			printf("\n")
		}
		printf("\n");
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:19:37: error: expected ';' before '}' token
   19 |                         printf("\n")
      |                                     ^
      |                                     ;
   20 |                 }
      |                 ~
Language: C

#include <stdio.h>

int main(void)
{
	int h;
	int w;
	int a;
	int b;
	
	while ((h != 0) && (w != 0)){
		scanf("%d %d", &h, &w);
		for (a = 1; a <= h; a++){
			printf("#");
			for (b = 2; b <= w; b++){
				printf("#");
			}
			printf("\n");
			printf("\n")
		}
		printf("\n");
	}
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:18:37: error: expected ';' before '}' token
   18 |                         printf("\n")
      |                                     ^
      |                                     ;
   19 |                 }
      |                 ~
Language: C

#include <stdio.h>

int main(void)
{
	int h;
	int w;
	int a;
	int b;
	
	scanf("%d %d", &h, &w);
	for (a = 1; a <= h; a++){
		printf("#");
		for (b = 2; b <= w; b++){
			printf("#");
		}
		printf("\n");
		printf("\n");
	}
	
	while ((h != 0) && (w != 0)){
		scanf("%d %d", &h, &w);
		for (a = 1; a <= h; a++){
			printf("#");
			for (b = 2; b <= w; b++){
				printf("#");
			}
			printf("\n");
			printf("\n");
		}
	}
	printf("\n")
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:31:21: error: expected ';' before 'return'
   31 |         printf("\n")
      |                     ^
      |                     ;
   32 |         return (0);
      |         ~~~~~~
Language: C

#include<stdio.h>
int main(){
  int H,W,i,j;
while(1){
   scanf("%d %d",&H,&W);
   if(H==0&&W==0) break;
 
for (i = 0; i < H ; i++ ){
    for ( j = 0; j < W; j++ ){
        printf("#");
    }
    printf("\n");
   }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

#include <stdio.h>

int main(void)
{
	int h;
	int w;
	int a;
	int b;
	
	scanf("%d %d", &h, &w);
	for (a = 1; a <= h; a++){
		printf("#");
		for (b = 2; b <= w; b++){
			printf("#");
			printf("\n");
		}
		printf("\n");
	}
	
	while ((h != 0) || (w != 0)){
		scanf("%d %d", &h, &w);
		for (a = 1; a <= h; a++){
			printf("#");
			for (b = 2; b <= w; b++){
				printf("#");
			}
			printf("\n");
			printf("\n");
		}
	}
	printf("\n")
	
	return (0);
}

Compiler output:
main.c: In function 'main':
main.c:31:21: error: expected ';' before 'return'
   31 |         printf("\n")
      |                     ^
      |                     ;
   32 | 
   33 |         return (0);
      |         ~~~~~~
Language: C

#include<stdio.h>

int main(void){

int H,W;
int i,j;
while(1){
scanf("%d %d",&H,&W);
if(H==0 && W==0){break;}
for(i=0;i<H;i++){
	for(j=0;j<W;j++){
		printf("#");
	}
	printf("\n")
}
printf("\n");
}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:21: error: expected ';' before '}' token
   14 |         printf("\n")
      |                     ^
      |                     ;
   15 | }
      | ~
Language: C

#include<stdio.h>
int mainc(void)
{
int i,j,wide,height;
int h[10000],w[10000];
i = 1;
while(1){
scanf("%d %d",&h[i],&w[i]);h
if(h[i] == 0 && w[i] == 0;){
break;
}
i++;
}
for(j = 1;j <= i;j++){
for(height = 1;height <= h[j];height++){
for(wide = 1;wide <= w[j];wide++){
printf("#");
}
printf("\n");
}
return 0;
}

Compiler output:
main.c: In function 'mainc':
main.c:8:29: error: expected ';' before 'if'
    8 | scanf("%d %d",&h[i],&w[i]);h
      |                             ^
      |                             ;
    9 | if(h[i] == 0 && w[i] == 0;){
      | ~~                           
main.c:22:1: error: expected declaration or statement at end of input
   22 | }
      | ^
Language: C

#include<stdio.h>
int main(void)
{
        int i,j,wide,height;
        int h[10000],w[10000];
        i = 1;
        while(1){
                scanf("%d %d",&h[i],&w[i]);
                if(h[i] == 0 && w[i] == 0){
                        break;
                }
                i++;
        }
        for(j = 1;j <= i;j++){
                printf("\n");
                for(height = 1;height <= h[j];height++){
                        for(wide = 1;wide <= w[j];wide++){
                                printf("#");
                        }
                        printf("\n");
                }
        }
        return 0;
}
~                   

Compiler output:
main.c:25:1: error: expected identifier or '(' before '~' token
   25 | ~
      | ^
Language: C

int h,w,i,j;
  while(1){
    scanf("%d%d",&h,&w);
    if(h==0 && w==0)
      break;
    for(i=0;i<h;i++){
      for(j=0;j<w;j++)
    printf("#");
      printf("\n");
    }
    printf("\n");
  }
  return 0;
}

Compiler output:
main.c:2:3: error: expected identifier or '(' before 'while'
    2 |   while(1){
      |   ^~~~~
main.c:13:3: error: expected identifier or '(' before 'return'
   13 |   return 0;
      |   ^~~~~~
main.c:14:1: error: expected identifier or '(' before '}' token
   14 | }
      | ^
Language: C



#include <stdio.h>
 
int main()
{
    for (;;) {
        int h, w, x, y;
        scanf("%d %d", &h, &w);
        if (h == 0 & w == 0) {
            return 0;
        }
        for (y = 0; y < h; y++) {
            for (x = 0; x < w; x++) {
                printf("#");
            }
            printf("\n");
        }
        printf("\n");
    }
}
 

 
Compile Error Logs: 

You are not authorized to see the message. 
 
 
Status 
Judge: 4/4  C  CPU: 00.00 sec  Memory: 572 KB  Length: 252 B  2012-09-27 09:37  2012-09-27 09:37  
Results for testcases 
Case # Verdict CPU Time Memory In Out Case Name 
 Case #1: : Accepted  - -    
 Case #2: : Accepted  - -    
 Case #3:  

Compiler output:
main.c:25:1: error: unknown type name 'Compile'
   25 | Compile Error Logs:
      | ^~~~~~~
main.c:25:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Logs'
   25 | Compile Error Logs:
      |               ^~~~
main.c:31:68: error: invalid digit "9" in octal constant
   31 | Judge: 4/4  C  CPU: 00.00 sec  Memory: 572 KB  Length: 252 B  2012-09-27 09:37  2012-09-27 09:37
      |                                                                    ^~
main.c:31:74: error: invalid digit "9" in octal constant
   31 | Judge: 4/4  C  CPU: 00.00 sec  Memory: 572 KB  Length: 252 B  2012-09-27 09:37  2012-09-27 09:37
      |                                                                          ^~
main.c:31:86: error: invalid digit "9" in octal constant
   31 | Judge: 4/4  C  CPU: 00.00 sec  Memory: 572 KB  Length: 252 B  2012-09-27 09:37  2012-09-27 09:37
      |                                                                                      ^~
main.c:31:92: error: invalid digit "9" in octal constant
   31 | Judge: 4/4  C  CPU: 00.00 sec  Memory: 572 KB  Length: 252 B  2012-09-27 09:37  2012-09-27 09:37
      |                                                                                            ^~
main.c:33:6: error: stray '#' in program
   33 | Case # Verdict CPU Time Memory In Out Case Name
      |      ^
main.c:34:7: error: stray '#' in program
   34 |  Case #1: : Accepted  - -
      |       ^
main.c:35:7: error: stray '#' in program
   35 |  Case #2: : Accepted  - -
      |       ^
main.c:36:7: error: stray '#' in program
   36 |  Case #3:
      |       ^
Language: C

#include<stdio.h>
int main(void){
     int H,W,i,j;
     char('#');
     scanf("%d %d",&H,W);
     for(i=0;i<H;i++){
          for(j=0;j<W;j++){
               printf('#');
          }
          printf("\n");
     }
     reutrn 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:11: error: expected identifier or '(' before '#'
    4 |      char('#');
      |           ^~~
main.c:8:23: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    8 |                printf('#');
      |                       ^~~
      |                       |
      |                       int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:12:6: error: 'reutrn' undeclared (first use in this function)
   12 |      reutrn 0;
      |      ^~~~~~
main.c:12:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:12: error: expected ';' before numeric constant
   12 |      reutrn 0;
      |            ^~
      |            ;
Language: C

#include<stdio.h>
int main(void){
     int H,W,i,j;
     scanf("%d %d",&H,&W);
     for(i=0;i<H;i++){
          for(j=0;j<W;j++){
               printf("#");
          }
          printf("\n");
     }
     reutrn 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:6: error: 'reutrn' undeclared (first use in this function)
   11 |      reutrn 0;
      |      ^~~~~~
main.c:11:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:12: error: expected ';' before numeric constant
   11 |      reutrn 0;
      |            ^~
      |            ;
Language: C

#include<stdio.h>

int main(void){
	int H,W,i,j;

	scanf("%d %d",&H,&W);
	for(i=0;i<H;i++){
		for(j=0;j<W;J++){
			printf("#");
		}
		printf("\n");
	}
}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:29: error: 'J' undeclared (first use in this function)
    8 |                 for(j=0;j<W;J++){
      |                             ^
main.c:8:29: note: each undeclared identifier is reported only once for each function it appears in
main.c: At top level:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
Language: C

#include<stdio.h>

int main(void){
	int H,W,i,j;

	scanf("%d %d",&H,&W);
	for(i=0;i<H;i++;){
		for(j=0;j<W;J++;){
			printf("#");
		}
		printf("\n");
	}
}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:24: error: expected ')' before ';' token
    7 |         for(i=0;i<H;i++;){
      |            ~           ^
      |                        )
main.c:8:29: error: 'J' undeclared (first use in this function)
    8 |                 for(j=0;j<W;J++;){
      |                             ^
main.c:8:29: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:32: error: expected ')' before ';' token
    8 |                 for(j=0;j<W;J++;){
      |                    ~           ^
      |                                )
main.c: At top level:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
Language: C

#include<stdio.h>

int main(void){
	int H,W,i,j;

	scanf("%d %d",&H,&W);
	for(i=0;i<H;i++){
		for(j=0;j<W;j++){
			printf("#");
		}
		printf("\n");
	}
}
	return 0;
}

Compiler output:
main.c:14:9: error: expected identifier or '(' before 'return'
   14 |         return 0;
      |         ^~~~~~
main.c:15:1: error: expected identifier or '(' before '}' token
   15 | }
      | ^
Language: C

#include<stdio.h>
int main()
{
int H, W, i, j;
char x;
while(1)
{
scanf("%d%d",&H, &W);
if(H == 0 && W == 0)break;
for(I=0;i<H;i++){
x = '#';
printf("%c",x);
}
printf("\n");
}
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:5: error: 'I' undeclared (first use in this function)
   10 | for(I=0;i<H;i++){
      |     ^
main.c:10:5: note: each undeclared identifier is reported only once for each function it appears in
main.c: At top level:
main.c:17:1: error: expected identifier or '(' before 'return'
   17 | return 0;
      | ^~~~~~
main.c:18:1: error: expected identifier or '(' before '}' token
   18 | }
      | ^
Language: C

#include<stdio.h>
int main()
{
int a,b,H,W;
while(1){
scanf("%d%d",H,W);
if(H==0&&W==0)
break;
for(a=1;a<=H;a++){
for(b=1;b<=W;b++){
printf("#");
}
printf("\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>
int main()
{
int a,b,H,W;
while(1){
scanf("%d%d",H,W);
if(H==0&&W==0){
break;
}
for(a=1;a<=H;a++){
for(b=1;b<=W;b++){
printf("#");
}
printf("\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>
int main()
{
int a,b,H,W;
while(1){
scanf("%d %d",H,W);
if(H==0&&W==0){
break;
}
for(a=1;a<=H;a++){
for(b=1;b<=W;b++){
printf("#");
}
printf("\n");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:17:1: error: expected declaration or statement at end of input
   17 | }
      | ^
Language: C

#include<stdio.h>

int main() {
	int H, W, i, j;
	scanf_s("%d %d", &H, &W);

	for (i = 1; i <= H; i++) {
		for (j = 1; j <= W; j++) {
			printf("#");
		}
		printf("\n");
	}
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d %d", &H, &W);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>

int main(void) {
	int H, W, i, j;
	scanf_s("%d %d", &H, &W);

	for (i = 1; i <= H; i++) {
		for (j = 1; j <= W; j++) {
			printf("#");
		}
		printf("\n");
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d %d", &H, &W);
      |         ^~~~~~~
      |         scanf
Language: C

#include <stdio.h>

int main(void)
{
	unsigned int H = 0;
	unsigned int W = 0;
	unsigned int i;
	unsigned int j;
	
	scanf("%d %d", &H, &W);
	
	if(H != 0 && W != 0)
	{
		for(i = 0; i < H; i++)
			for(j = 0; j < W; j++)
			{
				printf("#");
			}
			printf("\n");
		}
	}
	return 0;
}

Compiler output:
main.c:22:9: error: expected identifier or '(' before 'return'
   22 |         return 0;
      |         ^~~~~~
main.c:23:1: error: expected identifier or '(' before '}' token
   23 | }
      | ^
Language: C

#include <stdio.h>

int main(void){
    int h, w;
    int i, j;
    while(1){
    scanf("%d %d", &h, $w);
    if(h + w == 0)
        break;
        for(i = 0; i < h; i++){
           for(j = 0; j < w; j++)
               putchar('#');
           putchar('\n');
        }
        puts("");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:24: error: '$w' undeclared (first use in this function); did you mean 'w'?
    7 |     scanf("%d %d", &h, $w);
      |                        ^~
      |                        w
main.c:7:24: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
??
int main(void){
????????int h, w;
????????int i, j;
????????while(1){
????????    scanf("%d %d", &h, &w);
????????    if(h + w == 0)
????????????????    break;
????????????????for(i = 0; i < h; i++){
??????????????????????for(j = 0; j < w; j++)
??????????????????????????????putchar('#');
??????????????????????putchar('\n');
????????????????}
????????????????puts("");
????????}
????????return 0;
}

Compiler output:
main.c:2:1: error: expected identifier or '(' before '?' token
    2 | ??
      | ^
Language: C

include <stdio.h>

int main(void){

	int i,j,H,W;
	H = 1;
	W = 1;

	while(H!=0 || W!=0){
		scanf("%d %d",&H,&W);
		for(i=0;i<H;i++){
			for(j=0;j<W;j++){
				printf("#");
			}
		printf(" \n");
		}
	}
	return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: C

#include <stdio.h>

int main(){
int H,W,i,j;
while(1){
scanf("%d %d",&H,&W);
if(H==0&&W==0) break;
for(i=0;i<H;i++){
   for(j=0;j<W;j++){
      printf("#");
   }
   printf("\n");
}
printf("\n");
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include <stdio.h>

int main(void)
{
	int h[qty];
	int w[qty];
	int qty;
	int i;
	int j;
	int k;
	
	printf("?????????????§???¢?????????????????????");
	scanf("%d", &qty);
	
	for (i = 0; i < qty; i++)
	{
		printf("????????????1???300?????§??????????¨?????????????");
		scanf("%d %d", h[i], w[i]);
		
		/*+
		if (((h[i] >= 1) && (h[i] <= 300)) && ((w[i] >= 1) && (w[i] <= 300)))
		{
			printf("1???300?????§???????????§??\????????????????????????");
			
			break;
		}
		*/
		
		if ((h[i] == 0) && (w[i] == 0))
		{
			return 0;
		}
	}
	
	for (i = 0; i < qty; i++)
	{
		for (j = 0; j < h; j++)
		{
			for (k = 0; k < w; k++)
			{
				printf("#");
			}
			printf("\n");
		}
		printf("\n");
	}
	printf("\n");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: 'qty' undeclared (first use in this function)
    5 |         int h[qty];
      |               ^~~
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void)
{
	int h[qty];
	int w[qty];
	int qty;
	int i;
	int j;
	int k;
	
	printf("?????????????§???¢?????????????????????");
	scanf("%d", &qty);
	
	for (i = 0; i < qty; i++)
	{
		printf("????????????1???300?????§??????????¨?????????????");
		scanf("%d %d", h[i], w[i]);
		
		/*+
		if (((h[i] >= 1) && (h[i] <= 300)) && ((w[i] >= 1) && (w[i] <= 300)))
		{
			printf("1???300?????§???????????§??\????????????????????????");
			
			break;
		}
		*/
		
		if ((h[i] == 0) && (w[i] == 0))
		{
			return 0;
		}
	}
	
	for (i = 0; i < qty; i++)
	{
		for (j = 0; j < h[j]; j++)
		{
			for (k = 0; k < w[k]; k++)
			{
				printf("#");
			}
			printf("\n");
		}
		printf("\n");
	}
	printf("\n");
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:15: error: 'qty' undeclared (first use in this function)
    5 |         int h[qty];
      |               ^~~
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in