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

import java.util.Scanner;

public class Main {
	public static void main (String[] args) {
		Scanner scanner = new Scanner(System.in);
		int x = new scanner.nextInt();
		int y = new scanner.nextInt();

		System.out.println(x*y);
		System.out.println(" ");
		System.out.println(x*2+y*2);
	}
}

Compiler output:
Main.java:6: error: package scanner does not exist
		int x = new scanner.nextInt();
		                   ^
Main.java:7: error: package scanner does not exist
		int y = new scanner.nextInt();
		                   ^
2 errors
Language: Java

import.java.util.*
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
        return z;
        return w;
}

Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.*
      ^
Main.java:1: error: ';' expected
import.java.util.*
                  ^
Main.java:11: error: reached end of file while parsing
}
 ^
3 errors
Language: Java

import.java.util.*
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
        return z;
        return w;
    }
}

Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.*
      ^
Main.java:1: error: ';' expected
import.java.util.*
                  ^
2 errors
Language: Java

import.java.util.*;
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
        return z;
        return w;
    }
}

Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.*;
      ^
1 error
Language: Java

import.java.util.*;
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
　　　　System.out.println(z + " " + w);
    }
}

Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.*;
      ^
Main.java:9: error: illegal character: '\u3000'
????System.out.println(z + " " + w);
^
Main.java:9: error: illegal character: '\u3000'
????System.out.println(z + " " + w);
 ^
Main.java:9: error: illegal character: '\u3000'
????System.out.println(z + " " + w);
  ^
Main.java:9: error: illegal character: '\u3000'
????System.out.println(z + " " + w);
   ^
5 errors
Language: Java

import.java.util.*;
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
        System.out.println(z + " " + w);
    }
}

Compiler output:
Main.java:1: error: <identifier> expected
import.java.util.*;
      ^
1 error
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = Integer.parseInt(in.next());
        int y = Integer.parseint(in.next());
        int z = x * y;
        int w = 2 * z;
        System.out.println(z + " " + w);
    }
}

Compiler output:
Main.java:7: error: cannot find symbol
        int y = Integer.parseint(in.next());
                       ^
  symbol:   method parseint(String)
  location: class Integer
1 error
Language: Java

import java.util.Scanner;
 
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = stdIn.nextInt();
        int y = stdIn.nextInt();
        int z = x * y;
        int w = 2 * z;
        System.out.println(z + " " + w);
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
        int x = stdIn.nextInt();
                ^
  symbol:   variable stdIn
  location: class Main
Main.java:7: error: cannot find symbol
        int y = stdIn.nextInt();
                ^
  symbol:   variable stdIn
  location: class Main
2 errors
Language: Java

import java.util.Scanner;
  
class Main{
    public static void main(String [] args){
        Scanner in = new Scanner(System.in);
        int x = stdIn.nextInt();
        int y = stdIn.nextInt();
        System.out.println(x*y + " " + 2*(x*y));
    }
}

Compiler output:
Main.java:6: error: cannot find symbol
        int x = stdIn.nextInt();
                ^
  symbol:   variable stdIn
  location: class Main
Main.java:7: error: cannot find symbol
        int y = stdIn.nextInt();
                ^
  symbol:   variable stdIn
  location: class Main
2 errors
Language: Java

import java.until.Scanner;

class Main{
	public static void main(String[] args){
	  Scanner d = new Scanner(System.in);
	  int a = d.nextInt();
	  int b = d.nextInt();
	  System.out.println(a*b + " " + 2*(a+b)) ;
}
}

Compiler output:
Main.java:1: error: package java.until does not exist
import java.until.Scanner;
                 ^
Main.java:5: error: cannot find symbol
	  Scanner d = new Scanner(System.in);
	  ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
	  Scanner d = new Scanner(System.in);
	                  ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

