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

int main(){
	int a, b, area, length;

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

	area = a * b ;
	length = ( a + b ) * 2 ;

	printf("%d &d", &area, &length) ;

	}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d %d", &a, &b);
      |         ^~~~~
a.cc:9:9: error: 'printf' was not declared in this scope
    9 |         printf("%d &d", &area, &length) ;
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
Language: C++

#include (cstdio)

int main(){
	int a, b, area, length;

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

	area = a * b ;
	length = ( a + b ) * 2 ;

	printf("%d &d", &area, &length) ;

	}

Compiler output:
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include (cstdio)
      |          ^
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf' was not declared in this scope
    6 |         scanf("%d %d", &a, &b);
      |         ^~~~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d &d", &area, &length) ;
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #include (cstdio)
Language: C++

#include <cstdio>

int main(){
	int a, b, area, length;

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

	area = a * b ;
	length = ( a + b ) * 2 ;

	printf("%d", area) 
        printf(" %d", length);

	}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: expected ';' before 'printf'
   11 |         printf("%d", area)
      |                           ^
      |                           ;
   12 |         printf(" %d", length);
      |         ~~~~~~
Language: C++

#include <tst>

int main(){
	int a, b, area, length;

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

	area = a * b ;
	length = ( a + b ) * 2 ;

	printf("%d ", area) ;
        printf("%d\n", length);

	}

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

#include<stdio.h>
int main()
{
int a,b,x,y;

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

x=a*b;
y=2*(a+b)

printf("%d %d\n",x,y);

return 0;
}

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

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

Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << area << " " << length << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:36: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout << area << " " << length << 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 <stdio>

using namespace std;

int main() {
    int a, b;
    scanf("%d", a);
    scanf("%d", b);

    int area = a * b;
    int cir = (a + b) * 2;


    printf("%d %d\n", area, cir)
}

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

#include <stdio.h>

using namespace std;

int main() {
    int a, b;
    scanf("%d", a);
    scanf("%d", b);

    int area = a * b;
    int cir = (a + b) * 2;


    printf("%d %d\n", area, cir)
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:33: error: expected ';' before '}' token
   14 |     printf("%d %d\n", area, cir)
      |                                 ^
      |                                 ;
   15 | }
      | ~
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: In function 'int main()':
a.cc:9:25: error: expression cannot be used as a function
    9 |         cout << a*b << 2(a+b) << '\n';
      |                        ~^~~~~
Language: C++

#include<iostream>

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

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

#include <iostream>

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

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

#include <iostream>

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

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

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |      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:12:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |      cout << d << ' ' << c << 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:12:31: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |      cout << d << ' ' << c << endl;
      |                               ^~~~
      |                               std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

using namespace std;

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

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

#include <iostream>
using namespace std;

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

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

#include<iostream>

using namespace std;

int main(){

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

}

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

#include<iostream>

using namespace std;

int main(){

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

}

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

#include<iostream>
#include "Source.h"
using namespace std;
int main() {
	double a, b;
	cin >> a >> b;
	cout << a*b << " " << 2 * a + 2 * b << endl;

	return 0;
}

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

#include<iostream>
using namespace std;

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

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

include <iostream.h>
using namespace std;

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

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

#include <iostream>

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

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

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

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

include<stdio.h>

