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

#include<iostream>
using namespace std;
 
int main(){
    flout x;
    flout y;
    flout area;
    flout per;
    
    cin << x y;
    area = x*y;
    per = (x + y)*2;
    
    cout >> area + " " + per;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'flout' was not declared in this scope; did you mean 'float'?
    5 |     flout x;
      |     ^~~~~
      |     float
a.cc:6:10: error: expected ';' before 'y'
    6 |     flout y;
      |          ^~
      |          ;
a.cc:7:10: error: expected ';' before 'area'
    7 |     flout area;
      |          ^~~~~
      |          ;
a.cc:8:10: error: expected ';' before 'per'
    8 |     flout per;
      |          ^~~~
      |          ;
a.cc:10:12: error: 'x' was not declared in this scope
   10 |     cin << x y;
      |            ^
a.cc:11:5: error: 'area' was not declared in this scope
   11 |     area = x*y;
      |     ^~~~
a.cc:11:14: error: 'y' was not declared in this scope
   11 |     area = x*y;
      |              ^
a.cc:12:5: error: 'per' was not declared in this scope
   12 |     per = (x + y)*2;
      |     ^~~
Language: C++

#include<iostream>
using namespace std;
 
int main(){
    float x;
    float y;
    float area;
    float per;
    
   scanf("%f %f",&x &y);
   area = x * y;
   per = (x+y)*2;
   
   printf("%.0f %.0f",area per);

    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: invalid operands of types 'float*' and 'float' to binary 'operator&'
   10 |    scanf("%f %f",&x &y);
      |                  ~~ ^~
      |                  |   |
      |                  |   float
      |                  float*
a.cc:14:27: error: expected ')' before 'per'
   14 |    printf("%.0f %.0f",area per);
      |          ~                ^~~~
      |                           )
Language: C++

#include<stdio.h>
using namespace std;
 
int main(){
    float x;
    float y;
    float area;
    float per;
    
   scanf("%f %f",&x &y);
   area = x * y;
   per = (x+y)*2;
   
   printf("%.0f %.0f",area per);

    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: invalid operands of types 'float*' and 'float' to binary 'operator&'
   10 |    scanf("%f %f",&x &y);
      |                  ~~ ^~
      |                  |   |
      |                  |   float
      |                  float*
a.cc:14:27: error: expected ')' before 'per'
   14 |    printf("%.0f %.0f",area per);
      |          ~                ^~~~
      |                           )
Language: C++

#include<stdio.h>
using namespace std;
 
int main(){
    float x;
    float y;
    float area;
    float per;
    
   scanf("%f %f",&x &y);
   area = x * y;
   per = (x+y)*2;
   
   printf("%.0f %.0f",area ,per);

    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: invalid operands of types 'float*' and 'float' to binary 'operator&'
   10 |    scanf("%f %f",&x &y);
      |                  ~~ ^~
      |                  |   |
      |                  |   float
      |                  float*
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected primary-expression before '<<' token
    7 |     cout<<a*b;<<endl;
      |               ^~
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected primary-expression before '<<' token
    7 |     cout<<a*b;<<endl;
      |               ^~
Language: C++

#include <iostream>
#include<cstdio>
using namespace std;
int main(void){
   int x;
   cin>>a>>b;
   cout<<a*b;
   cout<<2*a+2*b
   cout<<endl;
   
}


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

#include <iostream>
#include<cstdio>
using namespace std;
int main(void){
   int x;
   cin>>a>>b;
   cout<<a*b;
   cout<<2*a+2*b;
   cout<<endl;
   
}



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

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

cout<<endl;

    
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected primary-expression before '<<' token
    8 | cout<< a*b;<<2*(a+b);
      |            ^~
Language: C++

#include <iostream>
#include<cstdio>
using namespace std;
int main(void){
   int x;
   cin>>a>>b;
   cout<<a*b;
   cout<<" ";
   cout<<2*a+2*b;
   cout<<endl;
   
}



Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'a' was not declared in this scope
    6 |    cin>>a>>b;
      |         ^
a.cc:6:12: 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;
    cout<<a+a+b+b;
}


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

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

int main(void){
    int x;
    cin >> a;    
    cin >> b;
    cout << a;
    cout << " ";　
    cout << b;
    cout << endl; 
}



Compiler output:
a.cc:10:17: error: extended character 　 is not valid in an identifier
   10 |     cout << " ";　
      |                 ^
a.cc: In function 'int main()':
a.cc:7:12: error: 'a' was not declared in this scope
    7 |     cin >> a;
      |            ^
a.cc:8:12: error: 'b' was not declared in this scope
    8 |     cin >> b;
      |            ^
a.cc:10:17: error: '\U00003000' was not declared in this scope
   10 |     cout << " ";　
      |                 ^~
Language: C++

#include <iostream>
#include <cstdio>
using namespace std;
int main(void){
int a,b;
cin>>a; 
cin>>b;
cout<< a;
cout<<" ";
cout<< b;
cout<<endl;
cout<<a*b;
cout<<"";
cout<<2*(a+b);
coutendl;

    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:1: error: 'coutendl' was not declared in this scope
   15 | coutendl;
      | ^~~~~~~~
Language: C++

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

int main(void){
    int a, b;
    cin >> a;       //
    cin >> b;
    cout << a;
    cout << "";　　//空白
    cout << b;
    cout << endl; //改行
}



Compiler output:
a.cc:10:16: error: extended character 　 is not valid in an identifier
   10 |     cout << "";　　//空白
      |                ^
a.cc:10:16: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:10:16: error: '\U00003000\U00003000' was not declared in this scope
   10 |     cout << "";　　//空白
      |                ^~~~
Language: C++

#include<iostream>
using namespace std;

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


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

#include<iostream>
using namespace std;

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


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

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

  cin >> a; cin >> b;

  cout <<a*b; cout <<" "; cout <<2*(a+b)
  return 0;		 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:41: error: expected ';' before 'return'
    9 |   cout <<a*b; cout <<" "; cout <<2*(a+b)
      |                                         ^
      |                                         ;
   10 |   return 0;
      |   ~~~~~~
Language: C++

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

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



Compiler output:
a.cc:6:1: error: extended character 　 is not valid in an identifier
    6 | 　   int a, b;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
    7 | 　   cin >> a;
      | ^
a.cc:8:1: error: extended character 　 is not valid in an identifier
    8 | 　   cin >> b;
      | ^
a.cc:9:1: error: extended character 　 is not valid in an identifier
    9 | 　   cout << a*b;
      | ^
a.cc:10:1: error: extended character 　 is not valid in an identifier
   10 | 　   cout << " ";
      | ^
a.cc:11:1: error: extended character 　 is not valid in an identifier
   11 | 　   cout << 2*(a+b);
      | ^
a.cc:12:1: error: extended character 　 is not valid in an identifier
   12 | 　   cout << endl;
      | ^
a.cc: In function 'int main()':
a.cc:6:1: error: '\U00003000' was not declared in this scope
    6 | 　   int a, b;
      | ^~
a.cc:7:3: error: expected ';' before 'cin'
    7 | 　   cin >> a;
      |   ^  ~~~
      |   ;
a.cc:8:3: error: expected ';' before 'cin'
    8 | 　   cin >> b;
      |   ^  ~~~
      |   ;
a.cc:9:3: error: expected ';' before 'cout'
    9 | 　   cout << a*b;
      |   ^  ~~~~
      |   ;
a.cc:10:3: error: expected ';' before 'cout'
   10 | 　   cout << " ";
      |   ^  ~~~~
      |   ;
a.cc:11:3: error: expected ';' before 'cout'
   11 | 　   cout << 2*(a+b);
      |   ^  ~~~~
      |   ;
a.cc:12:3: error: expected ';' before 'cout'
   12 | 　   cout << endl;
      |   ^  ~~~~
      |   ;
Language: C++

#include<stdio.h>
int main(void)
{
	int a, b;
	int menseki, nagasa;
	printf("aに値を入れてください:"); scanf_s("%d", &a);
	printf("bに値を入れてください:"); scanf_s("%d", &b);
	menseki = a * b;
	nagasa = a * 2 + b * 2;
	printf("%d %d", menseki, nagasa);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:43: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    6 |         printf("aに値を入れてください:"); scanf_s("%d", &a);
      |                                           ^~~~~~~
      |                                           scanf
Language: C++

#include <iostream>

namespace std;

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


Compiler output:
a.cc:3:14: error: expected '{' before ';' token
    3 | namespace std;
      |              ^
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> a;
      |     ^~~
      |     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:12: error: 'a' was not declared in this scope
    6 |     cin >> a;
      |            ^
a.cc:7:12: error: 'b' was not declared in this scope
    7 |     cin >> b;
      |            ^
a.cc:8:5: error: 'men' was not declared in this scope; did you mean 'mblen'?
    8 |     men = a*b;
      |     ^~~
      |     mblen
a.cc:9:5: error: 'naga' was not declared in this scope
    9 |     naga = 2*a+2*b;
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << men << 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:10:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << men << 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(){
    cin >> a;
    cin >> b;
    men = a*b;
    naga = 2*a+2*b;
    cout << men << endl;
    cout << naga;
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a;
      |            ^
a.cc:7:12: error: 'b' was not declared in this scope
    7 |     cin >> b;
      |            ^
a.cc:8:5: error: 'men' was not declared in this scope; did you mean 'mblen'?
    8 |     men = a*b;
      |     ^~~
      |     mblen
a.cc:9:5: error: 'naga' was not declared in this scope
    9 |     naga = 2*a+2*b;
      |     ^~~~
Language: C++

#include <iostream>

using namespace std;

int main(){
    int a,b;
    cin >> a;
    cin >> b;
    men = a*b;
    naga = 2*a+2*b;
    cout << men << endl;
    cout << naga;
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'men' was not declared in this scope; did you mean 'mblen'?
    9 |     men = a*b;
      |     ^~~
      |     mblen
a.cc:10:5: error: 'naga' was not declared in this scope
   10 |     naga = 2*a+2*b;
      |     ^~~~
Language: C++

#include <stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:27: error: expected ';' before 'return'
    9 |         printf("%d\n",a*b)
      |                           ^
      |                           ;
   10 |         return 0;
      |         ~~~~~~
Language: C++

//hello .cpp
#includ<iostream>
using namespace std;

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


Compiler output:
a.cc:2:2: error: invalid preprocessing directive #includ; did you mean #include?
    2 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:11: error: expected initializer before 'b'
    7 |     int a b;
      |           ^
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     cin>>ab;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | //hello .cpp
a.cc:8:10: error: 'ab' was not declared in this scope
    8 |     cin>>ab;
      |          ^~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:11: error: 'a' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |           ^
a.cc:9:18: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |                  ^
a.cc:9:13: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |             ^
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout<<a*b (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 | //hello .cpp
a.cc:10:5: error: 'return0' was not declared in this scope
   10 |     return0
      |     ^~~~~~~
Language: C++

//hello .cpp
#includ<iostream>
using namespace std;

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


Compiler output:
a.cc:2:2: error: invalid preprocessing directive #includ; did you mean #include?
    2 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:11: error: expected initializer before 'b'
    7 |     int a b;
      |           ^
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     cin>>ab;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | //hello .cpp
a.cc:8:10: error: 'ab' was not declared in this scope
    8 |     cin>>ab;
      |          ^~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:11: error: 'a' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |           ^
a.cc:9:18: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |                  ^
a.cc:9:13: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |             ^
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout<<a*b (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 | //hello .cpp
a.cc:10:13: error: expected ';' before '}' token
   10 |     return 0
      |             ^
      |             ;
   11 | }
      | ~
Language: C++

//hello .cpp
#includ<iostream>
using namespace std;

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


Compiler output:
a.cc:2:2: error: invalid preprocessing directive #includ; did you mean #include?
    2 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:11: error: expected initializer before 'b'
    7 |     int a b;
      |           ^
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     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 | //hello .cpp
a.cc:8:10: error: 'a' was not declared in this scope
    8 |     cin>>a b;
      |          ^
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:18: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |                  ^
a.cc:9:13: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |             ^
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout<<a*b (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 | //hello .cpp
a.cc:10:13: error: expected ';' before '}' token
   10 |     return 0
      |             ^
      |             ;
   11 | }
      | ~
Language: C++

//hello .cpp
#includ<iostream>
using namespace std;

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


Compiler output:
a.cc:2:2: error: invalid preprocessing directive #includ; did you mean #include?
    2 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:11: error: expected initializer before 'b'
    7 |     int a b;
      |           ^
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     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 | //hello .cpp
a.cc:8:10: error: 'a' was not declared in this scope
    8 |     cin>>a b;
      |          ^
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:18: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |                  ^
a.cc:9:13: error: 'b' was not declared in this scope
    9 |     cout<<a*b (a+b)<<endl;
      |             ^
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout<<a*b (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 | //hello .cpp
Language: C++

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

int a,b,c,d;

c=a*b;

d=(a*2)+(b*2);


intprintf("%d %d\n",c,d);

return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:1: error: 'intprintf' was not declared in this scope; did you mean 'snprintf'?
   12 | intprintf("%d %d\n",c,d);
      | ^~~~~~~~~
      | snprintf
Language: C++

//hello .cpp
#include<iostream>
using namespace std;

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


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

#include<iostream>
using namespace std;
int main(){

int x,y,a,b;
cin >> a >> b;
x=a*b;
y=2*(a+b);
cout<<x<<" "<<y<<endl;
return o;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'o' was not declared in this scope
   10 | return o;
      |        ^
Language: C++

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


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

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


Compiler output:
a.cc: In function 'int main()':
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;
      |                 ^
Language: C++

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


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

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


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

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


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

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


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

#include <iosream>
using namespace std;

int main(){
        int a, b, c, d;

        cin >> a >> b;

        c = a * b;
        d = 2 * (a + b);

        cout << c << " " << d << endl;

        return 0;
}
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                                               
~                                                           



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

#include <iosream>
using namespace std;

int main(){
        int a, b, c, d;

        cin >> a >> b;

        c = a * b;
        d = 2 * (a + b);

        cout << c << " " << d << endl;

        return 0;
}



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

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



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

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


Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.n)
      |         ^
a.cc: In function 'int main()':
a.cc:5:1: error: 'scanf' was not declared in this scope
    5 | scanf("%d",&a);
      | ^~~~~
a.cc:9:1: error: 'printf' was not declared in this scope
    9 | printf("%d %d",c,d);
      | ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #include(stdio.n)
a.cc:10:9: error: expected ';' before '}' token
   10 | return 0
      |         ^
      |         ;
   11 | }
      | ~
Language: C++

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

int main()
{
    int a,b,c,d;
    cin>>a>>b;
    c=a*b;
    d=2*(a+b)
    cout<<c<<d<<endl;
    
}



Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected ';' before 'cout'
   11 |     d=2*(a+b)
      |              ^
      |              ;
   12 |     cout<<c<<d<<endl;
      |     ~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
int a, b;
cin >> a >> b;

int S, L;
S = a * b;
L = 2 * (a + b)
cout << S << " " << L << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:16: error: expected ';' before 'cout'
   10 | L = 2 * (a + b)
      |                ^
      |                ;
   11 | cout << S << " " << L << endl;
      | ~~~~
Language: C++

#include <iosteram>

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



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

#include<iostream>
using namespace std;
 
int main(){
  int x y;

  cin >> x y;

  cout << x*y (x+y)*2 << endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'y'
    5 |   int x y;
      |         ^
a.cc:7:10: error: 'x' was not declared in this scope
    7 |   cin >> x y;
      |          ^
a.cc:9:18: error: 'y' was not declared in this scope
    9 |   cout << x*y (x+y)*2 << endl;
      |                  ^
a.cc:9:13: error: 'y' was not declared in this scope
    9 |   cout << x*y (x+y)*2 << endl;
      |             ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int x y;

  cin >> x >> y;

  cout << x*y (x+y)*2 << endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'y'
    5 |   int x y;
      |         ^
a.cc:7:10: error: 'x' was not declared in this scope
    7 |   cin >> x >> y;
      |          ^
a.cc:7:15: error: 'y' was not declared in this scope
    7 |   cin >> x >> y;
      |               ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int x y;

  cin >> x >> y;

  cout << x*y <<(x+y)*2 << endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'y'
    5 |   int x y;
      |         ^
a.cc:7:10: error: 'x' was not declared in this scope
    7 |   cin >> x >> y;
      |          ^
a.cc:7:15: error: 'y' was not declared in this scope
    7 |   cin >> x >> y;
      |               ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int x y;

  cin >> x >> y;

  cout << x*y  << endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'y'
    5 |   int x y;
      |         ^
a.cc:7:10: error: 'x' was not declared in this scope
    7 |   cin >> x >> y;
      |          ^
a.cc:7:15: error: 'y' was not declared in this scope
    7 |   cin >> x >> y;
      |               ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int x y;

  cin >> x >> y;

  cout << x*y << endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'y'
    5 |   int x y;
      |         ^
a.cc:7:10: error: 'x' was not declared in this scope
    7 |   cin >> x >> y;
      |          ^
a.cc:7:15: error: 'y' was not declared in this scope
    7 |   cin >> x >> y;
      |               ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int x;
  int y;

  cin >> x >> y;

  cout << x*y (x+y)*2<< endl;

  return 0;		 
}
		   


Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'y' cannot be used as a function
   10 |   cout << x*y (x+y)*2<< endl;
      |             ~~^~~~~
Language: C++

#include<stdio.h>

int main(){
  int t,h,m,s;

  scanf("%d", &t);
  h=t/3600
  m=t/60-h
  s=t%60
  printf("%d:%d:%d\n", &h,&m,&s);
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before 'm'
    7 |   h=t/3600
      |           ^
      |           ;
    8 |   m=t/60-h
      |   ~
Language: C++

#include <iostream>
using namespace std;
int main()
{
       
         int x,y;

         cin>>x;
         cin>>y;
    
    
         cout<<x*y<<endl;
         cout<<2*(x+y)<<endl;
}



3 5


Compiler output:
a.cc:18:1: error: expected unqualified-id before numeric constant
   18 | 3 5
      | ^
Language: C++

#include <iostream>
using namespace std;
int main()
{
       

         cin>>x;
         cin>>y;
   
    
         cout<<x*y<<endl;
         cout<<2*(x+y)<<endl;
}






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

#include <iostream>
using namespace std;
int main(3 5)
{
         int a,b;

         cin>> a >>b;

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

}






Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(3 5)
      |     ^~~~
a.cc:3:11: error: expected ')' before numeric constant
    3 | int main(3 5)
      |         ~ ^~
      |           )
a.cc:4:1: error: expected ',' or ';' before '{' token
    4 | {
      | ^
Language: C++

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

         cin>> a >>b;

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

}






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

#include <iostream>
using namespace std;
int main(answer)
{
         int a;
         int b;

         cin>> a >>b;

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

         return 0;
}






Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(answer)
      |     ^~~~
a.cc:3:10: error: 'answer' was not declared in this scope
    3 | int main(answer)
      |          ^~~~~~
Language: C++

#include <iostream>

using namespace std;

int main()

{
         int a;
         int b;

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

         return 0;
}






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

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


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

#include <iostream>
int main(void)
{
 
         int a=0;
         int b=0;
 
    std::cin>>a>>b;

    std::cout<<a*b<<2*(a+b)<<endl;
 
         return 0;
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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)
      |     ^~~~
Language: C++

#include <iostream>
int main(void)
{
 
         int a=0;
         int b=0;
 
         cin>>a>>b;

         cout<<a*b<<2*(a+b)<<endl;
 
         return 0;
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |          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:10:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |          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:10:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |          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(void)
{
 
         int a=0;
         int b=0;
 
         cin>>a>>b;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |          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:10:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |          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:10:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |          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(void){
 
         int a=0;
         int b=0;
 
         cin>>a>>b;

         cout<<a*b<<2*(a+b)<<endl;
 
         return 0;
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: 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:9:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |          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:9:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |          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>
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:10: error: expected initializer before 'cin'
    7 |          cin>> a >>b;
      |          ^~~
a.cc:9:18: error: 'b' was not declared in this scope
    9 |          cout<<a*b<<2*(a+b)<<endl;
      |                  ^
Language: C++

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

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



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

#include<iostream>
#include<string>

using namespace std;

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


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

#include<iostream>
#include<string>

using namespace std;

int main() {
    int a;
    int b;
    cin >> a;
    cin >> b;
    int S;
    S = a*b;
    int L;
    L = 2(a+b);
    cout << S << ' ' << L << endl;
    return 0;
}


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

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


Compiler output:
a.cc:8:8: warning: missing terminating " character
    8 | printf("%d　%d,area,zhou);
      |        ^
a.cc:8:8: error: missing terminating " character
    8 | printf("%d　%d,area,zhou);
      |        ^~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:1: error: expected primary-expression before '}' token
    9 | }
      | ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(){
	int a, b, area, zhou;
	scanf("%d %d"&a, &b);
	area = a*b;//面積
	zhou = 2 * (a + b);//周の長さ
	printf("%d[]%d\n", area, zhou);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:22: error: invalid operands of types 'const char [6]' and 'int' to binary 'operator&'
    5 |         scanf("%d %d"&a, &b);
      |               ~~~~~~~^~
      |               |       |
      |               |       int
      |               const char [6]
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int x,y;
    cin>>x>>y;
    cout<<x*y<<2x+2y<<endl;
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int x,y;
    cin>>x>>y;
    cout<<x*y<<" "<<2x+2y<<endl;
}


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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:4:22: error: expected ')' before 'a'
    4 |     printf("%d,%d,¥n" a*b,a+a+b+b);
      |           ~          ^~
      |                      )
Language: C++

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



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

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



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

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



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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: unable to find string literal operator 'operator""a' with 'const char [8]', 'long unsigned int' arguments
    4 |     printf("%d, %d "a*b, 2*(a+b));
      |            ^~~~~~~~~~
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    4 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    4 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

int main(void) {
	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:3:9: error: 'scanf' was not declared in this scope
    3 |         scanf("%d %d", &a, &b);
      |         ^~~~~
a.cc:4:9: error: 'printf' was not declared in this scope
    4 |         printf("%d %d",a*b,(a+b)*2);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void) {
Language: C++

#include<stdio.h>
int main(void) {
	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:6:21: error: expected '}' at end of input
    6 |            return 0;
      |                     ^
a.cc:2:16: note: to match this '{'
    2 | int main(void) {
      |                ^
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:4:20: error: invalid operands of types 'const char [9]' and 'int' to binary 'operator&'
    4 |     scanf("%d,%d¥n"&a,&b);
      |           ~~~~~~~~~^~
      |           |         |
      |           |         int
      |           const char [9]
a.cc:5:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    5 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

#include<stdio.h>
int main(){
    int a, b;
    if(1<=a,b>=100);
    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:5:18: error: invalid operands of types 'const char [6]' and 'int' to binary 'operator&'
    5 |     scanf("%d,%d"&a,&b);
      |           ~~~~~~~^~
      |           |       |
      |           |       int
      |           const char [6]
a.cc:6:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    6 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

#include<stdio.h>
int main(){
    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:4:18: error: invalid operands of types 'const char [6]' and 'int' to binary 'operator&'
    4 |     scanf("%d,%d"&a,&b);
      |           ~~~~~~~^~
      |           |       |
      |           |       int
      |           const char [6]
a.cc:5:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    5 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

cin >> a >> b; //


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'a' was not declared in this scope
    6 | cin >> a >> b; //
      |        ^
a.cc:6:13: error: 'b' was not declared in this scope
    6 | cin >> a >> b; //
      |             ^
a.cc:6:15: error: expected '}' at end of input
    6 | cin >> a >> b; //
      |               ^
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, 2*(a+b));
    return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: invalid operands of types 'const char [6]' and 'int' to binary 'operator&'
    4 |     scanf("%d,%d"&a,&b);
      |           ~~~~~~~^~
      |           |       |
      |           |       int
      |           const char [6]
a.cc:5:12: error: unable to find string literal operator 'operator""a' with 'const char [10]', 'long unsigned int' arguments
    5 |     printf("%d, %d¥n"a*b, 2*(a+b));
      |            ^~~~~~~~~~~
Language: C++

#include<iostream>
using namespace std;

int main(){

int a,b;

cin >> a >> b;

cout << a*b << a+b endl;

return0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: expected ';' before 'endl'
   10 | cout << a*b << a+b endl;
      |                   ^~~~~
      |                   ;
a.cc:12:1: error: 'return0' was not declared in this scope
   12 | return0;
      | ^~~~~~~