class Main {
    public static vod main(String...args) {
        Scanner stdin = new Scanner(System.in);
        int a = stdin.nextInt();
        int b = stdin.nextInt();

        System.out.println( (a * b) + " " + ((a + b) * 2);
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
        System.out.println( (a * b) + " " + ((a + b) * 2);
                                                         ^
1 error
Language: Java

class Main {
    public static vod main(String...args) {
        Scanner stdin = new Scanner(System.in);
        int a = stdin.nextInt();
        int b = stdin.nextInt();

        System.out.println( (a * b) + " " + ((a + b) * 2));
    }
}

Compiler output:
Main.java:2: error: cannot find symbol
    public static vod main(String...args) {
                  ^
  symbol:   class vod
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner stdin = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
        Scanner stdin = new Scanner(System.in);
                            ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args){
  Scanner std = new Scanner(System.in);
  int a = std.nextInt();
  int b = std.nextInt();
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
 }
}
  

Compiler output:
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                      ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                          ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                                       ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                                           ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                                                 ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x * x) + (y * y)));
                                                     ^
  symbol:   variable y
  location: class Main
6 errors
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args){
  Scanner std = new Scanner(System.in);
  int a = std.nextInt();
  int b = std.nextInt();
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
 }
}
  

Compiler output:
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                      ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                          ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                                       ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                                           ^
  symbol:   variable x
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                                                 ^
  symbol:   variable y
  location: class Main
Main.java:7: error: cannot find symbol
  System.out.println((x * y) + " " + ((x + x) + (y + y)));
                                                     ^
  symbol:   variable y
  location: class Main
6 errors
Language: C

#include<stdio.h>
int main(void){
scanf("%d %d",a,b);
printf("%d %d",a*b,2*a+2*b);
return 0;
}


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

#include <stdio.h>
int main(void)
{
  int a.b;
  scanf("%d %d", a,b):
  printf("%d %d", a * b,2a + 2b);
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 |   int a.b;
      |        ^
main.c:4:8: error: expected expression before '.' token
main.c:5:18: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d %d", a,b):
      |                  ^
main.c:5:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:20: error: 'b' undeclared (first use in this function)
    5 |   scanf("%d %d", a,b):
      |                    ^
main.c:5:22: error: expected ';' before ':' token
    5 |   scanf("%d %d", a,b):
      |                      ^
      |                      ;
main.c:6:25: error: invalid suffix "a" on integer constant
    6 |   printf("%d %d", a * b,2a + 2b);
      |                         ^~
main.c:6:30: error: invalid suffix "b" on integer constant
    6 |   printf("%d %d", a * b,2a + 2b);
      |                              ^~
Language: C

#include <stdio.h>

int main()
{
  int a,b;
  scanf("%d %d", &a, &b);
  printf("%d %d", a*b, 2(a+b));
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: called object is not a function or function pointer
    7 |   printf("%d %d", a*b, 2(a+b));
      |                        ^
Language: C

#include<stdio.h>
int main(void){
int a,b;
scanf("%d%d",&a,&b);
prinf("%d %d",a*b,2:a+2*b);
}


Compiler output:
main.c: In function 'main':
main.c:5:1: error: implicit declaration of function 'prinf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    5 | prinf("%d %d",a*b,2:a+2*b);
      | ^~~~~
      | printf
main.c:5:20: error: expected ')' before ':' token
    5 | prinf("%d %d",a*b,2:a+2*b);
      |      ~             ^
      |                    )
Language: C

#include<stdio.h>
int main(void){
int a,b;
scanf("%d%d",&a,&b);
printf("%d %d",a*b,2:a+2*b);
}


Compiler output:
main.c: In function 'main':
main.c:5:21: error: expected ')' before ':' token
    5 | printf("%d %d",a*b,2:a+2*b);
      |       ~             ^
      |                     )
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'b'
    3 |    int a b;
      |          ^
main.c:3:10: error: 'b' undeclared (first use in this function)
main.c:3:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:19: error: 'a' undeclared (first use in this function)
    4 |    scanf("%d %d",&a,&b);
      |                   ^
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
   scanf("%d %d" ,&a,&b);
   printf("%d %d\n",a*b,2*a+2*b);   
   return 0;
}



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

