criyle/codenet-compile-errors huggingface dataset:
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:11: error: expected initializer before '<<' token
    5 |     int a << b ;
      |           ^~
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a >> b ;
      |            ^
a.cc:6:17: 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:18: error: expected ';' before numeric constant
    7 |     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:11: 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++

#incloud <iostrem>

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 #incloud; did you mean #include?
    1 | #incloud <iostrem>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:4: error: expected unqualified-id before ',' token
    5 | int,a,b;
      |    ^
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | 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 | #incloud <iostrem>
a.cc:8:1: error: 'cout' was not declared in this scope
    8 | cout<<a*b<<" "<<2*(a+b)<<endl;
      | ^~~~
a.cc:8:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:26: error: 'endl' was not declared in this scope
    8 | 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 | #incloud <iostrem>
a.cc:10:9: error: expected ';' before '}' token
   10 | return 0
      |         ^
      |         ;
   11 | }
      | ~
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:8: error: expected unqualified-id before '>>' token
    5 |     int>>a,b;
      |        ^~
a.cc:6:10: 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//(a+b)<<endl; 
    return 0; 
}


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

#include<iostream>
using namespace std;

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


Compiler output:
a.cc:4:11: error: expected initializer before '}' token
    4 | int main()}
      |           ^
a.cc:4:11: error: expected declaration before '}' token
a.cc:7:4: error: 'cin' does not name a type
    7 |    cin>>a;
      |    ^~~
a.cc:8:4: error: 'cin' does not name a type
    8 |    cin>>b;
      |    ^~~
a.cc:9:4: error: 'cout' does not name a type
    9 |    cout <<a*b <<2*(a+b)<<endl;
      |    ^~~~
a.cc:10:1: error: expected declaration before '}' token
   10 | }
      | ^
Language: C++

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

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


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

#incloude <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 #incloude; did you mean #include?
    1 | #incloude <iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | 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 | #incloude <iostream>
a.cc:8:1: error: 'cout' was not declared in this scope
    8 | cout<<a*b<<" "<<2*(a+b)<<endl;
      | ^~~~
a.cc:8:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:26: error: 'endl' was not declared in this scope
    8 | 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 | #incloude <iostream>
a.cc:10:9: error: expected ';' before '}' token
   10 | return 0
      |         ^
      |         ;
   11 | }
      | ~
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:10:9: error: expected ';' before '}' token
   10 | return 0
      |         ^
      |         ;
   11 | }
      | ~
Language: C++

#include<iostream>
using namepace std;

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << a * b << 2 * ( a + b ) << endl;
      |                                       ^~~~
      |                                       std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namepace std;

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << a* b << 2*( a+ b ) << endl;
      |                                   ^~~~
      |                                   std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namepace std;

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<< a* b <<2*( a+ b ) << endl;
      |                                 ^~~~
      |                                 std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namepace std;

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<<a*b<<2*(a+b)<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namepace std;

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepace'
    2 | using namepace 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<<a*b<<2*(a+b)<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <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:10:9: error: expected ';' before '}' token
   10 | return 0
      |         ^
      |         ;
   11 | }
      | ~
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:7:1: error: extended character 　 is not valid in an identifier
    7 | 　　cin>>b;
      | ^
a.cc:7:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:1: error: '\U00003000\U00003000cin' was not declared in this scope
    7 | 　　cin>>b;
      | ^~~~~~~
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   10 |         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:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout<<c+" "+d<<" ";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<stdio.h>

