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

public class Main {

	public static void main(String[] args) {

	for (int i = 1; i<<1001 ; i++){

		System.out.println("Hello World \n");

		}

	}

}

Compiler output:
Main.java:5: error: incompatible types: int cannot be converted to boolean
	for (int i = 1; i<<1001 ; i++){
	                 ^
1 error
Language: Java

public class hellos {

	public static void main(String[] args) {

	for (int i = 1; i<=1000 ; i++){

		System.out.println("Hello World \n");

		}

	}

}

Compiler output:
Main.java:1: error: class hellos is public, should be declared in a file named hellos.java
public class hellos {
       ^
1 error
Language: Java

public class practice{
    public static void main(String[] args){
        for(i=0; i<1000; i++){
          System.out.println("Hellow World");
        }
    }
}

Compiler output:
Main.java:1: error: class practice is public, should be declared in a file named practice.java
public class practice{
       ^
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
            ^
  symbol:   variable i
  location: class practice
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
                 ^
  symbol:   variable i
  location: class practice
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
                         ^
  symbol:   variable i
  location: class practice
4 errors
Language: Java

public class Main{
    public static void main(String[] args){
        for(i=0; i<1000; i++){
          System.out.println("Hellow World");
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
            ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
                 ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
        for(i=0; i<1000; i++){
                         ^
  symbol:   variable i
  location: class Main
3 errors
Language: Java

public class Main{
  public static void main(String[] args){
    for(i=0; i<1000; i++){
    System.out.println("Hellow World");
    }
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    for(i=0; i<1000; i++){
        ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
    for(i=0; i<1000; i++){
             ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
    for(i=0; i<1000; i++){
                     ^
  symbol:   variable i
  location: class Main
3 errors
Language: Java

public class MANYHEllo{
 public static void main(String[] args){
  int i=0;
   for(i=0;i<999;i++){
    System.out.println("Hello World\n");
    i++;
   }
  System.out.println("Hello World");
 }
}

Compiler output:
Main.java:1: error: class MANYHEllo is public, should be declared in a file named MANYHEllo.java
public class MANYHEllo{
       ^
1 error
Language: Java

public class Main{
 public static void main(String[] args){
   for(int i=0;i<999;i++){
    System.out.println("Hello World
");
   }
  System.out.println("Hello World");
 }
}

Compiler output:
Main.java:4: error: unclosed string literal
    System.out.println("Hello World
                       ^
Main.java:5: error: unclosed string literal
");
^
2 errors
Language: Java

import java.util.Scanner;

public class Main_10005_2 {
	public static void main(String[] args) {
		for(int i=0; i<1001; i++){
			System.out.printf("Hello World");
		}
	}
}  

Compiler output:
Main.java:3: error: class Main_10005_2 is public, should be declared in a file named Main_10005_2.java
public class Main_10005_2 {
       ^
1 error
Language: Java

public class Main {
  public static void main(String[] args){
   
   for(i=0;i++i<1000){

    System.out.println("Hello World\n");
   }
  }
}

Compiler output:
Main.java:4: error: ';' expected
   for(i=0;i++i<1000){
              ^
Main.java:4: error: not a statement
   for(i=0;i++i<1000){
               ^
2 errors
Language: Java

public class Main {
	public static void main(String[] args) {
		for(int i=0; i<1000; i++){
			System.out.print??????("Hello World");
		}
	}
}  

Compiler output:
Main.java:4: error: illegal start of expression
			System.out.print??????("Hello World");
			                 ^
Main.java:4: error: illegal start of expression
			System.out.print??????("Hello World");
			                  ^
Main.java:4: error: illegal start of expression
			System.out.print??????("Hello World");
			                   ^
Main.java:4: error: illegal start of expression
			System.out.print??????("Hello World");
			                    ^
Main.java:4: error: illegal start of expression
			System.out.print??????("Hello World");
			                     ^
Main.java:4: error: : expected
			System.out.print??????("Hello World");
			                                     ^
Main.java:4: error: not a statement
			System.out.print??????("Hello World");
			                ^
7 errors
Language: Java

public class lesson2_1 {
	public static void main(String[] args) {
		String line = "Hello World";
		for (int i = 0; i < 10; i++)
			System.out.println(line);
	}
}

Compiler output:
Main.java:1: error: class lesson2_1 is public, should be declared in a file named lesson2_1.java
public class lesson2_1 {
       ^
1 error
Language: Java

import java.util.Scanner;
public class Hello {
public static void main(String[] args) {
	for(int i=1;i<=1000;i++){
System.out.println("Hello World!\n");
}
}
}

Compiler output:
Main.java:2: error: class Hello is public, should be declared in a file named Hello.java
public class Hello {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    if(int i = 0; i < 999; i++){
    System.out.printf("Hello world");
   }

}

}

Compiler output:
Main.java:5: error: '.class' expected
    if(int i = 0; i < 999; i++){
           ^
Main.java:5: error: illegal start of type
    if(int i = 0; i < 999; i++){
                      ^
Main.java:5: error: not a statement
    if(int i = 0; i < 999; i++){
                    ^
Main.java:5: error: ';' expected
    if(int i = 0; i < 999; i++){
                              ^
4 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int i = sc.nextInt();
    if( i = 0; i < 999; i++){
    System.out.printf("Hello world");
   }

}

}

Compiler output:
Main.java:7: error: ')' expected
    if( i = 0; i < 999; i++){
             ^
Main.java:7: error: illegal start of type
    if( i = 0; i < 999; i++){
                   ^
Main.java:7: error: not a statement
    if( i = 0; i < 999; i++){
                 ^
Main.java:7: error: ';' expected
    if( i = 0; i < 999; i++){
                           ^
4 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int sc = nextInt();
  if(sc = 0;sc < 999;sc++){
    System.out.printf("Hello World\n");
    }

  }

}

Compiler output:
Main.java:7: error: ')' expected
  if(sc = 0;sc < 999;sc++){
           ^
Main.java:7: error: illegal start of type
  if(sc = 0;sc < 999;sc++){
                 ^
Main.java:7: error: not a statement
  if(sc = 0;sc < 999;sc++){
               ^
Main.java:7: error: ';' expected
  if(sc = 0;sc < 999;sc++){
                         ^
4 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int sc = nextInt();
  if(int sc = 0;sc < 999;sc++){
    System.out.printf("Hello World\n");
    }

  }

}

Compiler output:
Main.java:7: error: '.class' expected
  if(int sc = 0;sc < 999;sc++){
         ^
Main.java:7: error: illegal start of type
  if(int sc = 0;sc < 999;sc++){
                     ^
Main.java:7: error: not a statement
  if(int sc = 0;sc < 999;sc++){
                   ^
Main.java:7: error: ';' expected
  if(int sc = 0;sc < 999;sc++){
                             ^
4 errors
Language: Java


public class Main2 {
	public static void main(String[] args){
			int i;
			for(i=0;i<1000;i++){
				System.out.println("Hello World");
		}
	}
}

Compiler output:
Main.java:2: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int sc = nextInt();
  if(int sc = 0;sc < 999;sc++){
    System.out.println("Hello World\n");
    }

  }

}

Compiler output:
Main.java:7: error: '.class' expected
  if(int sc = 0;sc < 999;sc++){
         ^
Main.java:7: error: illegal start of type
  if(int sc = 0;sc < 999;sc++){
                     ^
Main.java:7: error: not a statement
  if(int sc = 0;sc < 999;sc++){
                   ^
Main.java:7: error: ';' expected
  if(int sc = 0;sc < 999;sc++){
                             ^
4 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int sc = nextInt();
  if(sc = 0;sc < 999;sc++){
    System.out.println("Hello World\n");
    }

  }

}

Compiler output:
Main.java:7: error: ')' expected
  if(sc = 0;sc < 999;sc++){
           ^
Main.java:7: error: illegal start of type
  if(sc = 0;sc < 999;sc++){
                 ^
Main.java:7: error: not a statement
  if(sc = 0;sc < 999;sc++){
               ^
Main.java:7: error: ';' expected
  if(sc = 0;sc < 999;sc++){
                         ^
4 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
  Scanner sc = new Scanner(System.in);
  int sc = nextInt();
  for(sc = 0;sc < 999;sc++){
    System.out.println("Hello World\n");
    }

  }

}

Compiler output:
Main.java:6: error: variable sc is already defined in method main(String[])
  int sc = nextInt();
      ^
Main.java:6: error: cannot find symbol
  int sc = nextInt();
           ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: Java


public class Hallo1000 {
	public static void main(String[] args) {
		for (int i = 0; i <= 999; i++) {
			System.out.println("Hallo World");
		}
	}
}

Compiler output:
Main.java:2: error: class Hallo1000 is public, should be declared in a file named Hallo1000.java
public class Hallo1000 {
       ^
1 error
Language: Java

public class Hello {
    public static void main(String[] args){
        for(int i = 0; i < 1000; ++i)
        {
            System.out.println("Hello World");
        }
    }
}

Compiler output:
Main.java:1: error: class Hello is public, should be declared in a file named Hello.java
public class Hello {
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(Syatem.in);
    int i = sc.nextInt();
    for(i=0;i<999;i++){
      System.out.println("Hello World\n");
    }
 }

}

Compiler output:
Main.java:5: error: cannot find symbol
    Scanner sc = new Scanner(Syatem.in);
                             ^
  symbol:   variable Syatem
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class PrintChessboard {
	public static void main(String[]args){
		
		String line = "Hello world";
		for(int i = 0; i <1000;i++){
			System.out.println(line);
		}
	}
}

Compiler output:
Main.java:3: error: class PrintChessboard is public, should be declared in a file named PrintChessboard.java
public class PrintChessboard {
       ^
1 error
Language: Java

public class Hello1000{
	public static void main(String[] args){
		for (int i = 0; i < 1000; i++){
			System.out.printf("Hello World\n");
		}
	}
}

Compiler output:
Main.java:1: error: class Hello1000 is public, should be declared in a file named Hello1000.java
public class Hello1000{
       ^
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
	for(int i=0; i<1000;i++){	System.out.printin("Hello World");
	}
}
}

Compiler output:
Main.java:3: error: cannot find symbol
	for(int i=0; i<1000;i++){	System.out.printin("Hello World");
	                         	          ^
  symbol:   method printin(String)
  location: variable out of type PrintStream
1 error
Language: Java

Import java.util.Scanner;

public class Main{
            public static void main(String[] args){
                         int n = 1000;
                          do{n=n-1;
                                system.out.print?\n("Hello World");
}while(n>0);
}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
Import java.util.Scanner;
^
Main.java:7: error: illegal character: '\'
                                system.out.print?\n("Hello World");
                                                 ^
Main.java:7: error: not a statement
                                system.out.print?\n("Hello World");
                                                ^
3 errors
Language: Java

Import java.util.Scanner;

public class Main{
            public static void main(String[] args){
                         int n = 1000;
                          do{n=n-1;
                                system.out.println("Hello World");
}while(n>0);
}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
Import java.util.Scanner;
^
1 error
Language: Java

import java.util.Scanner;

public class Main{
            public static void main(String[] args){
                         int n = 1000;
                          do{n=n-1;
                                system.out.print?\n("Hello World");
}while(n>0);
}
}

Compiler output:
Main.java:7: error: illegal character: '\'
                                system.out.print?\n("Hello World");
                                                 ^
Main.java:7: error: not a statement
                                system.out.print?\n("Hello World");
                                                ^
2 errors
Language: Java

import java.util.Scanner;

public class Main{
            public static void main(String[] args){
                         int n = 1000;
                          do{
                               n=n-1;
                                system.out.print?\n("Hello World");
}while(n>0);
}
}

Compiler output:
Main.java:8: error: illegal character: '\'
                                system.out.print?\n("Hello World");
                                                 ^
Main.java:8: error: not a statement
                                system.out.print?\n("Hello World");
                                                ^
2 errors
Language: Java

public class Main {
	private static final PrintStream O=System.out;
	private static final int N=1000;
	
	public static void main(String[] args) {
		for(int i=0;i<N;i++)
			O.println("Hello World");
	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	private static final PrintStream O=System.out;
	                     ^
  symbol:   class PrintStream
  location: class Main
1 error
Language: Java

import java.util.*;

class Main{
    private static Scanner s = new Scanner(System.in);
    public static void main(Strong[] args){
	for(int i = 0 ; i < 1000 ; i++)
	    System.out.println("Hello World");
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
    public static void main(Strong[] args){
                            ^
  symbol:   class Strong
  location: class Main
1 error
Language: Java

class Main{
  public static void main(String[] args){
    for (i = 0; i < 1000; i++) {
      System.out.println("Hello World");
    }
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    for (i = 0; i < 1000; i++) {
         ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
    for (i = 0; i < 1000; i++) {
                ^
  symbol:   variable i
  location: class Main
Main.java:3: error: cannot find symbol
    for (i = 0; i < 1000; i++) {
                          ^
  symbol:   variable i
  location: class Main
3 errors
Language: Java

public {
	public static void main(String[] args)
	{
		for (int i = 0; i < 1000; i++)
		{
			System.out.println("HelloWorld!!");
		}
	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public {
       ^
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args)
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:9: error: class, interface, enum, or record expected
}
^
3 errors
Language: Java

class Main {
public static void main(String[] args) {
for(int = 0; i < 1000; i++) System.out.println("Hello World");
}

Compiler output:
Main.java:3: error: not a statement
for(int = 0; i < 1000; i++) System.out.println("Hello World");
    ^
Main.java:3: error: ';' expected
for(int = 0; i < 1000; i++) System.out.println("Hello World");
       ^
Main.java:3: error: illegal start of expression
for(int = 0; i < 1000; i++) System.out.println("Hello World");
        ^
Main.java:3: error: not a statement
for(int = 0; i < 1000; i++) System.out.println("Hello World");
               ^
Main.java:3: error: ')' expected
for(int = 0; i < 1000; i++) System.out.println("Hello World");
                     ^
Main.java:3: error: ';' expected
for(int = 0; i < 1000; i++) System.out.println("Hello World");
                          ^
Main.java:4: error: reached end of file while parsing
}
 ^
7 errors
Language: Java

public class aoj10005 {
  public static void main(String[] args){
		for(int i=0;i<1000;++i)
		  System.out.println("Hello World");
	}
}

Compiler output:
Main.java:1: error: class aoj10005 is public, should be declared in a file named aoj10005.java
public class aoj10005 {
       ^
1 error
Language: Java

public class Manyhello {
        public static void main (String args[]) {
                for(int i=0; i<100; i++) {
                        System.out.println("Hello World");
                }
        }
}

Compiler output:
Main.java:1: error: class Manyhello is public, should be declared in a file named Manyhello.java
public class Manyhello {
       ^
1 error
Language: Java

class Main {
	public static void main(String[] args) throws IOException {
		
		
		
		for(int i = 0; i <=100; i++) {
			System.out.println("Hello World");
		}
		
	}

}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
1 error
Language: C

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

int main(){

	for(int i=0; i<1000, i++)
		printf("Hello World\n");

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:6:33: error: expected ';' before ')' token
    6 |         for(int i=0; i<1000, i++)
      |                                 ^
      |                                 ;
Language: C

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

int main(){

	int i;
	for(i=0; i<1000, i++)
		printf("Hello World\n");

	return 0;

}

Compiler output:
main.c: In function 'main':
main.c:7:29: error: expected ';' before ')' token
    7 |         for(i=0; i<1000, i++)
      |                             ^
      |                             ;
Language: C

#include <stdio.h>

int main(void) {
	for(int i = 0; i == 1000: i++){
		printf("Hello World\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:33: error: expected ';' before ':' token
    4 |         for(int i = 0; i == 1000: i++){
      |                                 ^
      |                                 ;
Language: C

#include<stdio.h>
int main(void)
{
	int i;
	for(i=0;i<1000;i++)
		printf("Hello World\n");
	}
	return 0;
}

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

#include <stdio.h>

int main(void)
{
	int i;
	char C[12];
	
	C = {"Hello World"};
	
	for(i=1 ; i<1000 ; i++){
		printf("%s\n", C);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected expression before '{' token
    8 |         C = {"Hello World"};
      |             ^
Language: C

#include <stdio.h>

int main(void){
    int i;
    for (i = 0;i <=1000;i++ )
        printf("Hallo World\n");

     return 0;

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

#include<stdio.h>
int main(){
  int a=1;
  while(a<=1000){
    a++1;
  }
  printf("Hello World\n");
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:5:8: error: expected ';' before numeric constant
    5 |     a++1;
      |        ^
      |        ;
Language: C

#include<stdio.h>
int main(){
int i=1;
while(i<=1000){
printf("Hello World\n");
i++}
return(0);
}

Compiler output:
main.c: In function 'main':
main.c:6:4: error: expected ';' before '}' token
    6 | i++}
      |    ^
      |    ;
Language: C

#include<stdio.h>
int main(){
int i =1;
while( i <= 1000){
printf("Hello World\n");
i++}
return(0);
}

Compiler output:
main.c: In function 'main':
main.c:6:4: error: expected ';' before '}' token
    6 | i++}
      |    ^
      |    ;
Language: C

#include<stdio.h>
int main(){
	int i;
	for(i=0;i<1000;i++){
		printf("Hello World\n")
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:40: error: expected ';' before '}' token
    5 |                 printf("Hello World\n")
      |                                        ^
      |                                        ;
    6 |         }
      |         ~
Language: C

#include<stdio.h>

void main()
{
	int a;
	for(a=1;a<=1000;a++){
		printf("%d Hello world\n",a);
	}
       return 0
}

Compiler output:
main.c: In function 'main':
main.c:9:15: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
    9 |        return 0
      |               ^
main.c:3:6: note: declared here
    3 | void main()
      |      ^~~~
main.c:9:16: error: expected ';' before '}' token
    9 |        return 0
      |                ^
      |                ;
   10 | }
      | ~
Language: C

#include<stdio.h>

void main()
{
	int a;
	for(a=1;a<=100;a++){
		printf("Hello world\n");
	}
return 0
}

Compiler output:
main.c: In function 'main':
main.c:9:8: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
    9 | return 0
      |        ^
main.c:3:6: note: declared here
    3 | void main()
      |      ^~~~
main.c:9:9: error: expected ';' before '}' token
    9 | return 0
      |         ^
      |         ;
   10 | }
      | ~
Language: C

void main(void) {
for (int i = 0; i < 1000; i++) {
printf("Hello World\n");
}
}

Compiler output:
main.c: In function 'main':
main.c:3:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    3 | printf("Hello World\n");
      | ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | void main(void) {
main.c:3:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    3 | printf("Hello World\n");
      | ^~~~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>
int main(void){
    for( i = 0; i < 10; i++){
        printf("Hello Word\n");
    }
        return 0;

Compiler output:
main.c: In function 'main':
main.c:3:10: error: 'i' undeclared (first use in this function)
    3 |     for( i = 0; i < 10; i++){
      |          ^
main.c:3:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:9: error: expected declaration or statement at end of input
    6 |         return 0;
      |         ^~~~~~
Language: C

#include<stdio.h>

int main(){
    int i;
    for(i = 0 ; i <1000; i++){
          printf("Hello World\n);
    }
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:18: warning: missing terminating " character
    6 |           printf("Hello World\n);
      |                  ^
main.c:6:18: error: missing terminating " character
    6 |           printf("Hello World\n);
      |                  ^~~~~~~~~~~~~~~~
main.c:7:5: error: expected expression before '}' token
    7 |     }
      |     ^
main.c:6:18: error: expected ';' before '}' token
    6 |           printf("Hello World\n);
      |                  ^
      |                  ;
    7 |     }
      |     ~
Language: C

main(){
	for(int i=0;i<1000;i++)
	{
		printf("Hello World\n");
	}
	return (0);
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | main(){
main.c:4:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    4 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:4:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C


#include<stdioh>
int main ()
{
    int ;
    for(i=0;i<1000;i++){
        Hello World
    }


    return 0;    
}

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

#include<stdio.h>
#define A printf("Hello World");

int main()
{
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: unknown type name 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
    6 |         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
    8 |         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include <stdio.h>

int main(void){
    int i;
    for (i = 0; i == 1000; i = i + 1;){
        printf("HelloWorld\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:37: error: expected ')' before ';' token
    5 |     for (i = 0; i == 1000; i = i + 1;){
      |         ~                           ^
      |                                     )
Language: C

main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'n' defaults to 'int' [-Wimplicit-int]
main.c:1:25: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
      |                         ^~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts'
  +++ |+#include <stdio.h>
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
main.c:1:45: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
      |                                             ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
main.c:1:45: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
      |                                             ^~~~
main.c:1:45: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:1:52: error: expected ';' before '}' token
    1 | main(n){for(;n++<0x3e9;)puts("Hello World");exit(0)}
      |                                                    ^
      |                                                    ;
Language: C

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

  int i=1000;

  while(i-->0)
{
  pritf("Hello World\n");
}
  return 0;
}

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

#include <stdio.h>

int main (void) {
    int a, i=1;
    
    while(1) {
         scanf("%d", &a);
         if(a == 0)
             break;
         printf("Case %d: %d\n", i, a);
         i++
    }

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:13: error: expected ';' before '}' token
   11 |          i++
      |             ^
      |             ;
   12 |     }
      |     ~
Language: C

#include<stdio.h>

int main(void)
{
	for(t=0;t<1000;t++)
		printf("Hello World\n");
	return 0;
}

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

#include<stdio.h>

int main(void)
{
	for(t=0;t<1000;t++)
	{
		printf("Hello World\n");
	}
	return 0;
}

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

#include <stdio.h>
int main()
{
int i=0;

	whlile (i<1000) {
		printf("Hello World\n");
	i+=1
	}
return 0;
}	

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'whlile' [-Wimplicit-function-declaration]
    6 |         whlile (i<1000) {
      |         ^~~~~~
main.c:6:24: error: expected ';' before '{' token
    6 |         whlile (i<1000) {
      |                        ^~
      |                        ;
Language: C

#include <stdio.h>
int main()
{
int i=0;

	whlile (i<1000) {
		printf("Hello World\n");
	i+=1
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'whlile' [-Wimplicit-function-declaration]
    6 |         whlile (i<1000) {
      |         ^~~~~~
main.c:6:24: error: expected ';' before '{' token
    6 |         whlile (i<1000) {
      |                        ^~
      |                        ;
Language: C

#include <stdio.h>
int main()
{
int i=0;

	whlile (i<1000) {
		printf("Hello World\n");
	i=i+1
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'whlile' [-Wimplicit-function-declaration]
    6 |         whlile (i<1000) {
      |         ^~~~~~
main.c:6:24: error: expected ';' before '{' token
    6 |         whlile (i<1000) {
      |                        ^~
      |                        ;
Language: C

#include <stdio.h>
int main()
{
int i=0;

	while (i<1000) {
		printf("Hello World\n");
	i=i+1
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:14: error: expected ';' before '}' token
    8 |         i=i+1
      |              ^
      |              ;
    9 |         }
      |         ~
Language: C

#include <stdio.h>
int main()
{
int i=0;

	while (i<1000) {
		printf("Hello World\n");
	i++
	}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:12: error: expected ';' before '}' token
    8 |         i++
      |            ^
      |            ;
    9 |         }
      |         ~
Language: C

#include <studio.h>
int main(){
  int i;
    for(i=0;i<1000;i++){
     printf("Hello World");
}
return 0;
}
      

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

//AOJ10005
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=10005

//while版

#include <stdio.h>
int main(){
	int a;
	
	a=1;

	while (a==1000){
		printf("Hello World\n");
		
		a=a+1
		
	}
    
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:22: error: expected ';' before '}' token
   15 |                 a=a+1
      |                      ^
      |                      ;
   16 | 
   17 |         }
      |         ~
Language: C

//AOJ10005
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=10005

//while版

#include <stdio.h>
int main(){
	int a;
	
	a=0;

	do
	{
		printf("Hello World\n");
		
		a=a+1;
		
	}while (a==1000)
    
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:25: error: expected ';' before 'return'
   18 |         }while (a==1000)
      |                         ^
      |                         ;
   19 | 
   20 |         return 0;
      |         ~~~~~~
Language: C

//AOJ10005
//http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=10005

//while版

#include <stdio.h>
int main(){
	int a;
	
	a=1;	//a=1ではない

		//a==ではない
	do
	{
		a=a+1;
		
		printf("Hello World\n");
		
		
	}while(a==1000);
    
	return 0;
}

Compiler output:
main.c:1:1: error: stray '\177' in program
    1 | <U+007F>//AOJ10005
      | ^~~~~~~~
Language: C

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

	for(i=0;i<1000;i++){
	        printf("Hello World\n");   
 	}   
	
	return 0;
}

Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include <stdio.h>int main(){
      |                   ^~~
main.c:5:9: error: expected identifier or '(' before 'for'
    5 |         for(i=0;i<1000;i++){
      |         ^~~
main.c:5:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    5 |         for(i=0;i<1000;i++){
      |                  ^
main.c:5:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    5 |         for(i=0;i<1000;i++){
      |                         ^~
main.c:9:9: error: expected identifier or '(' before 'return'
    9 |         return 0;
      |         ^~~~~~
main.c:10:1: error: expected identifier or '(' before '}' token
   10 | }
      | ^
Language: C

#include(stdio.h)
int main(void)
{
	int i;
	for(i=1;i<=1000;i++) {
		printf("Hello World\n");
	}
	return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:6:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:6:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:6:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>

int main(){

for(i = 0; i < 100; i++){
printf("Hello World\n");
}

return 0;
}

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

#include<stdio.h>
int main(void)
{
    for(i=0;i>=999;i++;){
         printf("Hello World\n");
    }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: 'i' undeclared (first use in this function)
    4 |     for(i=0;i>=999;i++;){
      |         ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:23: error: expected ')' before ';' token
    4 |     for(i=0;i>=999;i++;){
      |        ~              ^
      |                       )
Language: C

#include<stdio.h>
int main(void){
    for(i=0;i<1000;i++){
    printf("Hello World\n")
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:9: error: 'i' undeclared (first use in this function)
    3 |     for(i=0;i<1000;i++){
      |         ^
main.c:3:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:28: error: expected ';' before '}' token
    4 |     printf("Hello World\n")
      |                            ^
      |                            ;
    5 |     }
      |     ~
Language: C

#include <stdio.h>
int i;
 
int main(void) {
 
for(i=0; i<1000; i++){
 print("Hello World\n");
}
 
        return 0;
}

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

#include <stdio.h>

int main(void) {
int i;
 
for(i=0; i<1000; i++){
 print("Hello World\n");
}
 
        return 0;
}

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

#include<stdio.h>

int main(void){

    int a = 0;

   for(a=1,a<1001,a++){

   printf("Hello World\n");

   }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:22: error: expected ';' before ')' token
    7 |    for(a=1,a<1001,a++){
      |                      ^
      |                      ;
main.c:7:22: error: expected expression before ')' token
Language: C

#include<stdio.h>
  
main(){
	for(i=0;i<=999;i++){
		printf("Hello World");
	}
return 0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:4:13: error: 'i' undeclared (first use in this function)
    4 |         for(i=0;i<=999;i++){
      |             ^
main.c:4:13: note: each undeclared identifier is reported only once for each function it appears in
Language: C

include <stdio.h>

int main(){
    int i;
    for(i = 0; i < 1000 ; i++){
        printf("Hello World\n");
    }
    return 0;
}

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

int main(){
	for(i = 0; i < 1000;i++){
		printf("Hello World\n");
	}
}

Compiler output:
main.c: In function 'main':
main.c:2:13: error: 'i' undeclared (first use in this function)
    2 |         for(i = 0; i < 1000;i++){
      |             ^
main.c:2:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    3 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    3 |                 printf("Hello World\n");
      |                 ^~~~~~
main.c:3:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

 #include <stdio.h> 
 int main(void) 
 {
   int a;
   for(a=1;a==1000;a++){
     printf("Hello World");
  return(0); 
 } 

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

include<stdio.h>
int	main()
{
	int	i=1;
	while(i<=1000){
		printf("Hello World\n");
		i=1+1;
	}
	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 i;
	for(i=0;i<100;i++)
		printf("Hello World\n")

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:40: error: expected ';' before 'return'
    7 |                 printf("Hello World\n")
      |                                        ^
      |                                        ;
    8 | 
    9 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>

int main(void)
{
	int i;
	for(i=0;i<1000;i++)
		printf("Hello World\n")

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:40: error: expected ';' before 'return'
    7 |                 printf("Hello World\n")
      |                                        ^
      |                                        ;
    8 | 
    9 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>

int main(void)
{
	int i;
	while(i==0){
	i=1000;
	printf("Hello World\n");
	i--
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:12: error: expected ';' before '}' token
    9 |         i--
      |            ^
      |            ;
   10 |         }
      |         ~
Language: C

#include <stdio.h>

int main(void)
{
	int i;
	for(i=0;i<1000;i++)
		printf("Hello Worlld\n")
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:41: error: expected ';' before 'return'
    7 |                 printf("Hello Worlld\n")
      |                                         ^
      |                                         ;
    8 |         return 0;
      |         ~~~~~~
Language: C

#include <stdio.h>

int Output(int a){

if (a<1000){
           printf("Hello World!");            
           a++
           Output();
}

return 0;

}
int main(){
int a=0;
Output(a);
return 0;
}

Compiler output:
main.c: In function 'Output':
main.c:7:15: error: expected ';' before 'Output'
    7 |            a++
      |               ^
      |               ;
    8 |            Output();
      |            ~~~~~~
Language: C

#include <stdio.h>

int
main()
{
	int i;

	i = 0;
	while (i < 1000) {
		printf("Hello world);
		i++;
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:24: warning: missing terminating " character
   10 |                 printf("Hello world);
      |                        ^
main.c:10:24: error: missing terminating " character
   10 |                 printf("Hello world);
      |                        ^~~~~~~~~~~~~~
main.c:11:20: error: expected ')' before ';' token
   11 |                 i++;
      |                    ^
      |                    )
main.c:10:23: note: to match this '('
   10 |                 printf("Hello world);
      |                       ^
main.c:11:18: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   11 |                 i++;
      |                 ~^~
      |                  |
      |                  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:11:21: error: expected ';' before '}' token
   11 |                 i++;
      |                     ^
      |                     ;
   12 |         }
      |         ~
Language: C

#include <stdio.h>

int main(){
	c  = 1000;
	while (--c) printf("Hello World\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: 'c' undeclared (first use in this function)
    4 |         c  = 1000;
      |         ^
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void)
{
	for(i = 0; i < 1000; i++)
	{
		printf("Hello World");
	}
	
	return 0;
	
}

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

int main(){
 for(int i=0; i<1000; i++){
  printf("Hello World\n");
 }

 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    3 |   printf("Hello World\n");
      |   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    3 |   printf("Hello World\n");
      |   ^~~~~~
main.c:3:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

int main(){
 int i=0
 for(i=0; i<1000; i++){
  printf("Hello World\n");
 }

 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:2: error: expected ',' or ';' before 'for'
    3 |  for(i=0; i<1000; i++){
      |  ^~~
main.c:3:22: error: expected ';' before ')' token
    3 |  for(i=0; i<1000; i++){
      |                      ^
      |                      ;
main.c:3:22: error: expected statement before ')' token
main.c:4:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |   printf("Hello World\n");
      |   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:4:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    4 |   printf("Hello World\n");
      |   ^~~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>
int main(void)
{
int i;
i=0;

 while(i<1001)
 {
  printf("Hello World \n");
  i ++;
 }





turn 0;
}

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

#include<stdio.h>
int main(void)
{
 int i;
 i=0;
   while(i<1000;i ++;)
   {
    printf("Hello World \n");
    
   }
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:16: error: expected ')' before ';' token
    6 |    while(i<1000;i ++;)
      |         ~      ^
      |                )
Language: C

include<stdio.h>
int main(){
	
	int n;
	for(n = 1;n <= 1000;n++){
		printf("Hello World\n");

		if(n == 1000) break;

	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 n;
	for(n = 1;n <= 1000;n++){
		printf("Hello World\n");

		if(n == 1000) break;
        }

	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 n;
	for(n = 1;n <= 1000;n++){
		printf("Hello World\n");

		if(n == 1000) break;
	}
	return 0;
}

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