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

#include <iostream>

int main() {
      int ryo = a*b;
      std::cout << ryo << std::endl;
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:17: error: 'a' was not declared in this scope
    4 |       int ryo = a*b;
      |                 ^
a.cc:4:19: error: 'b' was not declared in this scope
    4 |       int ryo = a*b;
      |                   ^
Language: C++

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

return 0;


}
      


Compiler output:
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
      |                  ^~~
Language: C++

#include <iostream>

int main() {
    a = 3;
    b = 2;
int shikaku = ab;
std::cout <<shikaku<<std::endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'a' was not declared in this scope
    4 |     a = 3;
      |     ^
a.cc:5:5: error: 'b' was not declared in this scope
    5 |     b = 2;
      |     ^
a.cc:6:15: error: 'ab' was not declared in this scope; did you mean 'abs'?
    6 | int shikaku = ab;
      |               ^~
      |               abs
Language: C++

#include <iostream>

int main() {
    a = 3;
    b = 2;
int shikaku = a * b;
std::cout <<shikaku<<std::endl;
}



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

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: 'c' was not declared in this scope
    6 |       c=a*b
      |       ^
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:29: error: 'c' was not declared in this scope
    5 |       std::cin >> a >> b >> c >>;
      |                             ^
a.cc:5:33: error: expected primary-expression before ';' token
    5 |       std::cin >> a >> b >> c >>;
      |                                 ^
a.cc:6:10: error: expected ';' before 'b'
    6 |       a=5
      |          ^
      |          ;
    7 |       b=6
      |       ~
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: 'c' was not declared in this scope
    6 |       c=a*b
      |       ^
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: 'c' was not declared in this scope
    6 |       c=a*b;
      |       ^
a.cc:7:7: error: 'd' was not declared in this scope
    7 |       d=2a+2b;
      |       ^
a.cc:7:9: error: unable to find numeric literal operator 'operator""a'
    7 |       d=2a+2b;
      |         ^~
a.cc:7:12: error: unable to find numeric literal operator 'operator""b'
    7 |       d=2a+2b;
      |            ^~
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: unable to find numeric literal operator 'operator""a'
    7 |       int d=2a+2b;
      |             ^~
a.cc:7:16: error: unable to find numeric literal operator 'operator""b'
    7 |       int d=2a+2b;
      |                ^~
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: unable to find numeric literal operator 'operator""a'
    8 |       d=2a+2b;
      |         ^~
a.cc:8:12: error: unable to find numeric literal operator 'operator""b'
    8 |       d=2a+2b;
      |            ^~
Language: C++

#include <iostream>

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



Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected primary-expression before 'int'
    8 | int mawari = 2 * a + 2 * b;
      | ^~~
a.cc:9:14: error: 'mawari' was not declared in this scope
    9 | std::cout << mawari << std::endl;
      |              ^~~~~~
Language: C++

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

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


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

nclude<iostream>
using namespace std;

int main(){
  int a,b;

  sin 0 <= a,b <= 100;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'nclude' does not name a type
    1 | nclude<iostream>
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sin' was not declared in this scope
    7 |   sin 0 <= a,b <= 100;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b a*2+b*2 <<endl;
      |   ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int x;

  sin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sin' was not declared in this scope
    7 |   sin >> a >> b;
      |   ^~~
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   sin >> a >> b;
      |          ^
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   sin >> a >> b;
      |               ^
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b a*2+b*2 <<endl;
      |   ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int x;

  sin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sin' was not declared in this scope
    7 |   sin >> a >> b;
      |   ^~~
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   sin >> a >> b;
      |          ^
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   sin >> a >> b;
      |               ^
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b << a*2+b*2 <<endl;
      |   ^~~~
a.cc:9:28: error: 'endl' was not declared in this scope
    9 |   cout << a*b << a*2+b*2 <<endl;
      |                            ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a >> b;

  sin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before '>>' token
    5 |   int a >> b;
      |         ^~
a.cc:7:3: error: 'sin' was not declared in this scope
    7 |   sin >> a >> b;
      |   ^~~
a.cc:7:10: error: 'a' was not declared in this scope
    7 |   sin >> a >> b;
      |          ^
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   sin >> a >> b;
      |               ^
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b << a*2+b*2 <<endl;
      |   ^~~~
a.cc:9:28: error: 'endl' was not declared in this scope
    9 |   cout << a*b << a*2+b*2 <<endl;
      |                            ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a,b;

  sin >> a >> b;

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

  return 0;
}


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

include<iostream>
using namespace std;

int main(){
  int a,b;

  sin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'sin' was not declared in this scope
    7 |   sin >> a >> b;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b,2(a+b) <<endl;
      |   ^~~~
a.cc:9:16: error: expression cannot be used as a function
    9 |   cout << a*b,2(a+b) <<endl;
      |               ~^~~~~
a.cc:9:24: error: 'endl' was not declared in this scope
    9 |   cout << a*b,2(a+b) <<endl;
      |                        ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a,b;

  cin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b,2(a+b) <<endl;
      |   ^~~~
a.cc:9:16: error: expression cannot be used as a function
    9 |   cout << a*b,2(a+b) <<endl;
      |               ~^~~~~
a.cc:9:24: error: 'endl' was not declared in this scope
    9 |   cout << a*b,2(a+b) <<endl;
      |                        ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a,b;

  cin >> a >> b;

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

  return 0;
}


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b,2*(a+b) <<endl;
      |   ^~~~
a.cc:9:25: error: 'endl' was not declared in this scope
    9 |   cout << a*b,2*(a+b) <<endl;
      |                         ^~~~
Language: C++

include<iostream>
using namespace std;

int main(){
  int a,b;

  cin >> a >> b;

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

  return 0;
}


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

include<bit/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:1:1: error: 'include' does not name a type
    1 | include<bit/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>a>>b;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a*b <<" "<< 2*(a+b) <<endl;
      |   ^~~~
a.cc:9:33: error: 'endl' 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 <<" "<< (a + b) * 2 <<endl;
  return 0;
}


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