int main(){
  int a b;

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

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected initializer before 'b'
    4 |   int a b;
      |         ^
a.cc:6:19: error: 'a' was not declared in this scope
    6 |   scanf("%d %d", &a, &b);
      |                   ^
a.cc:6:23: error: 'b' was not declared in this scope
    6 |   scanf("%d %d", &a, &b);
      |                       ^
Language: C++

#include<stdio.h>

int main(){
  int a b;

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

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected initializer before 'b'
    4 |   int a b;
      |         ^
a.cc:6:19: error: 'a' was not declared in this scope
    6 |   scanf("%d %d", &a, &b);
      |                   ^
a.cc:6:23: error: 'b' was not declared in this scope
    6 |   scanf("%d %d", &a, &b);
      |                       ^
Language: C++

#include<cstdio>
#include<stdio.h>
#include<iostream>

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:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >>a;
      |         ^~~
      |         std::cin
In file included from a.cc:3:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:9: 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:35: 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 + 2 * b << ;
    return 0;
}
  


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

#include <stdio.h>

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


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

#include<iostream>
using namespace std;

 int main() {
   int a, b;

   cin >> a >> b >> end1;

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

  }


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

#include <stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:29: error: expected '}' at end of input
    9 |   printf("%d %d\n",area,le);
      |                             ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

#include <stdio.h>

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


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

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

    int a, b;
    cin >> a >> b;

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

    return 0;

}


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

#include <iostream>
usnig namespace 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: 'usnig' does not name a type
    2 | usnig 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 >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:41: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     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>
usnig namespace std;
int main(){

    int a, b;
    cin >> a >> b;

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

    return 0;

}


Compiler output:
a.cc:2:1: error: 'usnig' does not name a type
    2 | usnig 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 >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << a*b << " "<< a+a+b+b << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:37: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << a*b << " "<< a+a+b+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 << " " << a+a+b+b << endl;

    return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected initializer before '.' token
    5 |     int a. b;
      |          ^
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a >> b;
      |            ^
a.cc:6:17: 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) << " " << (a+a+b+b) << endl;

    return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected initializer before '.' token
    5 |     int a. b;
      |          ^
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a >> b;
      |            ^
a.cc:6:17: 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) << " " << (a+b)*2 << endl;

    return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected initializer before '.' token
    5 |     int a. b;
      |          ^
a.cc:6:12: error: 'a' was not declared in this scope
    6 |     cin >> a >> b;
      |            ^
a.cc:6:17: 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 << " " << 2a+2b << endl;
	return 0;
}


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

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


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

#include iostream

using namespace std;

int rectangle(){

  int a;

  int b;

  cin >> a b;

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

  return 0;

}


Compiler output:
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include iostream
      |          ^~~~~~~~
a.cc: In function 'int rectangle()':
a.cc:11:3: error: 'cin' was not declared in this scope
   11 |   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 | #include iostream
a.cc:13:3: error: 'coust' was not declared in this scope; did you mean 'const'?
   13 |   coust << a*b (a+b)*2 << endl;
      |   ^~~~~
      |   const
a.cc:13:16: error: 'b' cannot be used as a function
   13 |   coust << a*b (a+b)*2 << endl;
      |              ~~^~~~~
a.cc:13:27: error: 'endl' was not declared in this scope
   13 |   coust << a*b (a+b)*2 << endl;
      |                           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #include iostream
Language: C++

#include<stdio.h>

int main(){
  int a, b;

  printf("a, b");

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

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: expected ')' before numeric constant
   10 |   printf("%d\n",a*b 2*[a+b]);
      |         ~          ^~
      |                    )
Language: C++

#include <iostream>
useing namespace std;

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

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

} 


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

#include<iostream>
using namespace std;
  