int main(){
int tate=a;
int yoko=b;
printf("面積＝%d 周の長さ＝%d",tate*yoko,2*(tate+yoko));
return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: 'n' was not declared in this scope
    4 | scanf("%d"&n);
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: expected ';' before 'printf'
    7 | d=a+a+b+b
      |          ^
      |          ;
    8 | printf("????????¢?????¢??????%d ????????¢?????¨???????????????%d\n",c,d);
      | ~~~~~~
Language: C++

#include(iostream)
using namespace
int main(){

int a,b,c,d???

cin>>a b???

c=a???b???

d=a???2+b???2???

cout<< c d<< endl???

return 0???

}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:3:1: error: expected identifier before 'int'
    3 | int main(){
      | ^~~
a.cc:2:16: error: expected ';' before 'int'
    2 | using namespace
      |                ^
      |                ;
    3 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before '?' token
    5 | int a,b,c,d???
      |            ^
Language: C++

#include(iostream)
using namespace
int main(){

int a,b,c,d???

cin>>a b???

c=a???b???

d=a???2+b???2???

cout<< c << d<< endl???

return 0???

}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:3:1: error: expected identifier before 'int'
    3 | int main(){
      | ^~~
a.cc:2:16: error: expected ';' before 'int'
    2 | using namespace
      |                ^
      |                ;
    3 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before '?' token
    5 | int a,b,c,d???
      |            ^
Language: C++

#include(iostream)
using namespace
int main(){

int a,b,c,d???

cin>>a>> b???

c=a???b???

d=a???2+b???2???

cout<< c << d<< endl???

return 0???

}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:3:1: error: expected identifier before 'int'
    3 | int main(){
      | ^~~
a.cc:2:16: error: expected ';' before 'int'
    2 | using namespace
      |                ^
      |                ;
    3 | int main(){
      | ~~~             
a.cc: In function 'int main()':
a.cc:5:12: error: expected initializer before '?' token
    5 | int a,b,c,d???
      |            ^
Language: C++

#include(iostream)
using namespace std???
int main(){

int a,b,c,d???

cin>>a>> b???

c=a???b???

d=a???2+b???2???

cout<< c << d<< endl???

return 0???

}

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

#include(iostream)
using namespace std???
int main(){

int a,b,c,d???

cin>>a>> b???

c=a???b???

d=2???(a+b)???

cout<< c << d<< endl???

return 0???

}

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:11:5: warning: trigraph ??( ignored, use -trigraphs to enable [-Wtrigraphs]
   11 | d=2???(a+b)???
a.cc:2:20: error: expected ';' before '?' token
    2 | using namespace std???
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before '?' token
Language: C++

#include <iostream>

using namespace std;

int main(){

    int a,b,c,d;

    cin >> a >> b;

    c=a+b;

    d=2(a+b);

    cout << c << d <<endl;



    return 0

}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:8: error: expression cannot be used as a function
   13 |     d=2(a+b);
      |       ~^~~~~
a.cc:19:13: error: expected ';' before '}' token
   19 |     return 0
      |             ^
      |             ;
   20 | 
   21 | }
      | ~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Here your code !



    int a,b,c,d;

    cin >> a >> b;

    c=a+b;

    d=2(a+b);

    cout << c << d <<endl;



    return 0;

}  

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

#include <iostream>
using namespace std;
int main(void){
    // Here your code !
 
 
 
    int a,b,c,d;
 
    cin >> a >> >> b;
 
    c=a*b;
 
    d=2*(a+b);
 
    cout << c << << d <<endl;
 
 
 
    return 0;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected primary-expression before '>>' token
   10 |     cin >> a >> >> b;
      |                 ^~
a.cc:16:18: error: expected primary-expression before '<<' token
   16 |     cout << c << << d <<endl;
      |                  ^~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Here your code !
 
 
 
    int a,b;
 
    cin >> a >> b;
 
    c=a*b;
 
    d=2*(a+b);
 
    cout << a*b << " " << 2*(a+b) <<endl;
 
 
 
    return 0;
 
}

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

#include <iostream>
using namespace std;
int main(void){
	int a,b,c,d,e,f;
	cin >> a >> b >> c >> d >> e >> f;
	c = a*b;
	d = 2*(a+b)
	cout << c << d <<endl;
}

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

#include <iostream>
using namespace std;
int main()
{
	int a,b,c,d,e,f;
	cin >> a >> b >> c >> d;
	c = a*b;
	d = 2*(a+b)
	cout << c << " " << d <<endl;
}

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected unqualified-id before ';' token
    4 | int x,y,;
      |         ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected unqualified-id before ';' token
    4 | int x,y,;
      |         ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected unqualified-id before ';' token
    4 | int x,y,;
      |         ^
Language: C++

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

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

#include <iostream>

using namespace std;

int main(){

	int a,b;
	int x =0;
	int l =0;

	cin >> a;
	cin >> b;

	x = a*b;
	l = (a+b) * 2;

	cout << x, l << endl;
}

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

#include <iostream>


void main() {
  int height, width;
   std::cin >> height >> width;
   std::cout << height * width << ' ' << 2 * height + 2 * width << std::endl;
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main() {
      | ^~~~
Language: C++

import java.util.Scanner;

class Main{
	static public void main (String args[]){
		Scanner scan = new Scanner(System.in);
		int val1 = scan.nextInt();
		int val2 = scan.nextInt();

		int area = 0; //??¢???
		int around = 0; //??¨?????????

		area = val1*val2;
		around = (val1 + val2)*2;
		System.out.print(area+" "+around);
	}
}

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:4:16: error: expected unqualified-id before 'public'
    4 |         static public void main (String args[]){
      |                ^~~~~~
a.cc:16:2: error: expected ';' after class definition
   16 | }
      |  ^
      |  ;
Language: C++

import scala.io.StdIn

object Main{
  def main(args: Array[String]): Unit = {
   readLine.split(" ") map (_.toInt) match {
    case Array(w,d) => println(w*d w*2+d*2)
   }
  }
}

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

import scala.io.StdIn

object Main{
  def main(args: Array[String]): Unit = {
   readLine.split(" ") map (_.toInt) match {
    case Array(w,d) => println(s"${w*d} ${w*2+d*2}")
   }
  }
}

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


object Main{
  def main(args: Array[String]): Unit = {
   readLine.split(" ") map (_.toInt) match {
    case Array(w,d) => println(s"${w*d} ${w*2+d*2}")
   }
  }
}

Compiler output:
a.cc:2:1: error: 'object' does not name a type
    2 | object Main{
      | ^~~~~~
Language: C++

#include<iostream>
using namespace std;

main(){

 int a, b;
 int area, length;

 cin>> a >>b;

area= a*b;
length = 2*(a+b);

cout << area < " " << length << endl;


}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:14:20: error: invalid operands of types 'const char [2]' and 'int' to binary 'operator<<'
   14 | cout << area < " " << length << endl;
      |                ~~~ ^~ ~~~~~~
      |                |      |
      |                |      int
      |                const char [2]
Language: C++

#include<stdio.h>
#include<stdlib.h>

int main(){
char num[10];
int a,b;
scanf("%c",&num);
a= atoi(num[0]);
b= atoi(num[2]);
printf("%d %d\n",a*b,2*(a+b));
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    8 | a= atoi(num[0]);
      |         ~~~~~^
      |              |
      |              char
In file included from /usr/include/c++/14/cstdlib:79,
                 from /usr/include/c++/14/stdlib.h:36,
                 from a.cc:2:
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
a.cc:9:14: error: invalid conversion from 'char' to 'const char*' [-fpermissive]
    9 | b= atoi(num[2]);
      |         ~~~~~^
      |              |
      |              char
/usr/include/stdlib.h:105:30: note:   initializing argument 1 of 'int atoi(const char*)'
  105 | extern int atoi (const char *__nptr)
      |                  ~~~~~~~~~~~~^~~~~~
Language: C++

#include<iostream>
using namespace std;

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

    return 0;
}

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

#include<iostream>
using namespace std;

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

    return 0;
}

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

#include<iostream>
using namespace std;

int main(){

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

    return 0;
}

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

#include <iostream>

using namespace std;

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

	S = s * b;
        L = 2 * (a+b);

	cout << S <<" "<< L <<endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: 's' was not declared in this scope
   10 |         S = s * b;
      |             ^
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    6 |         scanf_s("%d %d", &a, &b);
      |         ^~~~~~~
      |         scanf
Language: C++

#include<stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 're' was not declared in this scope
    8 |         re
      |         ^~
a.cc:8:11: error: expected '}' at end of input
    8 |         re
      |           ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include <stdio.h>

int main (void) {

  int x,y;

  printf("""");
  scanf("%d""%d",&x,&y);

  printf("%d %d\n",x*y,2*x+2*y);

  return 0;

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

#include <stdio.h>

int main (void) {

  int x,y;

  printf("" "");
  scanf("%d" "%d",&x,&y);

  printf("%d %d\n",x*y,2*x+2*y);

  return 0;

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

#include <stdio.h>

int main (void) {

  int x,y;

  printf("");
  scanf("%d %d",&x,&y);

  printf("%d %d\n",x*y,2*x+2*y);

  return 0;

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

import java.io.*;

public class Main {


    public static void main(String[] args) throws IOException  {
        
        int a,b,x,y;
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String st = br.readLine();
        a = Integer.parseInt(st.substring(0,1));
        b = Integer.parseInt(st.substring(2,3));
        x = a*b;
        y = 2*a + 2*b;
        System.out.printf(x+" "+y);        
    
    }
    
}

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

import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());

		String value[] = inputed.split("[\\s]+");
		int tate = Integer.parseInt(value[0]);
		int yoko = Integer.parseInt(value[1]);

		int fill = tate * yoko;
		int around = tate * 2 + yoko * 2;

		System.out.println(fill + " " + around)



	}
}

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

#include <stdio.h>

int main(void){

int a,b;
scant("%d %d",&a,&b);

printf("%d %d",a * b, 2*(a + b));




   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'scant' was not declared in this scope; did you mean 'scanf'?
    6 | scant("%d %d",&a,&b);
      | ^~~~~
      | scanf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'scant' was not declared in this scope; did you mean 'scanf'?
    6 | scant("%d %d",&a,&b);
      | ^~~~~
      | scanf
Language: C++

#include<iostream>
using namespace std;

int main()
{
	int a,b;

	cin >> a, b;

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

	return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before 'd'
    7 |         c = a*b
      |                ^
      |                ;
    8 |         d = 2*(a+b)
      |         ~
Language: C++

#include <stdio.h>

void main() {
	int a, b;
	scanf("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	int m = a*b, n = 2 * a + 2 * b;
	printf("%d %d?\n", m, n);
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
Language: C++

#include <stdio.h>

void main() {
	int a, b;
	int m = a*b;
	int	n = 2 * a + 2 * b;
	scanf("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	printf("%d %d?\n", m, n);
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
Language: C++

#include <stdio.h>

void main() {
	int a, b,m,n;
	scanf("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	m = a*b;
	n = 2 * a + 2 * b;
	printf("%d %d?\n", m, n);
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
Language: C++

#include <stdio.h>

void main() {
	int a,b,m,n;
	scanf("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	m = a*b;
	n = 2 * a + 2 * b;
	printf("%d %d?\n", m, n);
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
Language: C++

#include <stdio.h>
void main() {
	int a, b,m,n;
	scanf("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	m = a*b;
	n = 2 * a + 2 * b;
	printf("%d %d?\n", m, n);
}

Compiler output:
a.cc:2:1: error: '::main' must return 'int'
    2 | void main() {
      | ^~~~
Language: C++

#include<stdio.h>

int main(){

int &a, &b;

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

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

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'a' declared as reference but not initialized
    5 | int &a, &b;
      |      ^
a.cc:5:10: error: 'b' declared as reference but not initialized
    5 | int &a, &b;
      |          ^
a.cc:9:18: error: expected ')' before string constant
    9 | printf("%d\n",a*b "%d\n",2*(a+b))
      |       ~          ^~~~~~~
      |                  )
a.cc:9:34: error: expected ';' before 'return'
    9 | printf("%d\n",a*b "%d\n",2*(a+b))
      |                                  ^
      |                                  ;
   10 | 
   11 | return 0;
      | ~~~~~~
Language: C++

#include <stdio.h>
#define _CRT_SECURE_NO_WARNINGS
int main(void) {
	int a, b;
	scanf_s("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
	printf("%d %d?\n", a*b, 2*a+2*b);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d %d", &a, &b);     //  ?????°???????????????????????\????????????????????????
      |         ^~~~~~~
      |         scanf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    4 |         scanf_s("%d %d", &a, &b);
      |         ^~~~~~~
      |         scanf
Language: C++

#include<stdio.h>

int main(){

    int x,y;

    printf("x: ");
    scanf("%d",&x);
    printfr(y: ");
    scanf("%d",&y);
    
    printf("%d",2*a+2*y);
    printf("%d",x*y);
   
    return 0;
}

Compiler output:
a.cc:9:16: warning: missing terminating " character
    9 |     printfr(y: ");
      |                ^
a.cc:9:16: error: missing terminating " character
    9 |     printfr(y: ");
      |                ^~~
a.cc: In function 'int main()':
a.cc:9:14: error: found ':' in nested-name-specifier, expected '::'
    9 |     printfr(y: ");
      |              ^
      |              ::
a.cc:9:13: error: 'y' is not a class, namespace, or enumeration
    9 |     printfr(y: ");
      |             ^
a.cc:12:19: error: 'a' was not declared in this scope
   12 |     printf("%d",2*a+2*y);
      |                   ^
Language: C++

#include<iostream>
using namespace std;

int main(void){

int a,b,space,length;

cin >> a >> b;

space = a*b;
length = 2(a + b);

cout << space << " " << length << endl;

return 0;
}

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

#include<stdio.h>

int main(void)

{


   int a cm,b cm,mennseki;

   mennseki=a cm*b cm;


   printf("????????????"); scanf("%d",&a cm);


   printf("?¨??????????"); scanf("%d",&a cm);


   printf("%d",mennseki);


return 0;


}





   

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected initializer before 'cm'
    8 |    int a cm,b cm,mennseki;
      |          ^~
a.cc:10:4: error: 'mennseki' was not declared in this scope
   10 |    mennseki=a cm*b cm;
      |    ^~~~~~~~
a.cc:10:13: error: 'a' was not declared in this scope
   10 |    mennseki=a cm*b cm;
      |             ^
Language: C++




}
#include<stdio.h>

int main(void)

{


   int a_cm,b_cm,mennseki;

   mennseki=a_cm*b_cm


   scanf("%d %d",&a_cm&b_cm);


   printf("%d",mennseki);


return 0;


}





   

Compiler output:
a.cc:4:1: error: expected declaration before '}' token
    4 | }
      | ^
a.cc: In function 'int main()':
a.cc:14:22: error: expected ';' before 'scanf'
   14 |    mennseki=a_cm*b_cm
      |                      ^
      |                      ;
......
   17 |    scanf("%d %d",&a_cm&b_cm);
      |    ~~~~~
Language: C++

#include<stdio.h>

int main(void){


int a,b,c;


printf("a,b???????????\?????????????????????>>");


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


c = a*b


printf("%d %d",c,2*a+2*b);


return 0;


}

Compiler output:
a.cc:9:43: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs]
    9 | printf("a,b???????????\?????????????????????>>");
a.cc: In function 'int main()':
a.cc:15:8: error: expected ';' before 'printf'
   15 | c = a*b
      |        ^
      |        ;
......
   18 | printf("%d %d",c,2*a+2*b);
      | ~~~~~~
Language: C++

#include<stdio.h>

int main(void){


int a,b,c;


printf("a,b???????????\?????????????????????>>");


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


c = a*b


printf("%d %d",c,2*a+2*b);


return 0;


}

Compiler output:
a.cc:9:43: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs]
    9 | printf("a,b???????????\?????????????????????>>");
a.cc: In function 'int main()':
a.cc:15:8: error: expected ';' before 'printf'
   15 | c = a*b
      |        ^
      |        ;
......
   18 | printf("%d %d",c,2*a+2*b);
      | ~~~~~~
Language: C++

#include<stdio.h>

int main(void)

{


   int a_cm,b_cm,mennseki,x

   mennseki=a_cm*b_c


   scanf("%d %d",&a_cm&b_cm);


   printf("%d",mennseki);


   x=a_cm*2+b_cm*2


   printf("%d",x)





return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: expected initializer before 'mennseki'
   10 |    mennseki=a_cm*b_c
      |    ^~~~~~~~
a.cc:19:4: error: 'x' was not declared in this scope
   19 |    x=a_cm*2+b_cm*2
      |    ^
Language: C++

#include<stdio.h>

int main(void){

int a,b,c;

printf("a,b???????????\?????????????????????>>");

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

c = a*b

printf("%d %d",c,2*a+2*b);

return 0;

}

Compiler output:
a.cc:7:43: warning: trigraph ??> ignored, use -trigraphs to enable [-Wtrigraphs]
    7 | printf("a,b???????????\?????????????????????>>");
a.cc: In function 'int main()':
a.cc:11:8: error: expected ';' before 'printf'
   11 | c = a*b
      |        ^
      |        ;
   12 | 
   13 | printf("%d %d",c,2*a+2*b);
      | ~~~~~~
Language: C++

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
  numbers = input().split(' ')
  height = int(numbers[0]) 
  width = int(numbers[1])
  print(height * width ,height * 2 + width * 2)
  return

if __name__ == '__main__':
  main()

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #!/usr/bin/env python3
      |  ^
a.cc:2:3: error: invalid preprocessing directive #-
    2 | # -*- coding: utf-8 -*-
      |   ^
a.cc:10:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   10 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:3:1: error: 'def' does not name a type
    3 | def main():
      | ^~~
Language: C++

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

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
    1 | #inciude<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin>>a;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inciude<iostream>
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout<<a*b<<endl;
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |         cout<<a*b<<endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inciude<iostream>
Language: C++

#includ<iostream>
using namespace std;

int main()
{
	int S = 0, h = 0, m = 0, s = 0;
	cin>> S 
	h = S / 3600;
        m = S % 3600 / 60;
	s = S % 3600 % 60;
        cout<<h<<":"<<m<<":"<<s<<endl;
	return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin>> S
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ<iostream>
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout<<h<<":"<<m<<":"<<s<<endl;
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:34: error: 'endl' was not declared in this scope
   11 |         cout<<h<<":"<<m<<":"<<s<<endl;
      |                                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #includ<iostream>
Language: C++

#include<iostream>

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

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:8: error: 'a' was not declared in this scope
    6 |   cin>>a>>b;
      |        ^
a.cc:6:11: error: 'b' was not declared in this scope
    6 |   cin>>a>>b;
      |           ^
a.cc:8:14: error: expression cannot be used as a function
    8 |   int d=2(a+b);
      |              ^
Language: C++

#include<iostream>

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

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:8: error: 'a' was not declared in this scope
    6 |   cin>>a>>b;
      |        ^
a.cc:6:11: error: 'b' was not declared in this scope
    6 |   cin>>a>>b;
      |           ^
Language: C++

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

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:27: error: expression cannot be used as a function
    6 |   printf("%d %d\n", l*c, 2(l+c));
      |                          ~^~~~~
Language: C++

#include<iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;

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

area = a * b;
length = 2*a + 2*b;

out << area << " " << length <<endl:
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: 'area' was not declared in this scope
    8 | area = a * b;
      | ^~~~
a.cc:9:1: error: 'length' was not declared in this scope
    9 | length = 2*a + 2*b;
      | ^~~~~~
a.cc:11:1: error: 'out' was not declared in this scope
   11 | out << area << " " << length <<endl:
      | ^~~
Language: C++

#include<iostream>
using namespace std;

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

area = a * b;
length = 2(a +b);

cout << area << " " << length <<endl:
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: 'area' was not declared in this scope
    8 | area = a * b;
      | ^~~~
a.cc:9:1: error: 'length' was not declared in this scope
    9 | length = 2(a +b);
      | ^~~~~~
a.cc:9:11: error: expression cannot be used as a function
    9 | length = 2(a +b);
      |          ~^~~~~~
Language: C++

#include<iostream>
using namespace std;

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

area = a * b;
length = 2*a + 2*b;

	cout << area << " " << length <<endl:
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:45: error: expected ';' before ':' token
   12 |         cout << area << " " << length <<endl:
      |                                             ^
      |                                             ;