include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
   scanf("%d %d" ,&a,&b);
   printf("%d %d\n",a*b,2a+2b);   
   return 0;
}



Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c:6:25: error: invalid suffix "a" on integer constant
    6 |    printf("%d %d\n",a*b,2a+2b);
      |                         ^~
main.c:6:28: error: invalid suffix "b" on integer constant
    6 |    printf("%d %d\n",a*b,2a+2b);
      |                            ^~
Language: C

#include <stdio.h>
int main(void){
    int a,b;
    scanf("%d %d",&a,&b);
    printf("%d\n",a*b 2*a+2*b);// Your code here!
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected ')' before numeric constant
    5 |     printf("%d\n",a*b 2*a+2*b);// Your code here!
      |           ~          ^~
      |                      )
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d\n" ,n*m,n+nm+m);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:26: error: 'nm' undeclared (first use in this function); did you mean 'm'?
    6 |     printf("%d\n" ,n*m,n+nm+m);
      |                          ^~
      |                          m
main.c:6:26: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d\n" ,n+nm+m,n*m);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:22: error: 'nm' undeclared (first use in this function); did you mean 'm'?
    6 |     printf("%d\n" ,n+nm+m,n*m);
      |                      ^~
      |                      m
main.c:6:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d\n" ,n*mn+n+m+m);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:22: error: 'mn' undeclared (first use in this function); did you mean 'm'?
    6 |     printf("%d\n" ,n*mn+n+m+m);
      |                      ^~
      |                      m
main.c:6:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d\n" ,n*mn+n+m+m);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:22: error: 'mn' undeclared (first use in this function); did you mean 'm'?
    6 |     printf("%d\n" ,n*mn+n+m+m);
      |                      ^~
      |                      m
main.c:6:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
int main(void){
    // Your code here!
    int n,m;
    scanf("%d %d",&n,&m);
    printf("%d\n" ,n*m n+n+m+m);
    return 0;
}



Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ')' before 'n'
    6 |     printf("%d\n" ,n*m n+n+m+m);
      |           ~           ^~
      |                       )
Language: C

#include <stdio.h>

