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

#include<iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<(a*b)<<(a+b)*2<<end1;

    return 0;
}


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

#include <iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<(a*b)<<(a+b)*2<<end1;

    return 0;
}


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

#include <iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<a*b<<" "<<2*(a+b)<<end1;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:30: error: 'end1' was not declared in this scope
    9 |     cout<<a*b<<" "<<2*(a+b)<<end1;
      |                              ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<(a*b)<<" "<<2*(a+b)<<end1;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:32: error: 'end1' was not declared in this scope
    9 |     cout<<(a*b)<<" "<<2*(a+b)<<end1;
      |                                ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<(a*b)<<" "<<(a+b)*2<<end1;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:32: error: 'end1' was not declared in this scope
    9 |     cout<<(a*b)<<" "<<(a+b)*2<<end1;
      |                                ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

    int a,b;

    cin>>a>>b;
    cout<<a*b<" "<<<2*(a+b)<<end1;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: expected primary-expression before '<' token
    9 |     cout<<a*b<" "<<<2*(a+b)<<end1;
      |                    ^
a.cc:9:30: error: 'end1' was not declared in this scope
    9 |     cout<<a*b<" "<<<2*(a+b)<<end1;
      |                              ^~~~
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: expected primary-expression before '<' token
    7 |     cout<<a*b<" "<<<2*(a+b)<<end1;
      |                    ^
a.cc:7:30: error: 'end1' was not declared in this scope
    7 |     cout<<a*b<" "<<<2*(a+b)<<end1;
      |                              ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

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

return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: expected initializer before 'cin'
    7 | cin>>a>>b;
      | ^~~
a.cc:8:9: error: 'b' was not declared in this scope
    8 | cout<<a*b<<" "<<2*(a+b);
      |         ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
 
int a,b;
 
cin>>a>>b;
cout<<a*b<<" "<<2*(a+b)<<end1;
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:26: error: 'end1' was not declared in this scope
    9 | cout<<a*b<<" "<<2*(a+b)<<end1;
      |                          ^~~~
Language: C++

#include<iostream>

int main(){

std::cin>>a>>b;
std::cout<<a*b<<" "<<2*(a+b)<<"\n";

return 0;
}


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

/*16D8104013I ikeda yuki yuki0722 c++*/
include<stdio.h>
int main(){
  std::cin>>a>>b;
  std::cout(a*b,2*(a+b));
}



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

include<bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin>>a>>b;
  cout<<a*b<<" "<<(a+b)*2<<endl;
  return 0;
}



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:6:3: error: 'cout' was not declared in this scope
    6 |   cout<<a*b<<" "<<(a+b)*2<<endl;
      |   ^~~~
a.cc:6:28: error: 'endl' was not declared in this scope
    6 |   cout<<a*b<<" "<<(a+b)*2<<endl;
      |                            ^~~~
Language: C++

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

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



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<a*b<<" "<<(a+b)*2<<endl;
      |   ^~~~
a.cc:7:28: error: 'endl' was not declared in this scope
    7 |   cout<<a*b<<" "<<(a+b)*2<<endl;
      |                            ^~~~
Language: C++

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

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



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<< a*b <<" "<< (a+b)*2 <<endl;
      |   ^~~~
a.cc:7:32: error: 'endl' was not declared in this scope
    7 |   cout<< a*b <<" "<< (a+b)*2 <<endl;
      |                                ^~~~
Language: C++

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


Compiler output:
a.cc:2:1: error: 'usingnamespace' does not name a type
    2 | usingnamespace std;
      | ^~~~~~~~~~~~~~
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:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << a * b << 2 * a + 2 * 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 + 2 * 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>
usingnamespace std;
int main(){
int a,b;
cin >> a >> b;
cout << a * b << " " << 2 * a + 2 * b << endl;
return 0;
}


Compiler output:
a.cc:2:1: error: 'usingnamespace' does not name a type
    2 | usingnamespace std;
      | ^~~~~~~~~~~~~~
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:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << a * b << " " << 2 * a + 2 * 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:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout << a * b << " " << 2 * a + 2 * 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>
using namespace std;
 
