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

#include<stdio.h>

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


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

#include <stdio.h>

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


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

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

	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:10:9: error: break statement not within loop or switch
   10 |         break;
      |         ^~~~~
Language: C

#include <stdio.h>
int main(){
 int h,w,i,j;
 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");
  }
  scanf("%d%d",&h,&w);
 }
 printf("\n")
 return 0;
}


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

#include <stdio.h>
int main(void){
	int i,j,H,W;
	while(scanf("%d %d",&H,&W)!=EOF){
		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:17:9: 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(void){
    int i,j,a,b;
    
    scanf("%d %d",&a,&b);
    
    for(i=0;i<a;i++){
        for(j=0;j<b;j++){
            printf("#");
        }
    return(0);
}



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

#include <stdio.h> 
 int main(){ 
     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"); 
     }  
     eturn 0; 
 } 


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


#include <stdio.h>

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



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

#include <stdio.h>

int main(void) {
	int H, W, i, j;
	whole(1){
		scanf("%d %d", &H, &W);
		if(H == 0 && W == 0) break;
		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:5:9: error: implicit declaration of function 'whole' [-Wimplicit-function-declaration]
    5 |         whole(1){
      |         ^~~~~
main.c:5:17: error: expected ';' before '{' token
    5 |         whole(1){
      |                 ^
      |                 ;
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ')' before ';' token
    6 |                 if(i=0;i<a;i++){
      |                   ~   ^
      |                       )
Language: C

#include <stdio.h>
int main(void){

    int H,W,i,j,g;

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

　              for(g = 1; g < H; g++){
                    for(j = 1; j < W; j++){
                        putchar('#');
                    }
                        putchar('\n');
                }
                        putchar('\n');
    }

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 1; g < H; g++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

    int H,W,j,g;

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

　              for(g = 0; g < H; g++){
                    for(j = 0; j < W; j++){
                        putchar('#');
                    }
                        putchar('\n');
                }
                        putchar('\n');
    }

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 0; g < H; g++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

    int H,W,j,g;

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

　              for(g = 1; g <= H; g++){
                    for(j = 1; j <= W; j++){
                        putchar('#');
                    }
                        putchar('\n');
                }
                        putchar('\n');
    }

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 1; g <= H; g++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

    int H,W,j,g;

    for(;;) {
        
        scanf("%d %d\n", &H, &W);
        
            if(H == 0&&W == 0)break;

　              for(g = 1; g <= H; g++){
                    for(j = 1; j <= W; j++){
                        putchar('#');
                    }
                        putchar('\n');
                }
                        putchar('\n');
    }

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 1; g <= H; g++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

    int H,W,j,g;

    for(;;) {
        
        scanf("%d %d\n", &H, &W);
        
            if(H == 0&&W == 0)break;

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

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 1; g <= H; g++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

    int H,W,j,g;

    for(;;) {
        
        scanf("%d %d\n", &H, &W);
        
            if(H == 0&&W == 0)break;

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

    return 0;    
    
}



Compiler output:
main.c: In function 'main':
main.c:12:1: error: stray '\343' in program
   12 | <U+3000>              for(g = 0; g < H; g++){
      | ^~~~~~~~
Language: C

 #include <stdio.h>
int main(void){

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

    
    return 0;
            }


Compiler output:
main.c: In function 'main':
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>  for(h = 0; h < H; h++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

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

    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>  for(h = 0; h < H; h++){
      | ^~~~~~~~
Language: C

#include <stdio.h>
int main(void){

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

    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>  for(h = 0; h < H; h++){
      | ^~~~~~~~
Language: C

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

    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>  for(h = 0; h < H; h++){
      | ^~~~~~~~
Language: C

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




Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>  for(h=0; h<H; h++){
      | ^~~~~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:6:30: error: expected ';' before '+' token
    6 |         if(H==0 && W==0)break+
      |                              ^
      |                              ;
Language: C

#include <stdio.h>
int main (){
  int H,W;
  int h,w;

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

    return 0;
  }


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

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



Compiler output:
main.c: In function 'main':
main.c:4:30: error: 'H' undeclared (first use in this function)
    4 |         while(scanf("%d %d",&H,&W) != EOF || H== W == 0){
      |                              ^
main.c:4:30: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:33: error: 'W' undeclared (first use in this function)
    4 |         while(scanf("%d %d",&H,&W) != EOF || H== W == 0){
      |                                 ^
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(void){
int H;
int W;
int a;
int i;
int c;

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

for(a=1;a>0;a++){
  for(i=1;i<=H;i++){
    for(c=1;c<=W;C++){
      printf('#');}
    prontf("\n");}
  scanf("%d %d",&H,&W);
  if(H==0 && W==0){
  break;}}
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:16:18: error: 'C' undeclared (first use in this function)
   16 |     for(c=1;c<=W;C++){
      |                  ^
main.c:16:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:17:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   17 |       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:18:5: error: implicit declaration of function 'prontf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   18 |     prontf("\n");}
      |     ^~~~~~
      |     printf
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

int main(void){
int H;
int W;
int a;
int i;
int c;

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

for(a=1;a>0;a++){
  for(i=1;i<=H;i++){
    for(c=1;c<=W;c++){
      printf('#');}
    prontf("\n");}
  scanf("%d %d",&H,&W);
  if(H==0 && W==0){
  break;}}
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:17:14: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   17 |       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:18:5: error: implicit declaration of function 'prontf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   18 |     prontf("\n");}
      |     ^~~~~~
      |     printf
Language: C

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



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

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




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

#include<stdio.h>
int main(){
    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");
}
printf(\n");
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:8: error: stray '\' in program
   11 | printf(\n");
      |        ^
main.c:11:10: warning: missing terminating " character
   11 | printf(\n");
      |          ^
main.c:11:10: error: missing terminating " character
   11 | printf(\n");
      |          ^~~
main.c:11:9: error: 'n' undeclared (first use in this function)
   11 | printf(\n");
      |         ^
main.c:11:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:10: error: expected ')' before 'return'
   11 | printf(\n");
      |       ~  ^
      |          )
   12 | return 0;
      | ~~~~~~    
main.c:12:10: error: expected ';' before '}' token
   12 | return 0;
      |          ^
      |          ;
   13 | }
      | ~
Language: C

#include<stdio.h>
int main(){
	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");
}
printf("\n")
return 0;
}


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

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

}



Compiler output:
main.c: In function 'main':
main.c:8:1: error: stray '\343' in program
    8 | <U+3000>  for(int h = 0; h < H; h++){
      | ^~~~~~~~
main.c:13:1: error: stray '\343' in program
   13 | <U+3000>  }
      | ^~~~~~~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:9:1: error: stray '\343' in program
    9 | <U+3000>  for(int h = 0; h < H; h++){
      | ^~~~~~~~
main.c:14:1: error: stray '\343' in program
   14 | <U+3000>  }
      | ^~~~~~~~
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;
        
        for(i = 1; i = h; i++){
            for(j = 1; j = w; j++){
                print("#");
            }
            printf("\n");
        }
    }
    
    break 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:12:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |                 print("#");
      |                 ^~~~~
      |                 printf
main.c:18:5: error: break statement not within loop or switch
   18 |     break 0;
      |     ^~~~~
main.c:18:10: error: expected ';' before numeric constant
   18 |     break 0;
      |          ^~
      |          ;
Language: C

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:12:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |                 print("#");
      |                 ^~~~~
      |                 printf
main.c:18:5: error: break statement not within loop or switch
   18 |     break 0;
      |     ^~~~~
main.c:18:10: error: expected ';' before numeric constant
   18 |     break 0;
      |          ^~
      |          ;
Language: C

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:12:17: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
   12 |                 print("#");
      |                 ^~~~~
      |                 printf
Language: C

#include <stdio.h>

int  main(void){
         int h,w,i,j;
          scanf("%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:11:1: error: expected declaration or statement at end of input
   11 | }
      | ^
Language: C

#include <stdio.h>

int main(int argc, char const *argv[])
{
	int i, j, h, w;

	while(scanf("%d %d", &h, &w))
	{
		if(h == 0 && w == 0)
			break;
		for(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:15:44: error: expected ';' before '}' token
   15 |                                 printf("#")
      |                                            ^
      |                                            ;
   16 |                         }
      |                         ~
Language: C

#include <stdio.h>

int main(void)
{
	int a,b,x,y;
	scanf("%d %d",&x,&y);
	while(1){
	if(x == 0 && y == 0)break;
	for(b=0;b<y;b++){
		for(a=0;a<x;a++){
			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 H,W,m,n;     for(;;){         scanf("%d %d",&H,&W);         if(H==W && H==0) break;         for(m=0;m<H;m++){             for(n=0;n<W;n++) printf("#");             printf("\n");         }         printf("\n");     } return 0; } 

Compiler output:
main.c:1:20: warning: extra tokens at end of #include directive
    1 |  #include<stdio.h> int main(){     int H,W,m,n;     for(;;){         scanf("%d %d",&H,&W);         if(H==W && H==0) break;         for(m=0;m<H;m++){             for(n=0;n<W;n++) printf("#");             printf("\n");         }         printf("\n");     } return 0; }
      |                    ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<iostream>
#include<algorithm>
#include<cstdio>
#include<cmath>
using namespace std;

int main(int argc, char *argv[])
{
  int a,b;
  scanf("%d %d",&a,&b);
  for(int i = 0;i < a;i++){
    for(int j = 0;j < b;j++){
      printf("#");
    }
    printf("\n");
  }
  return 0;
}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

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

Compiler output:
main.c:1:16: error: missing terminating > character
    1 | #include<stdio.
      |                ^
main.c:1:9: fatal error: stdio.: No such file or directory
    1 | #include<stdio.
      |         ^
compilation terminated.
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:26: error: lvalue required as left operand of assignment
    9 |                 if(a=0&&b=0)break;
      |                          ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:26: error: lvalue required as left operand of assignment
    9 |                 if(a=0&&b=0)break;
      |                          ^
Language: C

#include<stdio.h>

int main(){
int H,W;
int i=0;
int j=0;
scanf("%d %d",&H,&W) ;

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

return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:10:19: error: expected expression before ')' token
   10 |     for(j=0;j<W;++){
      |                   ^
Language: C

#include<stdio.h>

int main(){
int H,W;
int i;
int 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:18: error: break statement not within loop or switch
    9 | if(H==0 && W==0) break ;
      |                  ^~~~~
Language: C

#include<stdio.h>

int main(){
int H,W;
int i;
int 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:18: error: break statement not within loop or switch
    9 | if(H==0 && W==0) break ;
      |                  ^~~~~
Language: C

#include<stdio.h>

int main(){
int H,W;
int i;
int 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") ;
}

printf("\n") ;
}

return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:9:18: error: break statement not within loop or switch
    9 | if(H==0 && W==0) break ;
      |                  ^~~~~
main.c: At top level:
main.c:21:1: error: expected identifier or '(' before 'return'
   21 | return 0 ;
      | ^~~~~~
main.c:22:1: error: expected identifier or '(' before '}' token
   22 | }
      | ^
Language: C

#include<stdio.h>

int main(){
int H,W;
int i;
int 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") ;
}

printf("\n") ;


return 0 ;
}

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

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:21:25: error: 'a' undeclared (first use in this function)
   21 |          scanf("%d %d",&a,&b);
      |                         ^
main.c:21:25: note: each undeclared identifier is reported only once for each function it appears in
main.c:21:28: error: 'b' undeclared (first use in this function)
   21 |          scanf("%d %d",&a,&b);
      |                            ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:17: error: implicit declaration of function 'pirntf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |                 pirntf("\n");
      |                 ^~~~~~
      |                 printf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:6:9: error: break statement not within loop or switch
    6 |         break;
      |         ^~~~~
Language: C

#include <stdio.h>
int main(){
	int x,y,i,j;
	scanf("%d %d", &x, &y);
	for ( i = 0; i < x; i++ ){
		if ( i == 0){
			break;
		for ( j = 0; j < y; j++ ){
			if (j == 0){
				break;
			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 | }
      | ^
main.c:16:1: error: expected declaration or statement at end of input
Language: C++

#include<iostream>
using namespace std;
int main(){
	int a=1,b=1;
	while(!(a==0&&b==0)){
		cin >> a >> b;
		for (int i=1;i<=a;i++){
			for(int j=1;j<=y;j++)
				cout << '#';
			cout << endl;
		}
		cout << endl;
	}
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:40: error: 'y' was not declared in this scope
    8 |                         for(int j=1;j<=y;j++)
      |                                        ^
Language: C++

#include <iostream>
using namespace std;
int main(){
	int a , b;
	cin>> a >> b;
	
	for (int i=1; i<=a; i++){
		for (int j=1; j<=b; j++)
		
	}cout <<'#'<<endl;
	
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected primary-expression before '}' token
   10 |         }cout <<'#'<<endl;
      |         ^
Language: C++

#include<iostream>
using namespace std;

int main(){
    int x,y;
    while(cin>>y>>x){
        if(x!=0||y!=0){
            for(int i=0;i<y;i++){
                for(int j=0;j<x;j++){
                    cout<<'#'
                }
                cout<<endl;
            }
        }
    }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:30: error: expected ';' before '}' token
   10 |                     cout<<'#'
      |                              ^
      |                              ;
   11 |                 }
      |                 ~
Language: C++

#include<iostream>
using namespace std;

 int main(){
	 int x,y,i,j;

	 cin >> x >>y;

	 for(i=0,i<x,i++){
		 for(j=0,j<y,j++){
			 cout<<"#";
		 }
		 cout << endl;
	 }
	 return 0;


 }


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected ';' before ')' token
    9 |          for(i=0,i<x,i++){
      |                         ^
      |                         ;
a.cc:15:10: error: expected primary-expression before 'return'
   15 |          return 0;
      |          ^~~~~~
a.cc:14:11: error: expected ';' before 'return'
   14 |          }
      |           ^
      |           ;
   15 |          return 0;
      |          ~~~~~~
a.cc:15:10: error: expected primary-expression before 'return'
   15 |          return 0;
      |          ^~~~~~
a.cc:14:11: error: expected ')' before 'return'
   14 |          }
      |           ^
      |           )
   15 |          return 0;
      |          ~~~~~~
a.cc:9:13: note: to match this '('
    9 |          for(i=0,i<x,i++){
      |             ^
Language: C++

#include<iostream>
using namespace std;

 int main(){
	 int x,y,i,j;

	 cin >> x >>y;

	 for(i=0,i<x,i++){
		 for(j=0,j<y,j++){
			 cout<<"#";
		 }
		 cout << endl;
	 }
	 return 0;


 }



Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected ';' before ')' token
    9 |          for(i=0,i<x,i++){
      |                         ^
      |                         ;
a.cc:15:10: error: expected primary-expression before 'return'
   15 |          return 0;
      |          ^~~~~~
a.cc:14:11: error: expected ';' before 'return'
   14 |          }
      |           ^
      |           ;
   15 |          return 0;
      |          ~~~~~~
a.cc:15:10: error: expected primary-expression before 'return'
   15 |          return 0;
      |          ^~~~~~
a.cc:14:11: error: expected ')' before 'return'
   14 |          }
      |           ^
      |           )
   15 |          return 0;
      |          ~~~~~~
a.cc:9:13: note: to match this '('
    9 |          for(i=0,i<x,i++){
      |             ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int h, w ;
  cin >> h >> w ;
  while( h != 0 ) {
    int i, n ;
    for( i=0 ; i<h ; i++ ) {
      for( n=0 ; n<w ; j++ ) {
    cout << "#" ;
      }
      cout << endl ;
    }
    cout << endl;
    cin >> h >> w ;
  }
  return 0 ;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: 'j' was not declared in this scope
    9 |       for( n=0 ; n<w ; j++ ) {
      |                        ^
Language: C++

#include <iostream>
using namespace std;

int main(){
    int H, W;
    cin >> H >> W;
    while((H!=0)||(W!=0)){
        for(int i=0; i<H; i++){
            for(int j=0; j<W; j+){
                cout << "#";
            }
            cout << endl;
        }
        cout << endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: expected primary-expression before ')' token
    9 |             for(int j=0; j<W; j+){
      |                                 ^
Language: C++

while True:
    a, b = map(int, input().split())
    if(a and b == 0):
        break
    for i in range(a):
        for j in range(b):
            print("#")
        print()


Compiler output:
a.cc:1:1: error: expected unqualified-id before 'while'
    1 | while True:
      | ^~~~~
Language: C++

while True:
    a, b = int(input().split())
    if(a == 0 and b == 0):
        break
    for i in range(a):
        for j in range(b):
            print("#", end = "")
        print()


Compiler output:
a.cc:1:1: error: expected unqualified-id before 'while'
    1 | while True:
      | ^~~~~
Language: C++

while True:
    a, b = map(int, input().split())
    if(a == 0 and b == 0):
        break
    for i in range(a):
        for j in range(b):
            print("#", end = "")
        print()


Compiler output:
a.cc:1:1: error: expected unqualified-id before 'while'
    1 | while True:
      | ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
    while(1) {
        cin >> h >> w;
        if (h == 0 && w == 0) break;
        for (int i = 0; i < h; i++) {
            for (int j = 0; j < w; j++) {
                cout << "#";
            }
            cout << endl;
        }
        cout << endl;
    }
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'h' was not declared in this scope
    6 |         cin >> h >> w;
      |                ^
a.cc:6:21: error: 'w' was not declared in this scope
    6 |         cin >> h >> w;
      |                     ^
Language: C++

#include <iostream>
#include <stdio.h>

using namespace std;

int main(int argc, char const *argv[])
{
    int h = 1;
    int w = 1;

    while(true)
    {
        cin >> 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");
    }
    
    return 0;
}




Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:14:12: error: 'H' was not declared in this scope
   14 |         if(H == 0 && W == 0) break;
      |            ^
a.cc:14:22: error: 'W' was not declared in this scope
   14 |         if(H == 0 && W == 0) break;
      |                      ^
Language: C++

#include<iostream>
using namespace std;

int main(){
    int H,W;
    while(cin >> H >> W && H!=0 || W!=0){
        for (int i = 0; i < H; i += 1){
            cout << "#"*W << endl;
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator*'
    8 |             cout << "#"*W << endl;
      |                     ~~~^~
      |                     |   |
      |                     |   int
      |                     const char [2]
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int h,w,i,j;
  cin >> h >> w;
  if(h==0 && w==0) break;
  for(j=1;j<=h;j++){
    for(i=1;i<=w;i++){
      cout << "#";
    }
    cout << endl;
  }
  return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: break statement not within loop or switch
    6 |   if(h==0 && w==0) break;
      |                    ^~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int H,W;
    while(1){
        cin >> H >> W;
        if (H==0&&W==0) break;
        for ( int i = 0; i < H; i++ ){
            for ( int j = 0; j < W; j++ ){
                cout << "#";
            }
            cout << "\n"
        }
        cout << endl;
    }return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:25: error: expected ';' before '}' token
   12 |             cout << "\n"
      |                         ^
      |                         ;
   13 |         }
      |         ~
Language: C++

#include<stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:34: error: 'x' was not declared in this scope
    5 |     while(scanf("%d %d",h,w) && (x != 0 || y != 0)){
      |                                  ^
a.cc:5:44: error: 'y' was not declared in this scope
    5 |     while(scanf("%d %d",h,w) && (x != 0 || y != 0)){
      |                                            ^
a.cc:6:32: error: expected ';' before ')' token
    6 |         for(int i = 0;i < h,i++){
      |                                ^
      |                                ;
a.cc:12:21: error: expected ';' before '}' token
   12 |         printf("\n")
      |                     ^
      |                     ;
   13 |     }
      |     ~
Language: C++

#include<stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:32: error: expected ';' before ')' token
    6 |         for(int i = 0;i < h,i++){
      |                                ^
      |                                ;
a.cc:12:21: error: expected ';' before '}' token
   12 |         printf("\n")
      |                     ^
      |                     ;
   13 |     }
      |     ~
Language: C++

#include<stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:32: error: expected ';' before ')' token
    6 |         for(int i = 0;i < h,i++){
      |                                ^
      |                                ;
Language: C++

int main(void)

{
	int H, W, i,a;

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

	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: 'scanf' was not declared in this scope
    8 |                 scanf("%d %d", &H, &W);
      |                 ^~~~~
a.cc:17:33: error: 'printf' was not declared in this scope
   17 |                                 printf("#");
      |                                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:18:26: error: 'printf' was not declared in this scope
   18 |                         }printf("\n");
      |                          ^~~~~~
a.cc:18:26: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:20:17: error: 'printf' was not declared in this scope
   20 |                 printf("\n");
      |                 ^~~~~~
a.cc:20:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <iostream>

using namespace std;

int main(){
    int H,W;
    cin>>H>>W;
    
    while(i<H){
        while(i<W){
            cout<<"#";
        }
        cout<<endl;
    }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: 'i' was not declared in this scope
    9 |     while(i<H){
      |           ^
Language: C++

#include <iostream>

using namespace std;

int main(){
    int H,W;
    cin>>H>>W;
    
    int i=0;
    int j=0;
    while(num<1000){
    
    if(H!=0 && W!=0){    
        while(i<H){
        
            while(j<W){
                cout<<"#";
                j++;
            }
            cout<<endl;
        
            i++;
        
        }
    
    else{
        break;
    }
    }
    }
    }
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: 'num' was not declared in this scope; did you mean 'enum'?
   11 |     while(num<1000){
      |           ^~~
      |           enum
a.cc:26:5: error: expected '}' before 'else'
   26 |     else{
      |     ^~~~
a.cc:13:21: note: to match this '{'
   13 |     if(H!=0 && W!=0){
      |                     ^
a.cc: At global scope:
a.cc:31:5: error: expected declaration before '}' token
   31 |     }
      |     ^
a.cc:34:1: error: expected declaration before '}' token
   34 | }
      | ^
Language: C++

#include <iostream>

using namespace std;

int main(){
    int H,W;
    cin>>H>>W;
    
    int i=0;
    int j=0;
    int num=0;
    while(num<1000){
    
    if(H!=0 && W!=0){    
        while(i<H){
        
            while(j<W){
                cout<<"#";
                j++;
            }
            cout<<endl;
        
            i++;
        
        }
    
    }
    if(H=0 && W=0){
        break;
    }
    
    }
    
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:28:12: error: lvalue required as left operand of assignment
   28 |     if(H=0 && W=0){
      |          ~~^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
int H, W;
while(1){
  cin >> H >> W;
  if(H == 0 && W == 0) break;
  if(int i = 0; i < H; i++){
   if( int j = 0; j < W; j++){
    cout << '#'
    }
   cout << endl;
  }
  cout << endl;
 }
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: expected ')' before ';' token
    9 |   if(int i = 0; i < H; i++){
      |     ~                ^
      |                      )
a.cc:9:24: error: 'i' was not declared in this scope
    9 |   if(int i = 0; i < H; i++){
      |                        ^
Language: C++

#include<iostream>
using namespace std;

int main(){
int H, W;
while(1){
  cin >> H >> W;
  if(H == 0 && W == 0) break;
  if(int i = 0; i < H; i++){
   if(int j = 0; j < W; j++){
    cout << '#';
    }
   cout << endl;
  }
  cout << endl;
 }
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: error: expected ')' before ';' token
    9 |   if(int i = 0; i < H; i++){
      |     ~                ^
      |                      )
a.cc:9:24: error: 'i' was not declared in this scope
    9 |   if(int i = 0; i < H; i++){
      |                        ^
Language: C++

#include<iostream>
using namespace std;
int main() {
    int H, W;
    while (1) {
        cin >> H >> W;
        if (H==0 && W==0) break;
        for (int j=1; j < H; j++) {
            for (int i=1; i < W; i++) {
                cout << "#";
            }
            cout << endl;
        }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

include <iostream>
using namespace std;
int main(){
    int x,y;
    while(1){
        cin>>x>>y;
        if(x==0&&y==0){
            break;
        }
        for(int i=0;i<=x;x++){
        for(int n=0;n<=y;y++){
            cout<<'#';
        }
        cout<<endl;
    }
    return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin>>x>>y;
      |         ^~~
a.cc:12:13: error: 'cout' was not declared in this scope
   12 |             cout<<'#';
      |             ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout<<endl;
      |         ^~~~
a.cc:14:15: error: 'endl' was not declared in this scope
   14 |         cout<<endl;
      |               ^~~~
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std;
int main(){
    int x,y;
    while(1){
        cin>>x>>y;
        if(x==0&&y==0){
            break;
        }
        for(int i=0;i<=x;x++){
        for(int n=0;n<=y;y++){
            cout<<'#';
        }
        cout<<endl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:2: error: expected '}' at end of input
   17 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#inclue <iostream>
using namespace std;

int main()
{
    int H W;
    
    while(true){
        cin >> H >> W;
        if( H==0 and W==0){
            break;
        }
        for(int i=0; i<H; ++i){
            for(int j=0; j<W; ++j){
                cout << '#';
            }
            cout <<endl;
        }
        cout << endl;
    }
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue <iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:11: error: expected initializer before 'W'
    6 |     int H W;
      |           ^
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> H >> W;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclue <iostream>
a.cc:9:16: error: 'H' was not declared in this scope
    9 |         cin >> H >> W;
      |                ^
a.cc:9:21: error: 'W' was not declared in this scope
    9 |         cin >> H >> W;
      |                     ^
a.cc:15:17: error: 'cout' was not declared in this scope
   15 |                 cout << '#';
      |                 ^~~~
a.cc:15:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:13: error: 'cout' was not declared in this scope
   17 |             cout <<endl;
      |             ^~~~
a.cc:17:13: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:20: error: 'endl' was not declared in this scope
   17 |             cout <<endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue <iostream>
a.cc:19:9: error: 'cout' was not declared in this scope
   19 |         cout << endl;
      |         ^~~~
a.cc:19:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:17: error: 'endl' was not declared in this scope
   19 |         cout << endl;
      |                 ^~~~
a.cc:19:17: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'