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

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


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

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


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

#include<iostream>
int main(){
    int a,b;
    stdcin>>a>>b;
    stdcout<<a*b<<" "<<2*(a+b);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'stdcin' was not declared in this scope; did you mean 'stdin'?
    4 |     stdcin>>a>>b;
      |     ^~~~~~
      |     stdin
a.cc:5:5: error: 'stdcout' was not declared in this scope; did you mean 'stdout'?
    5 |     stdcout<<a*b<<" "<<2*(a+b);
      |     ^~~~~~~
      |     stdout
Language: C++

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


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

#include<iostream>

int main() {
    int a;
    int b;
    cin>>a;
    cin>>b;
    std::cout<<a*b;
    std::cout<<2*(a+b);
    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;
      |     ^~~
      |     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() {
    int a;
    int b;
    std::cin>>a>>b;
    std::cout<<a*b<<" "<<2*(a+b)<<end1;
    return 0;


Compiler output:
a.cc: In function 'int main()':
a.cc:7:35: error: 'end1' was not declared in this scope
    7 |     std::cout<<a*b<<" "<<2*(a+b)<<end1;
      |                                   ^~~~
a.cc:8:14: error: expected '}' at end of input
    8 |     return 0;
      |              ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
int a,b;

cin >> a;
cin >> b;

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

return 0;
}


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

#include <iostream>

using namespace std;

int main()
{
int a,b;

cin >> a;
cin >> b;

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

return 0;
}


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

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


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

#include <iostream>

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


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

#include <iostream>

using namespace std;

int main()
{
int a,b;

cin >> a;
cin >> b;

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

return 0;
}


Compiler output:
a.cc:12:13: warning: missing terminating " character
   12 | cout << a*b " (a+b)*2 << endl;
      |             ^
a.cc:12:13: error: missing terminating " character
   12 | cout << a*b " (a+b)*2 << endl;
      |             ^~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:12:12: error: expected ';' before 'return'
   12 | cout << a*b " (a+b)*2 << endl;
      |            ^
      |            ;
   13 | 
   14 | return 0;
      | ~~~~~~
Language: C++

#include <iostream>

using namespace std;

int main()
{
int a,b;

cin >> a;
cin >> b;

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

return 0;
}


Compiler output:
a.cc:12:15: warning: missing terminating " character
   12 | cout << a*b <<"<<(a+b)*2 << endl;
      |               ^
a.cc:12:15: error: missing terminating " character
   12 | cout << a*b <<"<<(a+b)*2 << endl;
      |               ^~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:14:1: error: expected primary-expression before 'return'
   14 | return 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:6:26: error: extended character “ is not valid in an identifier
    6 |      std::cout << a*b << “ “ << 2*(a+b) << std::endl;
      |                          ^
a.cc:6:28: error: extended character “ is not valid in an identifier
    6 |      std::cout << a*b << “ “ << 2*(a+b) << std::endl;
      |                            ^
a.cc: In function 'int main()':
a.cc:6:26: error: '\U0000201c' was not declared in this scope
    6 |      std::cout << a*b << “ “ << 2*(a+b) << std::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:6:21: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) <<endl;
      |                     ^
a.cc:6:23: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) <<endl;
      |                       ^
a.cc: In function 'int main()':
a.cc:6:21: error: '\U0000201c' was not declared in this scope
    6 |      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:6:21: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) << endl;
      |                     ^
a.cc:6:23: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) << endl;
      |                       ^
a.cc: In function 'int main()':
a.cc:6:21: error: '\U0000201c' was not declared in this scope
    6 |      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:6:21: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) <<endl;
      |                     ^
a.cc:6:23: error: extended character “ is not valid in an identifier
    6 |      cout << a*b << “ “ << 2*(a+b) <<endl;
      |                       ^
a.cc: In function 'int main()':
a.cc:6:21: error: '\U0000201c' was not declared in this scope
    6 |      cout << a*b << “ “ << 2*(a+b) <<endl;
      |                     ^
Language: C++

import java.util.Scanner;

public class main {
	public static void main(String[] args){
		 Scanner sc = new Scanner(System.in);
	        int a = sc.nextInt();
	        int b = sc.nextInt();
	        int x,y;
	        x = a * b;
	        y = 2*(a+b);
	        System.out.println(x+" "+y);
	      
}
}


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