int main(){
int a,b;
cin>>x>>y;
x=a*b; y=2*(a+b)
cout<<x<<" "<<y<<endl;


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: 'x' was not declared in this scope
    6 | cin>>x>>y;
      |      ^
a.cc:6:9: error: 'y' was not declared in this scope
    6 | cin>>x>>y;
      |         ^
a.cc:8:23: error: expected '}' at end of input
    8 | cout<<x<<" "<<y<<endl;
      |                       ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<stdio.h>

int main(){

int a,b;

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

return 0;

}


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

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


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

#include <iostream>
using namespace std;
int main(void){
    int a,b;
    cin>>a;
    cin>>b;
    1<=a　and    b<=100;
    cout<<a*b<<endl;
    cout<<2*a+2*b<<endl;
    return 0;
}



Compiler output:
a.cc:7:8: error: extended character 　 is not valid in an identifier
    7 |     1<=a　and    b<=100;
      |        ^
a.cc: In function 'int main()':
a.cc:7:8: error: 'a\U00003000and' was not declared in this scope
    7 |     1<=a　and    b<=100;
      |        ^~~~~~
Language: C++

#include<iostream>

using namespace std;

int main(){
    cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
    cin >> a >> b;
    S = a*b;
    L = 2*(a+b);
    cout <<"結果を面積、周の長さの順に表示します"<<endl;
    cout << S <<endl;
    cout << L <<endl;
}


Compiler output:
a.cc:6:12: error: extended character 、 is not valid in an identifier
    6 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |            ^
a.cc:6:58: warning: missing terminating " character
    6 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |                                                          ^
a.cc:6:58: error: missing terminating " character
    6 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |                                                          ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:12: error: '\U00009577\U000065b9\U00005f62\U0000306e\U00007e26\U00003068\U00003001\U00006a2a\U0000306e\U00009577\U00003055\U00003092\U0000534a\U000089d2\U00003067\U00005165\U0000529b\U00003057\U00003066\U0000304f\U00003060\U00003055\U00003044' was not declared in this scope
    6 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:8:5: error: 'S' was not declared in this scope
    8 |     S = a*b;
      |     ^
a.cc:8:9: error: 'a' was not declared in this scope
    8 |     S = a*b;
      |         ^
a.cc:8:11: error: 'b' was not declared in this scope
    8 |     S = a*b;
      |           ^
a.cc:9:5: error: 'L' was not declared in this scope
    9 |     L = 2*(a+b);
      |     ^
Language: C++

#include<iostream>

using namespace std;

int main(){
    int a,b,S,L;
    cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
    cin >> a >> b;
    S = a*b;
    L = 2*(a+b);
    cout <<"結果を面積、周の長さの順に表示します"<<endl;
    cout << S <<endl;
    cout << L <<endl;
}


Compiler output:
a.cc:7:12: error: extended character 、 is not valid in an identifier
    7 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |            ^
a.cc:7:58: warning: missing terminating " character
    7 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |                                                          ^
a.cc:7:58: error: missing terminating " character
    7 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |                                                          ^~~~~~~~
a.cc: In function 'int main()':
a.cc:7:12: error: '\U00009577\U000065b9\U00005f62\U0000306e\U00007e26\U00003068\U00003001\U00006a2a\U0000306e\U00009577\U00003055\U00003092\U0000534a\U000089d2\U00003067\U00005165\U0000529b\U00003057\U00003066\U0000304f\U00003060\U00003055\U00003044' was not declared in this scope
    7 |     cout <<長方形の縦と、横の長さを半角で入力してください"<<endl;
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:4:3: error: 'cout' was not declared in this scope
    4 |   cout << a*b << " "<< 2*a+2*b << endl;
      |   ^~~~
a.cc:4:35: error: 'endl' was not declared in this scope
    4 |   cout << a*b << " "<< 2*a+2*b << endl;
      |                                   ^~~~
Language: C++

int main(){
  int a , b;
  cin >> a >> b;
  cout << a*b << " "<< 2*a+2*b << endl;
  return 0;
}#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:6:2: error: stray '#' in program
    6 | }#include<iostream>
      |  ^
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:4:3: error: 'cout' was not declared in this scope
    4 |   cout << a*b << " "<< 2*a+2*b << endl;
      |   ^~~~