include<bits/>
using namespace std;

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


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

#include<iosstream>
using namespace std;

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


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

#include<iostream>
using namespace std;

int main()
{
  int x;
  int y;

  cin >>x>>y;

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


Compiler output:
a.cc:14:1: error: expected class-name before '~' token
   14 | ~
      | ^
Language: C++

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

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


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

#include<iostream>
using namespace std;

int main()
{
  int x,y;

  cin >> x >> y;

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


Compiler output:
a.cc:13:1: error: expected class-name before '~' token
   13 | ~
      | ^
Language: C++

#include<bits/stdc++>
using namespace std;
int main(){
	int a ,b;
	cin >> a >> b;
	cout << a + b endl;
}


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

#include<iostream>
using namespace std;

int main()
{
  int x,y;

  cin >> x >> y;

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



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

include<iostream>
using namespace std;

int main()
{
  int x,y;

  cin >> x >> y;

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



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> x >> y;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << x*y << " " << 2*(x+y) << endl;
      |   ^~~~
a.cc:10:36: error: 'endl' was not declared in this scope
   10 |   cout << x*y << " " << 2*(x+y) << endl;
      |                                    ^~~~
Language: C++

include<iostream>
using namespace std;

int main()
{
  int x,y;

  cin >> x >> y;

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


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> x >> y;
      |   ^~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << x*y << " " << 2*(x+y) << endl;
      |   ^~~~
a.cc:10:36: error: 'endl' was not declared in this scope
   10 |   cout << x*y << " " << 2*(x+y) << endl;
      |                                    ^~~~
Language: C++

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

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


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

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

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


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

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

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


Compiler output:
a.cc:4:1: error: 'imt' does not name a type; did you mean 'int'?
    4 | imt main(){
      | ^~~
      | int
Language: C++

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

int main(){

  int x;
  cin>>x;

  int h = x / 3600;
  int m = (x / 60) % 60;
  int s = x % 60;
  cout<<h<<":"<<m<<":"<<s<<endl;

  return 0;


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

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

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


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

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

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


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

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

        return 0;g++
}



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

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

        return 0;
        
        
}



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

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

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


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

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

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


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

#include<iostream>
using namespace std;

int main(){

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

return 0;
}


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


#include<iostream>

void cal_area(a,b){
    return a*b;
}
void cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    print(a << " " << b);
}

void input(){
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}



Compiler output:
a.cc:4:6: error: variable or field 'cal_area' declared void
    4 | void cal_area(a,b){
      |      ^~~~~~~~
a.cc:4:15: error: 'a' was not declared in this scope
    4 | void cal_area(a,b){
      |               ^
a.cc:4:17: error: 'b' was not declared in this scope
    4 | void cal_area(a,b){
      |                 ^
a.cc:7:6: error: variable or field 'cal_parimeter' declared void
    7 | void cal_parimeter(a,b){
      |      ^~~~~~~~~~~~~
a.cc:7:20: error: 'a' was not declared in this scope
    7 | void cal_parimeter(a,b){
      |                    ^
a.cc:7:22: error: 'b' was not declared in this scope
    7 | void cal_parimeter(a,b){
      |                      ^
a.cc:11:7: error: expected constructor, destructor, or type conversion before '(' token
   11 | output(a,b){
      |       ^
a.cc: In function 'void input()':
a.cc:16:17: error: 'a' was not declared in this scope
   16 |     std::cin >> a >> b;
      |                 ^
a.cc:16:22: error: 'b' was not declared in this scope
   16 |     std::cin >> a >> b;
      |                      ^
a.cc:17:12: error: 'cal_area' was not declared in this scope
   17 |     output(cal_area(a,b), cal_parimeter(a,b));
      |            ^~~~~~~~
a.cc:17:27: error: 'cal_parimeter' was not declared in this scope
   17 |     output(cal_area(a,b), cal_parimeter(a,b));
      |                           ^~~~~~~~~~~~~
a.cc:17:5: error: 'output' was not declared in this scope
   17 |     output(cal_area(a,b), cal_parimeter(a,b));
      |     ^~~~~~
Language: C++


#include<iostream>

void cal_area(a,b){
    return a*b;
}
void cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    print(a << " " << b);
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}


Compiler output:
a.cc:4:6: error: variable or field 'cal_area' declared void
    4 | void cal_area(a,b){
      |      ^~~~~~~~
a.cc:4:15: error: 'a' was not declared in this scope
    4 | void cal_area(a,b){
      |               ^
a.cc:4:17: error: 'b' was not declared in this scope
    4 | void cal_area(a,b){
      |                 ^
a.cc:7:6: error: variable or field 'cal_parimeter' declared void
    7 | void cal_parimeter(a,b){
      |      ^~~~~~~~~~~~~
a.cc:7:20: error: 'a' was not declared in this scope
    7 | void cal_parimeter(a,b){
      |                    ^
a.cc:7:22: error: 'b' was not declared in this scope
    7 | void cal_parimeter(a,b){
      |                      ^
a.cc:11:7: error: expected constructor, destructor, or type conversion before '(' token
   11 | output(a,b){
      |       ^
a.cc: In function 'void input()':
a.cc:18:12: error: 'cal_area' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |            ^~~~~~~~
a.cc:18:27: error: 'cal_parimeter' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |                           ^~~~~~~~~~~~~
a.cc:18:5: error: 'output' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |     ^~~~~~
Language: C++


#include<iostream>

int cal_area(a,b){
    return a*b;
}
int cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    print(a << " " << b);
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}



Compiler output:
a.cc:4:14: error: 'a' was not declared in this scope
    4 | int cal_area(a,b){
      |              ^
a.cc:4:16: error: 'b' was not declared in this scope
    4 | int cal_area(a,b){
      |                ^
a.cc:4:17: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int cal_area(a,b){
      |                 ^
a.cc:7:19: error: 'a' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                   ^
a.cc:7:21: error: 'b' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                     ^
a.cc:7:22: error: expression list treated as compound expression in initializer [-fpermissive]
    7 | int cal_parimeter(a,b){
      |                      ^
a.cc:11:7: error: expected constructor, destructor, or type conversion before '(' token
   11 | output(a,b){
      |       ^
a.cc: In function 'void input()':
a.cc:18:20: error: 'cal_area' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |            ~~~~~~~~^~~~~
a.cc:18:40: error: 'cal_parimeter' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |                           ~~~~~~~~~~~~~^~~~~
a.cc:18:5: error: 'output' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |     ^~~~~~
Language: C++


#include<iostream>

int cal_area(a,b){
    return a*b;
}
int cal_parimeter(a,b){
    return 2*(a+b);
}

output(a,b){
    std::cout << a << " " << b;
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}



Compiler output:
a.cc:4:14: error: 'a' was not declared in this scope
    4 | int cal_area(a,b){
      |              ^
a.cc:4:16: error: 'b' was not declared in this scope
    4 | int cal_area(a,b){
      |                ^
a.cc:4:17: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int cal_area(a,b){
      |                 ^
a.cc:7:19: error: 'a' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                   ^
a.cc:7:21: error: 'b' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                     ^
a.cc:7:22: error: expression list treated as compound expression in initializer [-fpermissive]
    7 | int cal_parimeter(a,b){
      |                      ^
a.cc:11:7: error: expected constructor, destructor, or type conversion before '(' token
   11 | output(a,b){
      |       ^
a.cc: In function 'void input()':
a.cc:18:20: error: 'cal_area' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |            ~~~~~~~~^~~~~
a.cc:18:40: error: 'cal_parimeter' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |                           ~~~~~~~~~~~~~^~~~~
a.cc:18:5: error: 'output' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |     ^~~~~~
Language: C++


#include<iostream>

int cal_area(a,b){
    return a*b;
}
int cal_parimeter(a,b){
    return 2*(a+b);
}

void output(a,b){
    std::cout << a << " " << b;
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(cal_area(a,b), cal_parimeter(a,b));
}
int main(){
    input();
    return 0;
}



Compiler output:
a.cc:4:14: error: 'a' was not declared in this scope
    4 | int cal_area(a,b){
      |              ^
a.cc:4:16: error: 'b' was not declared in this scope
    4 | int cal_area(a,b){
      |                ^
a.cc:4:17: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int cal_area(a,b){
      |                 ^
a.cc:7:19: error: 'a' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                   ^
a.cc:7:21: error: 'b' was not declared in this scope
    7 | int cal_parimeter(a,b){
      |                     ^
a.cc:7:22: error: expression list treated as compound expression in initializer [-fpermissive]
    7 | int cal_parimeter(a,b){
      |                      ^
a.cc:11:6: error: variable or field 'output' declared void
   11 | void output(a,b){
      |      ^~~~~~
a.cc:11:13: error: 'a' was not declared in this scope
   11 | void output(a,b){
      |             ^
a.cc:11:15: error: 'b' was not declared in this scope
   11 | void output(a,b){
      |               ^
a.cc: In function 'void input()':
a.cc:18:20: error: 'cal_area' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |            ~~~~~~~~^~~~~
a.cc:18:40: error: 'cal_parimeter' cannot be used as a function
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |                           ~~~~~~~~~~~~~^~~~~
a.cc:18:5: error: 'output' was not declared in this scope
   18 |     output(cal_area(a,b), cal_parimeter(a,b));
      |     ^~~~~~
Language: C++


#include<iostream>

void output(a,b){
    std::cout << a << " " << b;
}

void input(){
    int a, b;
    std::cin >> a >> b;
    output(a*b, 2*(a+b));
}
int main(){
    input();
    return 0;
}



Compiler output:
a.cc:4:6: error: variable or field 'output' declared void
    4 | void output(a,b){
      |      ^~~~~~
a.cc:4:13: error: 'a' was not declared in this scope
    4 | void output(a,b){
      |             ^
a.cc:4:15: error: 'b' was not declared in this scope
    4 | void output(a,b){
      |               ^
a.cc: In function 'void input()':
a.cc:11:5: error: 'output' was not declared in this scope
   11 |     output(a*b, 2*(a+b));
      |     ^~~~~~
Language: C++

#include<iostream>

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



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

#include<iostream>

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



Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 | 2*a+2*b<<std::endl;
      | ~~~~~~~^~~~~~~~~~~
Language: C++

include <iostream>
 int main() {

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




 return 0;




}javascript:void(0)


Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc:16:2: error: 'javascript' does not name a type
   16 | }javascript:void(0)
      |  ^~~~~~~~~~
Language: C++

include <iostream>
 int main() {

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




 return 0;




}


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

include <iostream>
 int main() {

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




 return 0;




}


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

include <iostream>
 int main() {

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




 return 0;




}


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

include <iostream>
 int main() {

   int a, b;
    std::cin >> a >> b;
     int c = a*b, d = 2*(a+b);

       std::cout << c << " " << d <<std::endl;




 return 0;




}


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:6: error: 'cin' was not declared in this scope
    3 |      cin << a << b;
      |      ^~~
a.cc:4:6: error: 'cout' was not declared in this scope
    4 |      cout << a * b <<endl;
      |      ^~~~
a.cc:4:22: error: 'endl' was not declared in this scope
    4 |      cout << a * b <<endl;
      |                      ^~~~
a.cc:6:1: error: expected primary-expression before ']' token
    6 | ]
      | ^
a.cc:6:2: error: expected '}' at end of input
    6 | ]
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main() {
      |            ^
Language: C++

int main() {
     int a, b, x, y;
     cin << a << b;
     x = a * b;
     y = 2 * (a+b);
     cout << x << y << endl;
     return 0;
]


Compiler output:
a.cc: In function 'int main()':
a.cc:3:6: error: 'cin' was not declared in this scope
    3 |      cin << a << b;
      |      ^~~
a.cc:6:6: error: 'cout' was not declared in this scope
    6 |      cout << x << y << endl;
      |      ^~~~
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |      cout << x << y << endl;
      |                        ^~~~
a.cc:8:1: error: expected primary-expression before ']' token
    8 | ]
      | ^
a.cc:8:2: error: expected '}' at end of input
    8 | ]
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main() {
      |            ^
Language: C++

int main() {
     int a, b, x, y;
     cin << a << b << end;
     x = a * b;
     y = 2 * (a+b);
     cout << x << y << endl;
     return 0;
]


Compiler output:
a.cc: In function 'int main()':
a.cc:3:6: error: 'cin' was not declared in this scope
    3 |      cin << a << b << end;
      |      ^~~
a.cc:3:23: error: 'end' was not declared in this scope
    3 |      cin << a << b << end;
      |                       ^~~
a.cc:6:6: error: 'cout' was not declared in this scope
    6 |      cout << x << y << endl;
      |      ^~~~
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |      cout << x << y << endl;
      |                        ^~~~
a.cc:8:1: error: expected primary-expression before ']' token
    8 | ]
      | ^
a.cc:8:2: error: expected '}' at end of input
    8 | ]
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main() {
      |            ^
Language: C++

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


Compiler output:
a.cc:2:1: error: 'usign' does not name a type
    2 | usign namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:5:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |  cin >> a >> b;
      |  ^~~
      |  std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |  cout << a * b << endl;
      |  ^~~~
      |  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |  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>
using namspace std;
int main (){
int x, y;
cin >> x, y;
cout << x*y << x*2+y*2 << endl;


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namspace'
    2 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin >> x, y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << x*y << x*2+y*2 << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout << x*y << x*2+y*2 << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:6:32: error: expected '}' at end of input
    6 | cout << x*y << x*2+y*2 << endl;
      |                                ^
a.cc:3:12: note: to match this '{'
    3 | int main (){
      |            ^
Language: C++

#include <iostream>
using namspace std;
int main (){
int x, y;
cin >> x, y;
cout << x*y << x*2+y*2 << endl;
}


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

#include <iostream>
using namsepace std;
int main(){
int x, y;
cin >> x >> y;
cout << x*y << 2*(x+y) << endl;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsepace'
    2 | using namsepace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin >> x >> y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << x*y << 2*(x+y) << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout << x*y << 2*(x+y) << 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 namsepace std;
int main(){
int x;
int y;
cin >> x >> y;
cout << x*y << 2*(x+y) << endl;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsepace'
    2 | using namsepace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin >> x >> y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout << x*y << 2*(x+y) << 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:7:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout << x*y << 2*(x+y) << 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 namsepace std;
int main(){
int x;
int y;
cin >> x >> y;
cout << x*y << 2*x+2*y << endl;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namsepace'
    2 | using namsepace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin >> x >> y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout << x*y << 2*x+2*y << 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:7:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout << x*y << 2*x+2*y << 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 namesepace std;
int main(){
int x, y;
cin >> x >> y;
cout << x*y << 2*x+2*y << endl;
}


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesepace'
    2 | using namesepace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 | cin >> x >> y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 | cout << x*y << 2*x+2*y << endl;
      | ^~~~
      | std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 | cout << x*y << 2*x+2*y << 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(){
using namesepace std;
int x, y;
cin >> x >> y;
cout << x*y << 2*x+2*y << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: expected nested-name-specifier before 'namesepace'
    4 | using namesepace std;
      |       ^~~~~~~~~~
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin >> x >> y;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 | cout << x*y << 2*x+2*y << 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:7:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 | cout << x*y << 2*x+2*y << 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 <iosteam>

using namespace std;

int main(){

    int x y;
    cin >> x y;
    cout << x*y << endl;
 
    return 0;
}



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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:4:11: error: expected initializer before 'b'
    4 |     int a b;
      |           ^
a.cc:5:12: error: 'a' was not declared in this scope
    5 |     cin >> a >> b;
      |            ^
a.cc:5:17: error: 'b' was not declared in this scope
    5 |     cin >> a >> b;
      |                 ^
a.cc:7:18: error: expression cannot be used as a function
    7 |     cout << 2(a+b);
      |                  ^