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

#nclude <stdio.h>

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #nclude; did you mean #include?
    1 | #nclude <stdio.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf' was not declared in this scope
    6 |         scanf("%d %d",&a,&b);
      |         ^~~~~
a.cc:9:9: error: 'printf' was not declared in this scope
    9 |         printf("%d %d",s, l);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #nclude <stdio.h>
Language: C++

<?php
$number = trim(fgets(STDIN));
list($tate, $yoko) = split(" ",$number);

function area($a,$b){
return $a * $b;
}

function length($a,$b){
return ($a*2) + ($b*2);
}

print area($tate, $yoko);
print " "
print length($tate, $yoko);

?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:5: error: expected constructor, destructor, or type conversion before '(' token
    3 | list($tate, $yoko) = split(" ",$number);
      |     ^
a.cc:5:1: error: 'function' does not name a type; did you mean 'union'?
    5 | function area($a,$b){
      | ^~~~~~~~
      | union
a.cc:9:1: error: 'function' does not name a type; did you mean 'union'?
    9 | function length($a,$b){
      | ^~~~~~~~
      | union
a.cc:13:1: error: 'print' does not name a type; did you mean 'int'?
   13 | print area($tate, $yoko);
      | ^~~~~
      | int
a.cc:14:1: error: 'print' does not name a type; did you mean 'int'?
   14 | print " "
      | ^~~~~
      | int
a.cc:17:1: error: expected unqualified-id before '?' token
   17 | ?>
      | ^
Language: C++

#include <iostream>
using namespace std;

int main(){
	int a, b;
	int area, around;

	cin >> a >> b;

	area = a * b:
	around = 2*(a+b):

	cout << area << " " << around << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: found ':' in nested-name-specifier, expected '::'
   10 |         area = a * b:
      |                     ^
      |                     ::
a.cc:10:20: error: 'b' is not a class, namespace, or enumeration
   10 |         area = a * b:
      |                    ^
Language: C++

#include<stdio.h>

int main() {
	scanf("%d %d", &a, &b);

	int area = a*b;
	int c = a * 2 + b * 2;
	
	printf("%d\t%d", area, c);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:25: error: 'a' was not declared in this scope
    4 |         scanf("%d %d", &a, &b);
      |                         ^
a.cc:4:29: error: 'b' was not declared in this scope
    4 |         scanf("%d %d", &a, &b);
      |                             ^
Language: C++

#include<stdio.h>

int main() {
	int length = 0;
	int height = 0;
	int area = 0;
	int cir = 0;

	scanf("%d %d", &length, &height);
	area = length*height;
	cir = 2(length + height);

	printf("%d %d\n", area, cir);

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: expression cannot be used as a function
   11 |         cir = 2(length + height);
      |               ~^~~~~~~~~~~~~~~~~
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
 int a, b;
 scanf("%d %d", &a, &b);

 int mawari = 2*a+2*b;
 int s = a*b;

 printf("%d %d\n", s mawari);
 return 0;
}

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
 int a, b;
 scanf("%d %d", &a, &b );

 int mawari = 2*a+2*b;
 int s = a*b;

 printf("%d %d\n", s mawari );
 return 0;
}

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
 int a, b;
 scanf("%d %d", &a, &b);
 int s = a*b;
 int mawari = a * 2 + b * 2;

 printf("%d %d\n", s, mawari);
 return 0;
}
 

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
 int a, b;
 scanf("%d %d", &a, &b);
 int area = a*b;
 int c = a * 2 + b * 2;

 printf("%d %d\n", area, c);
 return 0;
}
 

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:23: error: 'area' was not declared in this scope
   12 |     printf("%d %d\n", area, c);
      |                       ^~~~
a.cc:12:29: error: 'c' was not declared in this scope
   12 |     printf("%d %d\n", area, c);
      |                             ^
Language: C++

#include<stdio.h>

int main(void)???{
 int a, b;
 scanf("%d %d", &a, &b);

 int area = a*b;
 int c = a*2+b*2;

 printf("%d %d\n", area, c);
return 0;
}
 

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
    int a, b;
    scanf("%d %d", &a, &b);

    int s = a*b;
    int mawari = a*2+b*2;

    printf("%d %d\n", s, mawari);
r eturn 0;
}
 

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