a.cc:4:35: error: 'endl' was not declared in this scope
    4 |   cout << a*b << " "<< 2*a+2*b << endl;
      |                                   ^~~~
a.cc: At global scope:
a.cc:6:3: error: 'include' does not name a type
    6 | }#include<iostream>
      |   ^~~~~~~
a.cc:9:5: error: redefinition of 'int main()'
    9 | int main(){
      |     ^~~~
a.cc:1:5: note: 'int main()' previously defined here
    1 | int main(){
      |     ^~~~
a.cc: In function 'int main()':
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   cin >> a >> b;
      |   ^~~
a.cc:12:3: error: 'cout' was not declared in this scope
   12 |   cout << a*b << " "<< 2*a+2*b << endl;
      |   ^~~~
a.cc:12:35: error: 'endl' was not declared in this scope
   12 |   cout << a*b << " "<< 2*a+2*b << endl;
      |                                   ^~~~
Language: C++

#include<iostream>

using namespace std;

int main(){
    int a,b,S,L;
    cout <<"長方形の縦と、横の長さを半角で入力してください"<<endl;
    cin >> a >> b;
    S = a*b;
    L = 2*(a+b);
    cout <<"結果を面積、周の長さの順に表示します"<<endl;
    cout << S << << L <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:18: error: expected primary-expression before '<<' token
   12 |     cout << S << << L <<endl;
      |                  ^~
Language: C++

#include<iostream>

using namespace std;

int main(){
    int a,b,S,L;
    cout <<"長方形の縦と、横の長さを半角で入力してください"<<endl;
    cin >> a,b;
    S = a*b;
    L = 2*(a+b);
    cout <<"結果を面積、周の長さの順に表示します"<<endl;
    cout << S,L <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   12 |     cout << S,L <<endl;
      |               ~~^~~~~~
Language: C++

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


Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main{
      |     ^~~~
a.cc:3:1: error: expected primary-expression before 'int'
    3 | int a;
      | ^~~
a.cc:3:1: error: expected '}' before 'int'
a.cc:2:9: note: to match this '{'
    2 | int main{
      |         ^
a.cc:5:6: error: expected constructor, destructor, or type conversion before '(' token
    5 | scanf("%d %d", &a, &b);
      |      ^
a.cc:6:7: error: expected constructor, destructor, or type conversion before '(' token
    6 | printf("%d %d",a * b, a + a + b + b);
      |       ^
a.cc:7:1: error: expected unqualified-id before 'return'
    7 | return 0;
      | ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected ')' before 'a'
    9 |  printf("%d*%f 2(%d+%f)" a, b);
      |        ~                ^~
      |                         )
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:5:25: error: expected ';' before 'scanf'
    5 |         scanf("%d ", &a)  scanf("%d", &b);
      |                         ^ ~~~~~
      |                         ;
Language: C++

#include<iostream>

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:11:32: error: expected ';' before 'endl'
   11 |     cout<< a*b << "" << 2*(a+b) endl;
      |                                ^~~~~
      |                                ;
Language: C++

#include<iostream>

using namespace std;

int main(){

    int a,b;
    
    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:9:9: error: redeclaration of 'int a'
    9 |     int a=3, b=5;
      |         ^
a.cc:7:9: note: 'int a' previously declared here
    7 |     int a,b;
      |         ^
a.cc:9:14: error: redeclaration of 'int b'
    9 |     int a=3, b=5;
      |              ^
a.cc:7:11: note: 'int b' previously declared here
    7 |     int a,b;
      |           ^
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before numeric constant
    7 |     cout << a*b 2a+2b << endl;
      |                ^~~
      |                ;
Language: C++

#include<iostream>
using namespace std;

int main(){
    int a,b ;
    std::cin >> a>>b;
    cout << a*b 2a+2b << endｌ;
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before numeric constant
    7 |     cout << a*b 2a+2b << endｌ;
      |                ^~~
      |                ;
Language: C++

#include<iostream>
using namespace std;

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



Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: unable to find numeric literal operator 'operator""a'
    7 |     cout << a*b <<" "<< 2a+2b << endｌ;
      |                         ^~
a.cc:7:28: error: unable to find numeric literal operator 'operator""b'
    7 |     cout << a*b <<" "<< 2a+2b << endｌ;
      |                            ^~
a.cc:7:34: error: 'end\U0000ff4c' was not declared in this scope
    7 |     cout << a*b <<" "<< 2a+2b << endｌ;
      |                                  ^~~~~
Language: C++

#include<iostream>
using namespace std;

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



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

#include<iostream>    
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:5:9: error: expected initializer before 'b'
    5 |   int a b;
      |         ^
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a b;
      |        ^
a.cc:9:11: error: 'b' was not declared in this scope
    9 |   cout<<a*b<<2*(a+b)<<endl;
      |           ^
Language: C++

#include<iostream>    
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:5:9: error: expected initializer before 'b'
    5 |   int a b;
      |         ^
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a>>b;
      |        ^
a.cc:7:11: error: 'b' was not declared in this scope
    7 |   cin>>a>>b;
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
   cin >>a>>b; //10 5
   cout<<a*b<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'a' was not declared in this scope
    4 |    cin >>a>>b; //10 5
      |          ^
a.cc:4:13: error: 'b' was not declared in this scope
    4 |    cin >>a>>b; //10 5
      |             ^
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout<<a*b<<endl;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout<<a*b<<endl;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout<<a*b<<endl;
      | ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout　<<a*b<<　endl;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      | ^
a.cc:5:4: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |    ^
a.cc:5:17: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |                 ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout　<<a*b<<　endl;
      | ^~
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout　<<a*b<<　endl;
　return 0;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      | ^
a.cc:5:4: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |    ^
a.cc:5:17: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |                 ^
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　return 0;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout　<<a*b<<　endl;
      | ^~
a.cc:6:1: error: '\U00003000return' was not declared in this scope
    6 | 　return 0;
      | ^~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout　<<a*b<<　endl;
　 return 0;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      | ^
a.cc:5:4: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |    ^
a.cc:5:17: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b<<　endl;
      |                 ^
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout　<<a*b<<　endl;
      | ^~
a.cc:6:3: error: expected ';' before 'return'
    6 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout　<<a*b a+a+b+b<<　endl;
　 return 0;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b a+a+b+b<<　endl;
      | ^
a.cc:5:4: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b a+a+b+b<<　endl;
      |    ^
a.cc:5:25: error: extended character 　 is not valid in an identifier
    5 | 　 cout　<<a*b a+a+b+b<<　endl;
      |                         ^
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout　<<a*b a+a+b+b<<　endl;
      | ^~
a.cc:6:3: error: expected ';' before 'return'
    6 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;
　 cout<<a*b a+a+b+b<<endl;
　 return 0;
}


Compiler output:
a.cc:5:1: error: extended character 　 is not valid in an identifier
    5 | 　 cout<<a*b a+a+b+b<<endl;
      | ^
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:5:1: error: '\U00003000' was not declared in this scope
    5 | 　 cout<<a*b a+a+b+b<<endl;
      | ^~
a.cc:6:3: error: expected ';' before 'return'
    6 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;  
   cin >> a;
   cin >> b;
　 cout<<a*b a+a+b+b<<endl;
　 return 0;
}


Compiler output:
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 cout<<a*b a+a+b+b<<endl;
      | ^
a.cc:8:1: error: extended character 　 is not valid in an identifier
    8 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:7:1: error: '\U00003000' was not declared in this scope
    7 | 　 cout<<a*b a+a+b+b<<endl;
      | ^~
a.cc:8:3: error: expected ';' before 'return'
    8 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;  
   cin >> a,b;
　 cout<<a*b a+a+b+b<<endl;
　 return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 cout<<a*b a+a+b+b<<endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　 cout<<a*b a+a+b+b<<endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a,b;  
   cin >> a,b;
　 cout <<a*b a+a+b+b<< endl;
　 return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 cout <<a*b a+a+b+b<< endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　 cout <<a*b a+a+b+b<< endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a, b;  
   cin >> a, b;
　 cout <<a*b a+a+b+b<< endl;
　 return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 cout <<a*b a+a+b+b<< endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　 cout <<a*b a+a+b+b<< endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a<< b;  
   cin >> a>> b;
　 cout <<a*b<< a+a+b+b<< endl;
　 return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 cout <<a*b<< a+a+b+b<< endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:4:9: error: expected initializer before '<<' token
    4 |    int a<< b;
      |         ^~
a.cc:5:11: error: 'a' was not declared in this scope
    5 |    cin >> a>> b;
      |           ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |    cin >> a>> b;
      |               ^
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　 cout <<a*b<< a+a+b+b<< endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
   int a<<b;  
   cin >>a>>b;
　 cout <<a*b< a+a+b+b<< endl;
　 return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　 cout <<a*b< a+a+b+b<< endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　 return 0;
      | ^
a.cc: In function 'int main()':
a.cc:4:9: error: expected initializer before '<<' token
    4 |    int a<<b;
      |         ^~
a.cc:5:10: error: 'a' was not declared in this scope
    5 |    cin >>a>>b;
      |          ^
a.cc:5:13: error: 'b' was not declared in this scope
    5 |    cin >>a>>b;
      |             ^
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　 cout <<a*b< a+a+b+b<< endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　 return 0;
      |   ^~~~~~~
      |   ;
Language: C++

#include<iostream>
using namespace std;
int main(){
    int a<<b;  
    cin >>a>>b;
　  cout <<a*b<<a+a+b+b<< endl;
　  return 0;
}


Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　  cout <<a*b<<a+a+b+b<< endl;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　  return 0;
      | ^
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:11: error: 'a' was not declared in this scope
    5 |     cin >>a>>b;
      |           ^
a.cc:5:14: error: 'b' was not declared in this scope
    5 |     cin >>a>>b;
      |              ^
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　  cout <<a*b<<a+a+b+b<< endl;
      | ^~
a.cc:7:3: error: expected ';' before 'return'
    7 | 　  return 0;
      |   ^ ~~~~~~
      |   ;
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a<<b;
    cin >> a >> b;
    cout<<a:b <<2(a*b)<< endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a:b <<2(a*b)<< endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:12: error: found ':' in nested-name-specifier, expected '::'
    6 |     cout<<a:b <<2(a*b)<< endl;
      |            ^
      |            ::
a.cc:6:11: error: 'a' is not a class, namespace, or enumeration
    6 |     cout<<a:b <<2(a*b)<< endl;
      |           ^
a.cc:6:22: error: expression cannot be used as a function
    6 |     cout<<a:b <<2(a*b)<< endl;
      |                      ^
a.cc:6:26: error: 'endl' was not declared in this scope
    6 |     cout<<a:b <<2(a*b)<< endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a<<b;
    cin >> a >> b;
    cout<<a*b <<2(a*b)<< endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a*b <<2(a*b)<< endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:22: error: expression cannot be used as a function
    6 |     cout<<a*b <<2(a*b)<< endl;
      |                      ^
a.cc:6:26: error: 'endl' was not declared in this scope
    6 |     cout<<a*b <<2(a*b)<< endl;
      |                          ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a<<b;
    cin >> a >> b;
    cout<<a*b <<2*(a+b)<< endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a*b <<2*(a+b)<< endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:27: error: 'endl' was not declared in this scope
    6 |     cout<<a*b <<2*(a+b)<< endl;
      |                           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a << b;
    cin >> a >> b;
    cout<<a*b <<2*(a+b)<< endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:11: error: expected initializer before '<<' token
    4 |     int a << b;
      |           ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a*b <<2*(a+b)<< endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:27: error: 'endl' was not declared in this scope
    6 |     cout<<a*b <<2*(a+b)<< endl;
      |                           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a << b;
    cin >> a >> b;
    cout << a*b <<　2*(a+b) << endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc:6:19: error: extended character 　 is not valid in an identifier
    6 |     cout << a*b <<　2*(a+b) << endl;
      |                   ^
a.cc: In function 'int main()':
a.cc:4:11: error: expected initializer before '<<' token
    4 |     int a << b;
      |           ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << a*b <<　2*(a+b) << endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:19: error: '\U000030002' was not declared in this scope
    6 |     cout << a*b <<　2*(a+b) << endl;
      |                   ^~~
a.cc:6:32: error: 'endl' was not declared in this scope
    6 |     cout << a*b <<　2*(a+b) << endl;
      |                                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a << b;
    cin >> a >> b;
    cout << a*b <<　2*(a + b) << endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc:6:19: error: extended character 　 is not valid in an identifier
    6 |     cout << a*b <<　2*(a + b) << endl;
      |                   ^
a.cc: In function 'int main()':
a.cc:4:11: error: expected initializer before '<<' token
    4 |     int a << b;
      |           ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << a*b <<　2*(a + b) << endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:19: error: '\U000030002' was not declared in this scope
    6 |     cout << a*b <<　2*(a + b) << endl;
      |                   ^~~
a.cc:6:34: error: 'endl' was not declared in this scope
    6 |     cout << a*b <<　2*(a + b) << endl;
      |                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a<<b;
    cin>>a>>b;
    cout<<a*b<<2*(a+b)<<endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>>a>>b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:10: error: 'a' was not declared in this scope
    5 |     cin>>a>>b;
      |          ^
a.cc:5:13: error: 'b' was not declared in this scope
    5 |     cin>>a>>b;
      |             ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a*b<<2*(a+b)<<endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:25: error: 'endl' was not declared in this scope
    6 |     cout<<a*b<<2*(a+b)<<endl;
      |                         ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#inciude<iostream>
using namespace std;
int main(){
    int a>>b;
    cin>>a>>b;
    cout<<a*b<<2*(a+b)<<endl;
    return 0
}   


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:10: error: expected initializer before '>>' token
    4 |     int a>>b;
      |          ^~
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>>a>>b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:5:10: error: 'a' was not declared in this scope
    5 |     cin>>a>>b;
      |          ^
a.cc:5:13: error: 'b' was not declared in this scope
    5 |     cin>>a>>b;
      |             ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<a*b<<2*(a+b)<<endl;
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:25: error: 'endl' was not declared in this scope
    6 |     cout<<a*b<<2*(a+b)<<endl;
      |                         ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

#include<iostream>
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:4:10: error: expected initializer before '<<' token
    4 |     int a<<b;
      |          ^~
a.cc:5:10: error: 'a' was not declared in this scope
    5 |     cin>>a>>b;
      |          ^
a.cc:5:13: error: 'b' was not declared in this scope
    5 |     cin>>a>>b;
      |             ^
a.cc:7:13: error: expected ';' before '}' token
    7 |     return 0
      |             ^
      |             ;
    8 | }
      | ~
Language: C++

using namespace std;
#include <iostream>

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


Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main (0
      |     ^~~~
a.cc:4:12: error: expected ')' before '{' token
    4 | int main (0
      |          ~ ^
      |            )
    5 | {
      | ~
Language: C++

using namespace std;
#include <iostream>;

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


Compiler output:
a.cc:2:20: warning: extra tokens at end of #include directive
    2 | #include <iostream>;
      |                    ^
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main (0
      |     ^~~~
a.cc:4:12: error: expected ')' before '{' token
    4 | int main (0
      |          ~ ^
      |            )
    5 | {
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected ';' before 'endl'
    7 |     cout << a*b << 2*(a+b)  endl;
      |                           ^ ~~~~
      |                           ;
a.cc:8:13: error: expected ';' before '}' token
    8 |     return 0
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected ';' before '}' token
    9 |     return 0
      |             ^
      |             ;
   10 | }
      | ~
Language: C++

#include<iostream>
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:8:13: error: expected ';' before '}' token
    8 |     return 0
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

#include<iostream>
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:8:13: error: expected ';' before '}' token
    8 |     return 0
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

#include<iostream>
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:5:12: error: expected unqualified-id before '<<' token
    5 |     int a, <<b;
      |            ^~
a.cc:6:15: error: 'b' was not declared in this scope
    6 |     cin >> a, b;
      |               ^
Language: C++

#include<iostream>
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:7:27: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |     cout << a*b < 2*(a+b) << endl;
      |                   ~~~~~~~~^~~~~~~