int main(){
  

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

    return 0;
  



Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected primary-expression before '<<' token
   10 |     cout << a * b << <<a*2+b*2<< endl;
      |                      ^~
a.cc:13:14: error: expected '}' at end of input
   13 |     return 0;
      |              ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

import java.io.*;
class Main
{
 public static void main(String args[]) throws IOException
  {
    int a,b;
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    a=Integer.parseInt(br.readLine());
    b=Integer.parseInt(br.readLine());
    System.out.println(a*b+" "+(a+b*2));
   }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:8: error: expected ':' before 'static'
    4 |  public static void main(String args[]) throws IOException
      |        ^~~~~~~
      |        :
a.cc:4:26: error: 'String' has not been declared
    4 |  public static void main(String args[]) throws IOException
      |                          ^~~~~~
a.cc:4:39: error: expected ';' at end of member declaration
    4 |  public static void main(String args[]) throws IOException
      |                                       ^
      |                                        ;
a.cc:4:41: error: 'throws' does not name a type
    4 |  public static void main(String args[]) throws IOException
      |                                         ^~~~~~
a.cc:12:2: error: expected ';' after class definition
   12 | }
      |  ^
      |  ;
Language: C++

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



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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:4:19: error: expected initializer before 'int'
    4 | int main() {int a int b
      |                   ^~~
a.cc:6:7: error: 'ab' was not declared in this scope; did you mean 'abs'?
    6 | cout<<ab endl cout<<2(a+b);
      |       ^~
      |       abs
Language: C++

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



Compiler output:
a.cc: In function 'int main()':
a.cc:7:32: error: found ':' in nested-name-specifier, expected '::'
    7 |         cout << 2*a+2*b<<" "<<a:b<<endl;
      |                                ^
      |                                ::
a.cc:7:31: error: 'a' is not a class, namespace, or enumeration
    7 |         cout << 2*a+2*b<<" "<<a:b<<endl;
      |                               ^
Language: C++

import java.util.*;

public class Main {
public status void main(String[] args){

     Scanner sc = new Scanner(system.in);
         int x = sc.nextInt();
         int y = sc.nextint();
         int a,b;
a=x * y;
b=2*(x+y);
System.out.println(x" "y);
}
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

import java.util.*;

public class Main {
public status void main(String[] args){

     Scanner sc = new Scanner(system.in);
         int x = sc.nextInt();
         int y = sc.nextInt();

System.out.println(x*y);
}
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

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


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

def main():
    a = []
    for i in range(2):
        a.append(int(input()))
    print(str(a[0] * a[1]) + " " + str(2 * (a[0] + a[1])))

if __name__ == "__main__":
    main()


Compiler output:
a.cc:1:1: error: 'def' does not name a type
    1 | def main():
      | ^~~
Language: C++

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

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


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

#include(iostream)
using namespase

int main(){

int a, b

cin >>a >> b;

cout << a*b << endl;

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

return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b

cin >>a >> b;

cout << a*b << endl;

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

return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b

cin >>a >> b;

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



return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b

cin >>a >> b;

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



return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b;

cin >>a >> b;

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



return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b;

cin >>a >> b;

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

cout << a*b << endl;



return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

include(iostream)
using namespase

int main(){

int a, b;

cin >>a >> b;

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

cout << a*b << endl;



return 0
}






Compiler output:
a.cc:1:8: error: expected constructor, destructor, or type conversion before '(' token
    1 | include(iostream)
      |        ^
Language: C++

#include(iostream)
using namespase

int main(){

int a, b;

cin >> a >> b;

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



return 0
}




Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b;

cin >> a >> b;

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


return 0
}






Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

int a, b;

cin >> a >> b;

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


return 0
}


Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++

#include(iostream)
using namespase

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;
}




Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase
      |       ^~~~~~~~~
Language: C++


#include(iostream)
using namespase

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;





Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase
      |       ^~~~~~~~~
Language: C++


#include(iostream)
using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;





Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b;
      |   ^~~
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << a*b  2*(a+b) << endl;
      |   ^~~~
a.cc:14:12: error: expected '}' at end of input
   14 |   return 0;
      |            ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

#include(iostream)
using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;





Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> a >> b;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << a*b  2*(a+b) << endl;
      |   ^~~~
a.cc:13:12: error: expected '}' at end of input
   13 |   return 0;
      |            ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++


#include(iostream)
using namespase std;

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b;^
      |   ^~~
a.cc:9:17: error: expected primary-expression before '^' token
    9 |   cin >> a >> b;^
      |                 ^
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << a*b2*(a+b) << endl;^
      |   ^~~~
a.cc:11:13: error: 'b2' was not declared in this scope; did you mean 'b'?
   11 |   cout << a*b2*(a+b) << endl;^
      |             ^~
      |             b
a.cc:11:25: error: 'endl' was not declared in this scope
   11 |   cout << a*b2*(a+b) << endl;^
      |                         ^~~~
a.cc:11:30: error: expected primary-expression before '^' token
   11 |   cout << a*b2*(a+b) << endl;^
      |                              ^
a.cc:14:3: error: expected primary-expression before 'return'
   14 |   return 0;^
      |   ^~~~~~
a.cc:14:12: error: expected primary-expression before '^' token
   14 |   return 0;^
      |            ^
a.cc:14:13: error: expected primary-expression at end of input
   14 |   return 0;^
      |             ^
a.cc:14:13: error: expected '}' at end of input
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++


#include(iostream)
using namespase std;^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;^
      |       ^~~~~~~~~
a.cc:3:21: error: expected unqualified-id before '^' token
    3 | using namespase std;^
      |                     ^
Language: C++


#include(iostream)^
using namespase std;^^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^
      |         ^
a.cc:3:7: error: expected nested-name-specifier before 'namespase'
    3 | using namespase std;^^
      |       ^~~~~~~~~
a.cc:3:21: error: expected unqualified-id before '^' token
    3 | using namespase std;^^
      |                     ^
Language: C++


#include(iostream)^
^using namespase std;^^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^
      |                      ^
Language: C++


#include(iostream)^
^using namespase std;^^ ^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^
      |                      ^
Language: C++


#include(iostream)^
^using namespase std;^^ ^ ^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^ ^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^ ^
      |                      ^
Language: C++


#include(iostream)^^
^using namespase std;^^ ^ ^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^ ^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^^ ^ ^
      |                      ^
Language: C++


#include(iostream)^^
^using namespase std;^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      |                      ^
Language: C++


#include(iostream)^^ ^
^using namespase std;^

int main(){

  int a, b;

  cin >> a >> b;^

  cout << a*b2*(a+b) << endl;^


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^^ ^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      |                      ^
Language: C++


#include(iostream)^
^using namespase std;^

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;^




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)^
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      | ^
a.cc:3:22: error: expected unqualified-id before '^' token
    3 | ^using namespase std;^
      |                      ^
Language: C++


#include(iostream)
^using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;
      | ^
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b;
      |   ^~~
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << a*b<< " " << 2*(a+b) << endl;
      |   ^~~~
a.cc:11:35: error: 'endl' was not declared in this scope
   11 |   cout << a*b<< " " << 2*(a+b) << endl;
      |                                   ^~~~
a.cc:14:12: error: expected '}' at end of input
   14 |   return 0;
      |            ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++


#include(iostream)
^using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;
}




Compiler output:
a.cc:2:9: error: #include expects "FILENAME" or <FILENAME>
    2 | #include(iostream)
      |         ^
a.cc:3:1: error: expected unqualified-id before '^' token
    3 | ^using namespase std;
      | ^
a.cc: In function 'int main()':
a.cc:9:3: error: 'cin' was not declared in this scope
    9 |   cin >> a >> b;
      |   ^~~
a.cc:11:3: error: 'cout' was not declared in this scope
   11 |   cout << a*b<< " " << 2*(a+b) << endl;
      |   ^~~~
a.cc:11:35: error: 'endl' was not declared in this scope
   11 |   cout << a*b<< " " << 2*(a+b) << endl;
      |                                   ^~~~
Language: C++

#include(iostream)
^using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;
}




Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:1: error: expected unqualified-id before '^' token
    2 | ^using namespase std;
      | ^
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> a >> b;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << a*b<< " " << 2*(a+b) << endl;
      |   ^~~~
a.cc:10:35: error: 'endl' was not declared in this scope
   10 |   cout << a*b<< " " << 2*(a+b) << endl;
      |                                   ^~~~
Language: C++

#include(iostream)
using namespase std;

int main(){

  int a, b;

  cin >> a >> b;

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


  return 0;
}




Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> a >> b;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << a*b<< " " << 2*(a+b) << endl;
      |   ^~~~
a.cc:10:35: error: 'endl' was not declared in this scope
   10 |   cout << a*b<< " " << 2*(a+b) << endl;
      |                                   ^~~~