int main (){
  int a,b;

  scanf ("%d%d",&a,&b);

  printf ("%d %d",a*b,2(a+b));
  
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:23: error: called object is not a function or function pointer
    8 |   printf ("%d %d",a*b,2(a+b));
      |                       ^
Language: C

int main(int argc, const char * arg[] ){
 int a, b;
 scans(%d %d, &a, &b);
 printf("%d %d\n", a*b, 2*a+2*b);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:2: error: implicit declaration of function 'scans' [-Wimplicit-function-declaration]
    3 |  scans(%d %d, &a, &b);
      |  ^~~~~
main.c:3:8: error: expected expression before '%' token
    3 |  scans(%d %d, &a, &b);
      |        ^
main.c:4:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |  printf("%d %d\n", a*b, 2*a+2*b);
      |  ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main(int argc, const char * arg[] ){
main.c:4:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    4 |  printf("%d %d\n", a*b, 2*a+2*b);
      |  ^~~~~~
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

int main(int argc, const char * arg[] ){
 int a, b;
 scanf(%d %d, &a, &b);
 printf("%d %d\n", a*b, 2*a+2*b);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |  scanf(%d %d, &a, &b);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int argc, const char * arg[] ){
main.c:3:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |  scanf(%d %d, &a, &b);
      |  ^~~~~
main.c:3:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:8: error: expected expression before '%' token
    3 |  scanf(%d %d, &a, &b);
      |        ^
main.c:4:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |  printf("%d %d\n", a*b, 2*a+2*b);
      |  ^~~~~~
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

int main(int argc, const char * arg[] ){
 int a, b;
 scanf("%d %d," &a, &b);
 printf("%d %d\n", a*b, 2*a+2*b);
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |  scanf("%d %d," &a, &b);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(int argc, const char * arg[] ){
main.c:3:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |  scanf("%d %d," &a, &b);
      |  ^~~~~
main.c:3:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:17: error: invalid operands to binary & (have 'char *' and 'int')
    3 |  scanf("%d %d," &a, &b);
      |        ~~~~~~~~ ^
      |        |
      |        char *
main.c:4:2: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |  printf("%d %d\n", a*b, 2*a+2*b);
      |  ^~~~~~
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:2: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:2: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

int a,b;
scanf ("%d %d",&a,&b);
printf ("%d %d",a*b,2*a+2*b);
return 0;
}


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

#include<stdio.h>

main(){
         int x,y;
         scant("%d %d",&x, &y);
         printf("%d %d¥n",x*y,2*x+2*y);
         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:5:10: error: implicit declaration of function 'scant'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |          scant("%d %d",&x, &y);
      |          ^~~~~
      |          scanf
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d,%d",a,b);
    printf("%d %d",a*b,2(a+b))
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:24: error: called object is not a function or function pointer
    6 |     printf("%d %d",a*b,2(a+b))
      |                        ^
main.c:6:31: error: expected ';' before 'return'
    6 |     printf("%d %d",a*b,2(a+b))
      |                               ^
      |                               ;
    7 | 
    8 |     return 0;
      |     ~~~~~~
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d,%d",a,b);
    printf("%d %d",a*b,2(a+b));
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:24: error: called object is not a function or function pointer
    6 |     printf("%d %d",a*b,2(a+b));
      |                        ^
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d,%d",a,b);
    printf("%d %d",a*b,2a+2b);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:24: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d",a*b,2a+2b);
      |                        ^~
main.c:6:27: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d",a*b,2a+2b);
      |                           ^~
Language: C

#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d,%d",&a,&b);
    printf("%d %d",a*b,2a+2b);
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:24: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d",a*b,2a+2b);
      |                        ^~
main.c:6:27: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d",a*b,2a+2b);
      |                           ^~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:26: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d\n",a*b,2a+2b);
      |                          ^~
main.c:6:29: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d\n",a*b,2a+2b);
      |                             ^~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:27: error: invalid suffix "a" on integer constant
    6 |     printf("%d %d\n",a*b ,2a+2b);
      |                           ^~
main.c:6:30: error: invalid suffix "b" on integer constant
    6 |     printf("%d %d\n",a*b ,2a+2b);
      |                              ^~
Language: C

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


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

int main(){
    int a,b,x,y;
    scanf("%d%d",a,b);
    x=a+a+b+b;
    y=a*b;
    printf("%d %d",x,y;
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |     printf("%d %d",x,y;
      |     ^~~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:23: error: expected ')' before ';' token
    6 |     printf("%d %d",x,y;
      |           ~           ^
      |                       )
main.c:7:14: error: expected ';' before '}' token
    7 |     return 0;
      |              ^
      |              ;
    8 | }
      | ~
Language: C

int main(){
    int a,b,x,y;
    scanf("%d%d",a,b);
    x=a+a+b+b;
    y=a*b;
    printf("%d%d",x,y;
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |     printf("%d%d",x,y;
      |     ^~~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:22: error: expected ')' before ';' token
    6 |     printf("%d%d",x,y;
      |           ~          ^
      |                      )
main.c:7:14: error: expected ';' before '}' token
    7 |     return 0;
      |              ^
      |              ;
    8 | }
      | ~
Language: C

int main(){
    int a,b;
    scanf("%d%d",a,b);
    prinef("%d%d",a+a+b+b,a*b);
    printf("%d%d\n",x,y);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d%d",a,b);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:5: error: implicit declaration of function 'prinef' [-Wimplicit-function-declaration]
    4 |     prinef("%d%d",a+a+b+b,a*b);
      |     ^~~~~~
main.c:5:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |     printf("%d%d\n",x,y);
      |     ^~~~~~
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:21: error: 'x' undeclared (first use in this function)
    5 |     printf("%d%d\n",x,y);
      |                     ^
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:23: error: 'y' undeclared (first use in this function)
    5 |     printf("%d%d\n",x,y);
      |                       ^
Language: C

int main(){
    int a,b;
    scanf("%d%d",a,b);
    prinef("%d%d\n",a+a+b+b,a*b);
    return 0;
}


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

int main(){
    scanf("%d%d",&a,&b);
    printf("%d%d",a*b,a+a+b+b);
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:2:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    2 |     scanf("%d%d",&a,&b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:2:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    2 |     scanf("%d%d",&a,&b);
      |     ^~~~~
main.c:2:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:2:19: error: 'a' undeclared (first use in this function)
    2 |     scanf("%d%d",&a,&b);
      |                   ^
main.c:2:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:2:22: error: 'b' undeclared (first use in this function)
    2 |     scanf("%d%d",&a,&b);
      |                      ^
main.c:3:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    3 |     printf("%d%d",a*b,a+a+b+b);
      |     ^~~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:3:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%2d",&a,&b)
    printf("%2d",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:6:23: error: expected ';' before 'printf'
    6 |     scanf("%2d",&a,&b)
      |                       ^
      |                       ;
    7 |     printf("%2d",a*b,2a+2b);
      |     ~~~~~~             
main.c:7:22: error: invalid suffix "a" on integer constant
    7 |     printf("%2d",a*b,2a+2b);
      |                      ^~
main.c:7:25: error: invalid suffix "b" on integer constant
    7 |     printf("%2d",a*b,2a+2b);
      |                         ^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d%d",&a,&b)
    printf("%d%d",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:6:24: error: expected ';' before 'printf'
    6 |     scanf("%d%d",&a,&b)
      |                        ^
      |                        ;
    7 |     printf("%d%d",a*b,2a+2b);
      |     ~~~~~~              
main.c:7:23: error: invalid suffix "a" on integer constant
    7 |     printf("%d%d",a*b,2a+2b);
      |                       ^~
main.c:7:26: error: invalid suffix "b" on integer constant
    7 |     printf("%d%d",a*b,2a+2b);
      |                          ^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d%d",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:7:23: error: invalid suffix "a" on integer constant
    7 |     printf("%d%d",a*b,2a+2b);
      |                       ^~
main.c:7:26: error: invalid suffix "b" on integer constant
    7 |     printf("%d%d",a*b,2a+2b);
      |                          ^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d %d",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:7:24: error: invalid suffix "a" on integer constant
    7 |     printf("%d %d",a*b,2a+2b);
      |                        ^~
main.c:7:27: error: invalid suffix "b" on integer constant
    7 |     printf("%d %d",a*b,2a+2b);
      |                           ^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d %d\n",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:7:26: error: invalid suffix "a" on integer constant
    7 |     printf("%d %d\n",a*b,2a+2b);
      |                          ^~
main.c:7:29: error: invalid suffix "b" on integer constant
    7 |     printf("%d %d\n",a*b,2a+2b);
      |                             ^~
Language: C

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(void)
{
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d\n%d\n",a*b,2a+2b);
    
    return 0;
    
}


Compiler output:
main.c: In function 'main':
main.c:7:27: error: invalid suffix "a" on integer constant
    7 |     printf("%d\n%d\n",a*b,2a+2b);
      |                           ^~
main.c:7:30: error: invalid suffix "b" on integer constant
    7 |     printf("%d\n%d\n",a*b,2a+2b);
      |                              ^~
Language: C

#include "stdafx.h"


int main() {
	int a, b;
	scanf("%d %d", &a, &b);
	printf("%d %d\n", a * b, 2 * (a + b));
	return 0; 
}


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

#include<ios tream>
using namespace std;

int main(){
    int a,b;
    scanf("%d %d",&a.&d);
    prantintf("%d %d",a*b,2*(a+b));
}



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

#include <stdio.h>
 
int main(int argc, char **argv) 
{
 int a,b;
 scanf("%d %d", &a, &b);
 printf("%d\n",a*b);
 
return EXIT_SUCCESS;
}


Compiler output:
main.c: In function 'main':
main.c:9:8: error: 'EXIT_SUCCESS' undeclared (first use in this function)
    9 | return EXIT_SUCCESS;
      |        ^~~~~~~~~~~~
main.c:2:1: note: 'EXIT_SUCCESS' is defined in header '<stdlib.h>'; this is probably fixable by adding '#include <stdlib.h>'
    1 | #include <stdio.h>
  +++ |+#include <stdlib.h>
    2 | 
main.c:9:8: note: each undeclared identifier is reported only once for each function it appears in
    9 | return EXIT_SUCCESS;
      |        ^~~~~~~~~~~~
Language: C

#include<stdio.h>
 
int main(){
    a=3; b=5;
    
    printf("a*b\n");
    
    printf("2*(a+b)");
    
    return 0;
}



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

#include<stdio.h>
 
int main(){
    a=3; b=5;
    
    scanf("a*b\n");
    
    scanf("2*(a+b)");
    
    return 0;
}



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

#include<stdio.h>
 
int main(void){
    int a=3; b=5;
    
    printf("面積=%d , 周の長さ=%d",a*b, 2*(a+b));
    
    return 0;
    
}

    


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

#include<stdio.h>
 
int main(void){
    int a=3; b=5;
    
    printf("面積=%d、 周の長さ=%d",a*b, 2*(a+b));
    
    return 0;
    
}



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

#include<stdio.h>
 
int main(void){
    int a=3; b=5;
    
    printf("面積=%d 周の長さ=%d",a*b, 2*(a+b));
    
    return 0;
    
}



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

#include<stdio.h>

#define A_MIN 1
#define B_MAX 100

int main(void)
{
    int a, b;

    scanf("%d %d", &a, &b);

    if(a < A_MIN || b > B_MAX)
    {
        return -1;
    }

    printf("%d %d", a*b, 2(a+b));

    return 0;

}


Compiler output:
main.c: In function 'main':
main.c:17:26: error: called object is not a function or function pointer
   17 |     printf("%d %d", a*b, 2(a+b));
      |                          ^
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d %d",&a &b);
    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d %d\n",c d);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d %d",&a &b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d %d",&a &b);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:22: error: invalid operands to binary & (have 'int *' and 'int')
    6 |     scanf("%d %d",&a &b);
      |                   ~~ ^
      |                   |
      |                   int *
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d\n",c d);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:23: error: expected ')' before 'd'
   11 |     printf("%d %d\n",c d);
      |           ~           ^~
      |                       )
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d%d",&a&b);
    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d%d\n",cd);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d%d",&a&b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d%d",&a&b);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:20: error: invalid operands to binary & (have 'int *' and 'int')
    6 |     scanf("%d%d",&a&b);
      |                  ~~^
      |                  |
      |                  int *
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d%d\n",cd);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:21: error: 'cd' undeclared (first use in this function); did you mean 'd'?
   11 |     printf("%d%d\n",cd);
      |                     ^~
      |                     d
main.c:11:21: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d,%d",&a,&b);
    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d,%d\n",c,d);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d,%d",&a,&b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d,%d",&a,&b);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d,%d\n",c,d);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d",&a);
    scanf("%d",&b);    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d %d\n",c,d);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d\n",c,d);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d",&a);
    scanf("%d",&b);    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d %d\n",c d);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d\n",c d);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:23: error: expected ')' before 'd'
   11 |     printf("%d %d\n",c d);
      |           ~           ^~
      |                       )
Language: C

#inclue<stdio.h>
int main(viod)
{
    int a,b,c,d;
    
    scanf("%d",&a);
    scanf("%d",&b);    
    c=a*b;
    d=2*a+2*b;
    
    printf("%d %d\n",&c,d);
    
    return 0;
}


Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:2:5: error: type of 'viod' defaults to 'int' [-Wimplicit-int]
    2 | int main(viod)
      |     ^~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d",&a);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |     printf("%d %d\n",&c,d);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'