public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		int a,b;
		a=sc.nextInt();
		b=sc.nextInt();
		System.out.println((a*b)+""+(2*a+2*b));
		sc.close();
	}
}


Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public class Main {
      | ^~~~~~
Language: C++

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


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

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


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

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


Compiler output:
a.cc:6:21: error: stray '\' in program
    6 | cout<<a*b<<2*(a+b)<<\n;
      |                     ^
a.cc: In function 'int main()':
a.cc:6:22: error: 'n' was not declared in this scope
    6 | cout<<a*b<<2*(a+b)<<\n;
      |                      ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:10: error: expected unqualified-id before 'int'
    3 |     std::int a, b;
      |          ^~~
a.cc:4:17: error: 'a' was not declared in this scope
    4 |     std::cin >> a >> b;
      |                 ^
a.cc:4:22: error: 'b' was not declared in this scope
    4 |     std::cin >> a >> b;
      |                      ^
Language: C++

#include <iostream>
int main(void){
    int x = 3;
    int y = 5;
    int enshu = 3*2 + 5*2;
    int menseki = 3*5
    cout << menseki << " " << enshu <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected ',' or ';' before 'cout'
    7 |     cout << menseki << " " << enshu <<endl;
      |     ^~~~
Language: C++

#include <iostream>
int main(void){
    int x = 3;
    int y = 5;
    int enshu = 2*(3+5);
    int menseki = 3*5;
    cout << menseki <<" "<< enshu <<endl;
}


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

#include <iostream>
int main(void){
    int x;
    int y;
    cin >> x;
    cin >> y;
    int enshu = 2*(x+y);
    int menseki = x*y;
    std::cout << menseki <<" "<< enshu <<std::endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin >> x;
      |     ^~~
      |     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(void){
    int x;
    int y;
    cin >> x >> y;
    int enshu = 2*(x+y);
    int menseki = x*y;
    std::cout << menseki <<" "<< enshu <<std::endl;
}


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

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

int main(){

  int a, b;
  cin >> a, b;
  cout<<a* b end;
  return 0
}


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

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

int main(){

  int a, b;
  cin >> a >>b;
  cout<<a* b end;
  return 0
}


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

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

int main(){

  int a, b;
  cin>>a>>b;
  cout<<a* b end;
  return 0
}


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

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

int main(){

  int a, b;
  cin>>a>>b;
  cout<<a* b <<endl;
  return 0
}


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

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

int main(){

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


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

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

int main(){

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


Compiler output:
a.cc:1:10: fatal error: bits/:stdc++.h: No such file or directory
    1 | #include <bits/:stdc++.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
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:10: fatal error: bits/:stdc++.h: No such file or directory
    1 | #include <bits/:stdc++.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
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:10: fatal error: bits/:stdc++.h: No such file or directory
    1 | #include <bits/:stdc++.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expression cannot be used as a function
    8 |     cout<<a*b<<""(a+b)*2<<endl;
      |                ~~^~~~~
a.cc:9:5: error: 'retun' was not declared in this scope
    9 |     retun 0;
      |     ^~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expression cannot be used as a function
    8 |     cout<< a * b <<" "(a + b) * 2<<endl;
      |                    ~~~^~~~~~~
a.cc:9:5: error: 'retun' was not declared in this scope
    9 |     retun 0;
      |     ^~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expression cannot be used as a function
    9 |     cout<< a * b <<" "(a + b) * 2<<endl;
      |                    ~~~^~~~~~~
a.cc:10:5: error: 'retun' was not declared in this scope
   10 |     retun 0;
      |     ^~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expression cannot be used as a function
    8 |     cout<< a * b <<" "(a + b) * 2<<endl;
      |                    ~~~^~~~~~~
a.cc:9:5: error: 'retun' was not declared in this scope
    9 |     retun 0;
      |     ^~~~~
Language: C++

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'inta' was not declared in this scope; did you mean 'int'?
    6 |     inta,b;
      |     ^~~~
      |     int
a.cc:6:10: error: 'b' was not declared in this scope
    6 |     inta,b;
      |          ^
a.cc:7:10: error: 'a' was not declared in this scope
    7 |     cin>>a>>b;
      |          ^
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: In function 'int main()':
a.cc:8:23: error: expression cannot be used as a function
    8 |     cout<< a * b <<" "(a + b) * 2<<endl;
      |                    ~~~^~~~~~~
Language: C++

//itp1_topic_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: In function 'int main()':
a.cc:8:23: error: expression cannot be used as a function
    8 |     cout<< a * b <<" "(a + b) * 2<<endl;
      |                    ~~~^~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:33: error: 'a' was not declared in this scope
    6 |         printf( "%d %d",x*y, 2*(a+b));
      |                                 ^
a.cc:6:35: error: 'b' was not declared in this scope
    6 |         printf( "%d %d",x*y, 2*(a+b));
      |                                   ^
Language: C++

#include<iostream.h>
int main(){
int a;
int b;
int s;
int l;
a=3;
b=4;
std::cout << "Input" << "\n";
std::cout << a << " " << b << "\n";
s = a*b;
l= 2*a+2*b;
std::cout << "Output" << "\n";
std::cout << s << " " << l;
}


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

#include<iostream>
using namespace std;
int main(){
int a=3;
int b=4;
int s;
int l;
std::cout << "Input" << "\n";
std::cout << a << " " << b << "\n";
s = a*b;
l= 2*(a+b);
std::cout << "Output" << "\n";
std::cout << s << " " << l;


Compiler output:
a.cc: In function 'int main()':
a.cc:13:28: error: expected '}' at end of input
   13 | std::cout << s << " " << l;
      |                            ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int a;
int b;
int s;
int l;
std::cin >> a;
std::cin >> b;
s=a*b;
s=2*(a+b);
std;;cout << s << " " << l;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:4: error: expected primary-expression before ';' token
   12 | std;;cout << s << " " << l;
      |    ^
Language: C++

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


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

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


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


#include <iostream>

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


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

#include <iostream>

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


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

#include <iostream>

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


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

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



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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: 'a' was not declared in this scope
    6 |         cin >> a >> b;
      |                ^
a.cc:6:21: 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:7:20: error: expected primary-expression before '<<' token
    7 |   cout << (a*b) << << ((a+b)*2) << endl;
      |                    ^~
Language: C++

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


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

#include<iostream>
using namespace std;

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



Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 'x'
    9 |         cout <<y x<<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:7:16: error: expected ';' before 'cout'
    7 |      cin >> a,b
      |                ^
      |                ;
    8 |      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:7:19: error: expression cannot be used as a function
    7 |      cout << a*b,2(a+b) << endl;
      |                  ~^~~~~
Language: C++

#include<iostream>

using ma,espace std;

int main(){
  int a b 
cin>>a>>b;  //
   a*b 2*(a + b)
    return 20 20;
 }


Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'ma'
    3 | using ma,espace std;
      |       ^~
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'b'
    6 |   int a b
      |         ^
a.cc:8:4: error: 'a' was not declared in this scope
    8 |    a*b 2*(a + b)
      |    ^
a.cc:8:6: error: 'b' was not declared in this scope
    8 |    a*b 2*(a + b)
      |      ^
Language: C++

cin >> 10 >> 5;　//


Compiler output:
a.cc:1:16: error: extended character 　 is not valid in an identifier
    1 | cin >> 10 >> 5;　//
      |                ^
a.cc:1:1: error: 'cin' does not name a type
    1 | cin >> 10 >> 5;　//
      | ^~~
a.cc:1:16: error: '\U00003000' does not name a type
    1 | cin >> 10 >> 5;　//
      |                ^~
Language: C++

cin >> a*b >> 2*(a+b)[;　//


Compiler output:
a.cc:1:24: error: extended character 　 is not valid in an identifier
    1 | cin >> a*b >> 2*(a+b)[;　//
      |                        ^
a.cc:1:1: error: 'cin' does not name a type
    1 | cin >> a*b >> 2*(a+b)[;　//
      | ^~~
a.cc:1:24: error: '\U00003000' does not name a type
    1 | cin >> a*b >> 2*(a+b)[;　//
      |                        ^~
Language: C++

#include<iostream>
using namespace std;


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


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

#include<iostream>
using namespace std;


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


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

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

  cin >> a >> b;　//

  cout << x*x*x << endl;

  return 0;		 
}
		   


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

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

  cin >> a >> b;　//

  cout <<< endl;

  return 0;		 
}
		   


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

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

  cin >> a >> b;　//

  cout <<< endl;

  return 0;		 
}  


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

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

  cin >> a >> b;　//

  cout << x*x*x << endl;

  return 0;		 
}  


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

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

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


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main(){
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin>>a>>b;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<< a*b <<" "<<(a+b) *2 <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:38: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout<< a*b <<" "<<(a+b) *2 <<endl;
      |                                      ^~~~
      |                                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:17: error: expected ';' before '}' token
    9 |         return 0
      |                 ^
      |                 ;
   10 |         }
      |         ~
Language: C++

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

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


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main(){
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin>>a>>b;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<< a*b <<" "<< (a+b) *2 <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout<< a*b <<" "<< (a+b) *2 <<endl;
      |                                       ^~~~
      |                                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:17: error: expected ';' before '}' token
    9 |         return 0
      |                 ^
      |                 ;
   10 |         }
      |         ~
Language: C++

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

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


Compiler output:
a.cc:5:1: error: expected identifier before 'int'
    5 | int main(){
      | ^~~
a.cc:3:16: error: expected ';' before 'int'
    3 | using namespace
      |                ^
      |                ;
    4 | 
    5 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin>>a>>b;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<< a * b <<" "<< (a + b) *2 <<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:43: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout<< a * b <<" "<< (a + b) *2 <<endl;
      |                                           ^~~~
      |                                           std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:17: error: expected ';' before '}' token
    9 |         return 0
      |                 ^
      |                 ;
   10 |         }
      |         ~
Language: C++

include <iostream>
using namespace std;

int main (){
  int x,y;

  cin >> x >> y;
  cout << x*y << " " << 2*x+2*y << "\n";


  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 >> x >> y;
      |   ^~~
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout << x*y << " " << 2*x+2*y << "\n";
      |   ^~~~
Language: C++

//itp1__topic1_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: In function 'int main()':
a.cc:9:17: error: expected ';' before '}' token
    9 |         return 0
      |                 ^
      |                 ;
   10 |         }
      |         ~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'cont' was not declared in this scope; did you mean 'const'?
    8 |     cont << 2*(a+b) << endl;
      |     ^~~~
      |     const
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:8:13: error: expected ';' before '}' token
    8 |     return 0
      |             ^
      |             ;
    9 | }
      | ~
Language: C++

//itp1_topic1_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:2:10: fatal error: bits/stdc++.h?: No such file or directory
    2 | #include <bits/stdc++.h?>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include "stdafx.h"
#include <iostream>
using namespace std;




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

    return 0;
}


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

#include<iostream>


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

std:cin>>a;
std:cin>>b;

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

std:cout<<c;
std:cout<<d;

return 0;
}


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


import numpy as np
a=input() 
line=a.split()
x=int(line[0])
y=int(line[1])
z1=x*y
z2=x*2+y*2
z3=str(z1)
z4=str(z2)
print(z3,z4)


Compiler output:
a.cc:2:1: error: 'import' does not name a type
    2 | import numpy as np
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

a=input() 
line=a.split()
x=int(line[0])
y=int(line[1])
z1=x*y
z2=x*2+y*2
z3=str(z1)
z4=str(z2)
print(z3,z4)


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

#include<iostream>

int main()
{
  int a,b;

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

  return 0;
}


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

int main(){

double a,b;

std::cin>>a;
std::cin>>b;

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

return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 'Cout' is not a member of 'std'; did you mean 'cout'?
   10 | std::Cout<<a*b<<" "<<2*(a+b);
      |      ^~~~
      |      cout
Language: C++

#include<iostream>

int main(){

inta,b;

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

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:1: error: 'inta' was not declared in this scope; did you mean 'int'?
    5 | inta,b;
      | ^~~~
      | int
a.cc:5:6: error: 'b' was not declared in this scope
    5 | inta,b;
      |      ^
a.cc:7:11: error: 'a' was not declared in this scope
    7 | std::cin>>a>>b;
      |           ^
Language: C++

#include<iostream>
#include<cmath>

int main(){

inta,b;

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

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'inta' was not declared in this scope; did you mean 'int'?
    6 | inta,b;
      | ^~~~
      | int
a.cc:6:6: error: 'b' was not declared in this scope
    6 | inta,b;
      |      ^
a.cc:8:11: error: 'a' was not declared in this scope
    8 | std::cin>>a>>b;
      |           ^
Language: C++

#include<iostream>
#include<cstdlib>

int main()
{

int a,b;

std::cin>>a>>b;
std::out<<a*b<<" "<<2*(a+b);

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 'out' is not a member of 'std'; did you mean 'oct'?
   10 | std::out<<a*b<<" "<<2*(a+b);
      |      ^~~
      |      oct
Language: C++

#include<iostream>

int main()
{

int a,b;

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

return 0;
}


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

#include<iostream>
#include<stdlib>

int main()
{

int a,b;

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

return 0;
}


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

#include<iostream>

int main(){

int a,b;

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

return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: 'end1' is not a member of 'std'; did you mean 'ends'?
    8 | std::cout<<a*b<<2*(a+b)<<std::end1;
      |                               ^~~~
      |                               ends
Language: C++

#include<iostream>
using nameplace std;

int main(){

int a,b;

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

return 0;
}


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

#include<iostream>
using nameplace std;

int main(){

int a,b;

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

return 0;
}


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

#include<iostream>
using namespace std;

int main(){

int a,b;

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

return 0;
}


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

#include<iostream>
using namespace std;

int main(){

    int a,b;

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

    return 0;
}


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

#include<iostream>
using namespace std;

int main(){

    int a,b;

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

    return 0;
}


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