#include<stdio.h>

int main(void)???{
    int a, b;
    scanf("%d %d", &a, &b);

    int s = a*b;
    int mawari = a*2+b*2;

    printf("%d %d\n", s, mawari);
return 0;
}
 

Compiler output:
a.cc:3:15: error: expected initializer before '?' token
    3 | int main(void)???{
      |               ^
Language: C++

int main()
{
  int a,b;
  cin >> a >> b;
  cout << 2 * a + 2 * b << ' ' << a * b ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> a >> b;
      |   ^~~
a.cc:5:3: error: 'cout' was not declared in this scope
    5 |   cout << 2 * a + 2 * b << ' ' << a * b ;
      |   ^~~~
Language: C++

#include  <iostream>

int main()
{
  int a,b;
  cin >> a >> b;
  cout << 2 * a + 2 * b << ' ' << a * b ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout << 2 * a + 2 * b << ' ' << a * b ;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

public static void main(){
int a;
int b;
scanf("%d %d", &a, &b);
int c = a*b;
int d = a*2+b*2;
printf("%d %d", &c, &d);
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public static void main(){
      | ^~~~~~
Language: C++

#include<studio>
using namespace std;

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

Compiler output:
a.cc:1:9: fatal error: studio: No such file or directory
    1 | #include<studio>
      |         ^~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
int main(){
int a;
int b;
cin>>a>>b;
int c = a*b;
int d = a*2+b*2;
cout<<c<<d<<endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin>>a>>b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 | cout<<c<<d<<endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 | cout<<c<<d<<endl;
      |             ^~~~
      |             std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

int main(){
 int width=0, height=0;
 cin >> width >> height;
 cout << width*height << " " << (width+height)*2 << endl;
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |  cin >> width >> height;
      |  ^~~
      |  std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |  cout << width*height << " " << (width+height)*2 << endl;
      |  ^~~~
      |  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:53: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |  cout << width*height << " " << (width+height)*2 << endl;
      |                                                     ^~~~
      |                                                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
	int a,b;
	cin >> a b;
	cout << a*b << 2*a+2*b << endl;
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected ';' before 'b'
    6 |         cin >> a b;
      |                 ^~
      |                 ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: expected ';' before 'printf'
    6 |         length=2*(a+b)
      |                       ^
      |                       ;
    7 |         printf("%d %d\n",area length);
      |         ~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: expected ')' before 'length'
    7 |         printf("%d %d\n",area length);
      |               ~              ^~~~~~~
      |                              )
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: expected ')' before 'length'
    7 |         printf("%d %d\n",area length);
      |               ~              ^~~~~~~
      |                              )
Language: C++

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

Compiler output:
a.cc:1:9: fatal error: atdio.h: No such file or directory
    1 | #include<atdio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc:1:9: fatal error: atdio.h: No such file or directory
    1 | #include<atdio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include<atdio.h>
 
    int main(){
    
    int a, b, wa, sa,

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

    wa = a * b;

    sa = 2 ( a + b );

    printf("a * b = %d\n",wa);

    printf("2 ( a + b ) = %d\n",sa);

    return 0;
}

Compiler output:
a.cc:1:9: fatal error: atdio.h: No such file or directory
    1 | #include<atdio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: C++

#include<cstdio>
int main(){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	printf("%d",a*b);
	printf("%d ",2(a+b);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: expression cannot be used as a function
    7 |         printf("%d ",2(a+b);
      |                      ~^~~~~
Language: C++

#include<cstdio>
int main(){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	printf("%d ",a*b);
	printf("%d\n",2*(a+b);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: expected ')' before ';' token
    7 |         printf("%d\n",2*(a+b);
      |               ~              ^
      |                              )
Language: C++

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

int main(){
  int a,b;
  cin>>>a>>b;
  
  cout<<a*b<<" "<<2*(a+b)<<endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: expected primary-expression before '>' token
    6 |   cin>>>a>>b;
      |        ^
Language: C++

#include<iostream>
using name space std;

 int main(){
  
  int a,b;

  int S,L;

  cin >> a >> b ;

  S = a*b ;

  L = 2*(a+b) ;

  cout << S << L << endl;

 return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space std;
      |       ^~~~
a.cc: In function 'int main()':
a.cc:10:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   10 |   cin >> a >> b ;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:16:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |   cout << S << L << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:16:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   16 |   cout << S << L << endl;
      |                     ^~~~
      |                     std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using name space std;

 int main(){

  int a,b;
  int area,length;

  cin >> a >> b;

  area = a*b;
  length = 2*(a+b);

  cout << area << " " << length << endl;


 return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space std;
      |       ^~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:14:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |   cout << area << " " << length << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:36: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |   cout << area << " " << length << endl;
      |                                    ^~~~
      |                                    std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
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:
a.cc: In function 'int main()':
a.cc:7:28: error: expression cannot be used as a function
    7 |   printf("%d %d\n", a*b , 2(a+b));
      |                           ~^~~~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:11: error: expected ':' before 'static'
    4 |     public static void main(String args[] )  {
      |           ^~~~~~~
      |           :
a.cc:4:29: error: 'String' has not been declared
    4 |     public static void main(String args[] )  {
      |                             ^~~~~~
a.cc:12:6: error: expected ';' after class definition
   12 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void Main::main(int*)':
a.cc:5:13: error: 'Scanner' was not declared in this scope
    5 |             Scanner sc = new Scanner(System.in);
      |             ^~~~~~~
a.cc:6:21: error: 'sc' was not declared in this scope
    6 |             int a = sc.nextInt();
      |                     ^~
a.cc:10:13: error: 'System' was not declared in this scope
   10 |             System.out.println(i o);
      |             ^~~~~~
a.cc:10:34: error: expected ')' before 'o'
   10 |             System.out.println(i o);
      |                                  ^
a.cc:10:31: note: to match this '('
   10 |             System.out.println(i o);
      |                               ^
Language: C++

#include<iostream>
using namespace std;

int main(){
int n,m;
cin>>n;
cin>>m;
cout<<n*m<<2n+2m<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: unable to find numeric literal operator 'operator""n'
    8 | cout<<n*m<<2n+2m<<endl;
      |            ^~
a.cc:8:15: error: unable to find numeric literal operator 'operator""m'
    8 | cout<<n*m<<2n+2m<<endl;
      |               ^~
Language: C++

#include<iostream>
using namespace std;
 
int main(){
int n,m;
cin>>n;
cin>>m;
cout<<n*m<<" "<<2n+2m<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: unable to find numeric literal operator 'operator""n'
    8 | cout<<n*m<<" "<<2n+2m<<endl;
      |                 ^~
a.cc:8:20: error: unable to find numeric literal operator 'operator""m'
    8 | cout<<n*m<<" "<<2n+2m<<endl;
      |                    ^~
Language: C++

#include<iostream>
using namespace std;
 
int main(){
int n,m;
cin>>n,m;
cout<<n*m<<" "<<2n+2m<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: unable to find numeric literal operator 'operator""n'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                 ^~
a.cc:7:20: error: unable to find numeric literal operator 'operator""m'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                    ^~
Language: C++

#include<iostream>
using namespace std;
 
int main(){
int n,m;
cin>>n>>m;
cout<<n*m<<" "<<2n+2m<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: unable to find numeric literal operator 'operator""n'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                 ^~
a.cc:7:20: error: unable to find numeric literal operator 'operator""m'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                    ^~
Language: C++

#include<iostream>
using namespace std;
  
int main(){
int n,m;
cin>>n>>m;
cout<<n*m<<" "<<2n+2m<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: unable to find numeric literal operator 'operator""n'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                 ^~
a.cc:7:20: error: unable to find numeric literal operator 'operator""m'
    7 | cout<<n*m<<" "<<2n+2m<<endl;
      |                    ^~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
Language: C++

#include <iostream>
#include <csdio>
using namespace std;

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

Compiler output:
a.cc:2:10: fatal error: csdio: No such file or directory
    2 | #include <csdio>
      |          ^~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <csdio>
using namespace std;

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

Compiler output:
a.cc:2:10: fatal error: csdio: No such file or directory
    2 | #include <csdio>
      |          ^~~~~~~
compilation terminated.
Language: C++

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

int main()
{
	int a,b;
	cin >>a >> b
	cout <<a*b << " " << a*2 + b*2 << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before 'cout'
    8 |         cin >>a >> b
      |                     ^
      |                     ;
    9 |         cout <<a*b << " " << a*2 + b*2 << endl;
      |         ~~~~
Language: C++

#include<iostream>

int main(){
 int a=3, b=5;
 cin >> a >> b;
 cout << a*b << " " << 2*(a+b) << endl;

 return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |  cin >> a >> b;
      |  ^~~
      |  std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |  cout << a*b << " " << 2*(a+b) << endl;
      |  ^~~~
      |  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |  cout << a*b << " " << 2*(a+b) << endl;
      |                                   ^~~~
      |                                   std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

int main(){
 int a, b;
 a = 3;
 b = 5;

 cout << a*b << " " << 2(a+b) << endl;

 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |  cout << a*b << " " << 2(a+b) << endl;
      |  ^~~~
      |  std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:25: error: expression cannot be used as a function
    8 |  cout << a*b << " " << 2(a+b) << endl;
      |                        ~^~~~~
a.cc:8:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |  cout << a*b << " " << 2(a+b) << endl;
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<cstdio>
??
int main(){
??int a, b;
??a = 3;
??b = 5;
??
??cout << a*b << " " << 2(a+b) << endl;
??
??return 0;
}

Compiler output:
a.cc:2:1: error: expected unqualified-id before '?' token
    2 | ??
      | ^
Language: C++

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

Compiler output:
a.cc:2:1: error: expected unqualified-id before '?' token
    2 | ??
      | ^
Language: C++

#include<cstdio>

int main(){
 int a, b;
 a = 3;
 b = 5;

 printf(" a*b, 2(a+b)\n";

 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:25: error: expected ')' before ';' token
    8 |  printf(" a*b, 2(a+b)\n";
      |        ~                ^
      |                         )
Language: C++

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

Compiler output:
a.cc:2:1: error: expected unqualified-id before '?' token
    2 | ??
      | ^
Language: C++

#include<cstdio>

 int main(){
 int a, b;
 a = 3;
 b = 5;

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

 return 0;
}

Compiler output:
a.cc:8:31: error: stray '\' in program
    8 |  printf("%d %d\n", a*b, 2(a+b)\n");
      |                               ^
a.cc:8:33: warning: missing terminating " character
    8 |  printf("%d %d\n", a*b, 2(a+b)\n");
      |                                 ^
a.cc:8:33: error: missing terminating " character
    8 |  printf("%d %d\n", a*b, 2(a+b)\n");
      |                                 ^~~
a.cc: In function 'int main()':
a.cc:8:26: error: expression cannot be used as a function
    8 |  printf("%d %d\n", a*b, 2(a+b)\n");
      |                         ~^~~~~
Language: C++

#include<iostream>

int main(){
 int a,b;
 a = 3;
 b = 5;

 std::cout << a*b << " " << 2*(a+b)<< endl;

 return 0
}
 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |  std::cout << a*b << " " << 2*(a+b)<< endl;
      |                                       ^~~~
      |                                       std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:10: error: expected ';' before '}' token
   10 |  return 0
      |          ^
      |          ;
   11 | }
      | ~
Language: C++

#include<iostream>
??
int main(){
??int a,b;
 std::cin >> a >> b;
??std::cout << a*b << " " << 2*(a+b)<< endl;
??
??return 0;
}

Compiler output:
a.cc:2:1: error: expected unqualified-id before '?' token
    2 | ??
      | ^
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:23: error: expected primary-expression before '%' token
    5 |         scanf("%d %d",%a ,%b);
      |                       ^
a.cc:5:27: error: expected primary-expression before '%' token
    5 |         scanf("%d %d",%a ,%b);
      |                           ^
Language: C++

#include<iostream>
??
int main(){
??int a, b;
??std::cin>>a>>b;
??std::cout<<a*b<<" "<<2*(a+b)<<"\n";
??
??return 0;
}

Compiler output:
a.cc:2:1: error: expected unqualified-id before '?' token
    2 | ??
      | ^
Language: C++

#include<iostream>
using namespace std;

int main(){
int a,b;

cin>>a,b;

cout<<a*b<<endl;

cout<<2(a+b)<<endl;

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:8: error: expression cannot be used as a function
   11 | cout<<2(a+b)<<endl;
      |       ~^~~~~
Language: C++

using namespace std;
int main() {
	int x,y;
	cin >> x >> y;
	cout << x*y << ' ' << 2*(x+y) << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope
    4 |         cin >> x >> y;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout << x*y << ' ' << 2*(x+y) << endl;
      |         ^~~~
a.cc:5:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:5:42: error: 'endl' was not declared in this scope
    5 |         cout << x*y << ' ' << 2*(x+y) << endl;
      |                                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: C++

#include<stdio.h>
int main(){
int a,b,result;
scanf("%d",&a,&b);
result = a * b;
printf("%d\n",result);
return0;
???

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'return0' was not declared in this scope
    7 | return0;
      | ^~~~~~~
a.cc:8:1: error: expected primary-expression before '?' token
    8 | ???
      | ^
a.cc:8:2: error: expected primary-expression before '?' token
    8 | ???
      |  ^
a.cc:8:3: error: expected primary-expression before '?' token
    8 | ???
      |   ^
a.cc:8:4: error: expected primary-expression at end of input
    8 | ???
      |    ^
a.cc:8:4: error: expected ':' at end of input
    8 | ???
      |    ^
      |    :
a.cc:8:4: error: expected primary-expression at end of input
a.cc:8:4: error: expected ':' at end of input
    8 | ???
      |    ^
      |    :
a.cc:8:4: error: expected primary-expression at end of input
a.cc:8:4: error: expected ':' at end of input
    8 | ???
      |    ^
      |    :
a.cc:8:4: error: expected primary-expression at end of input
a.cc:8:4: error: expected '}' at end of input
a.cc:2:11: note: to match this '{'
    2 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: expected primary-expression before '?' token
    9 | ???
      | ^
a.cc:9:2: error: expected primary-expression before '?' token
    9 | ???
      |  ^
a.cc:9:3: error: expected primary-expression before '?' token
    9 | ???
      |   ^
a.cc:9:4: error: expected primary-expression at end of input
    9 | ???
      |    ^
a.cc:9:4: error: expected ':' at end of input
    9 | ???
      |    ^
      |    :
a.cc:9:4: error: expected primary-expression at end of input
a.cc:9:4: error: expected ':' at end of input
    9 | ???
      |    ^
      |    :
a.cc:9:4: error: expected primary-expression at end of input
a.cc:9:4: error: expected ':' at end of input
    9 | ???
      |    ^
      |    :
a.cc:9:4: error: expected primary-expression at end of input
a.cc:9:4: error: expected '}' at end of input
a.cc:2:11: note: to match this '{'
    2 | int main(){
      |           ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
 cin >> a >> b;
 cout << a * b << " " << a*2 + b*2 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'a' was not declared in this scope
    7 |  cin >> a >> b;
      |         ^
a.cc:7:14: error: 'b' was not declared in this scope
    7 |  cin >> a >> b;
      |              ^
Language: C++

#include <stdio.h>

int main()


{


int length=0;


int height=0;


int area=0;


int cir=o;


scanf("%d %d",&length,&height);


area=length*height;


cir=length*2+height*2;


printf("%d %d\n",area,cir);


return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'o' was not declared in this scope
   18 | int cir=o;
      |         ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: 'result' was not declared in this scope; did you mean 'resultB'?
    7 | printf("%d\n d\n",result);
      |                   ^~~~~~
      |                   resultB
Language: C++

#include<iostream>
using namespace std;

int main(){
   int a,b,s,l;
   s=a*b;
   l=2(a+b);
   cout << a << b <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: expression cannot be used as a function
    7 |    l=2(a+b);
      |      ~^~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
   int a,b;
   cin >> a >> b;
   s=a*b;
   l=2*(a+b);
   cout << s << "???" << l <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: 's' was not declared in this scope
    7 |    s=a*b;
      |    ^
a.cc:8:4: error: 'l' was not declared in this scope
    8 |    l=2*(a+b);
      |    ^
Language: C++

#include <iostream>
usgin namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
	cout >> a*b >> endl;
	
}

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout >> a*b >> endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout >> a*b >> endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
usgin namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
	cout >> a*b >> endl;
	return 0;
}

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout >> a*b >> endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout >> a*b >> endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
usgin namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
	cout << a*b << endl;
	return 0;
}

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << a*b << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout << a*b << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
usgin namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
	//cout << a*b << endl;
	printf("%d %d\n",a*b,a*2+b*2);
	return 0;
}

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <iostream>
usgin namespace std;

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

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <iostream>
usgin namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
	cout << a*b << " " << a*2+b*2 << endl;
	return 0;
}

Compiler output:
a.cc:2:1: error: 'usgin' does not name a type
    2 | usgin namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << a*b << " " << a*2+b*2 << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout << a*b << " " << a*2+b*2 << endl;
      |                                          ^~~~
      |                                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main()
{
	int a,b;
	cin >> a >> b;
//	cout << a*b << " " << a*2+b*2 << endl;
	printf("%d %d",a*b,2(a+b));
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: expression cannot be used as a function
    9 |         printf("%d %d",a*b,2(a+b));
      |                            ~^~~~~
Language: C++

using System;
using System.Linq;
class Program {
	static void Main(String[] args) {
		int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
		Console.WriteLine((x[0] * x[1]) + " " + ((x[0] + x[1]) * 2));
	}
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Linq;
      |       ^~~~~~
a.cc:4:26: error: 'String' has not been declared
    4 |         static void Main(String[] args) {
      |                          ^~~~~~
a.cc:4:35: error: expected ',' or '...' before 'args'
    4 |         static void Main(String[] args) {
      |                                   ^~~~
a.cc:8:2: error: expected ';' after class definition
    8 | }
      |  ^
      |  ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:5:20: error: structured binding declaration cannot have type 'int'
    5 |                 int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
      |                    ^~
a.cc:5:20: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:5:20: error: empty structured binding declaration
a.cc:5:23: error: expected initializer before 'x'
    5 |                 int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
      |                       ^
a.cc:6:17: error: 'Console' was not declared in this scope
    6 |                 Console.WriteLine((x[0] * x[1]) + " " + ((x[0] + x[1]) * 2));
      |                 ^~~~~~~
a.cc:6:36: error: 'x' was not declared in this scope
    6 |                 Console.WriteLine((x[0] * x[1]) + " " + ((x[0] + x[1]) * 2));
      |                                    ^
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int r = (x[1] + x[0]) * 2;
            int r1 = x[0] * x[1];
            Console.WriteLine(r1 + " " + r);

        }
    }
}

Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:26: error: 'string' has not been declared
   11 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:11:35: error: expected ',' or '...' before 'args'
   11 |         static void Main(string[] args)
      |                                   ^~~~
a.cc:19:6: error: expected ';' after class definition
   19 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void ConsoleApplication2::Program::Main(int*)':
a.cc:13:16: error: structured binding declaration cannot have type 'int'
   13 |             int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
      |                ^~
a.cc:13:16: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:13:16: error: empty structured binding declaration
a.cc:13:19: error: expected initializer before 'x'
   13 |             int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
      |                   ^
a.cc:14:22: error: 'x' was not declared in this scope
   14 |             int r = (x[1] + x[0]) * 2;
      |                      ^
a.cc:16:13: error: 'Console' was not declared in this scope
   16 |             Console.WriteLine(r1 + " " + r);
      |             ^~~~~~~