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

#include <stdio.h>
#include <string.h>

int main() {
	char S[101];
	char T[101;
	
	scanf ("%s %s", T, S);
	printf ("%s%s\n", S, T);

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:19: error: expected ']' before ';' token
    6 |         char T[101;
      |                   ^
      |                   ]
main.c:12:1: error: expected declaration or statement at end of input
   12 | }
      | ^
Language: C

#include <stdio.h>
#include <string.h>
int main(){
char S[11];
char T[11];
scanf("%s %s ,S ,T );
int a,b;
scanf("%d %d , &a,&b);
char N[10];
scanf("%s , N);
if(strcmp(N, S)==0) printf("%d %d, a-1,b);
if(strcmp(N, T)==0) printf("%d %d, a,b-1);
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:7: warning: missing terminating " character
    6 | scanf("%s %s ,S ,T );
      |       ^
main.c:6:7: error: missing terminating " character
    6 | scanf("%s %s ,S ,T );
      |       ^~~~~~~~~~~~~~~
main.c:7:1: error: expected expression before 'int'
    7 | int a,b;
      | ^~~
main.c:8:7: warning: missing terminating " character
    8 | scanf("%d %d , &a,&b);
      |       ^
main.c:8:7: error: missing terminating " character
    8 | scanf("%d %d , &a,&b);
      |       ^~~~~~~~~~~~~~~~
main.c:10:7: warning: missing terminating " character
   10 | scanf("%s , N);
      |       ^
main.c:10:7: error: missing terminating " character
   10 | scanf("%s , N);
      |       ^~~~~~~~~
main.c:11:28: warning: missing terminating " character
   11 | if(strcmp(N, S)==0) printf("%d %d, a-1,b);
      |                            ^
main.c:11:28: error: missing terminating " character
   11 | if(strcmp(N, S)==0) printf("%d %d, a-1,b);
      |                            ^~~~~~~~~~~~~~~
main.c:12:28: warning: missing terminating " character
   12 | if(strcmp(N, T)==0) printf("%d %d, a,b-1);
      |                            ^
main.c:12:28: error: missing terminating " character
   12 | if(strcmp(N, T)==0) printf("%d %d, a,b-1);
      |                            ^~~~~~~~~~~~~~~
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.h>
#include<string.h>
int  main(){
char str[100],temp;
int T,U=0;
printf("order etc\n");


   strrev(str);

   printf("etc order %s\n\n", str);
   



}


Compiler output:
main.c: In function 'main':
main.c:9:4: error: implicit declaration of function 'strrev'; did you mean 'strsep'? [-Wimplicit-function-declaration]
    9 |    strrev(str);
      |    ^~~~~~
      |    strsep
Language: C

#include<stdio.h>
#include<string.h>
int  main(){
char str[100],temp;
int T,U=0;
printf("order etc\n");
gets(str);

   strrev(str);

   printf("etc order %s\n\n", str);
   



}


Compiler output:
main.c: In function 'main':
main.c:7:1: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    7 | gets(str);
      | ^~~~
      | fgets
main.c:9:4: error: implicit declaration of function 'strrev'; did you mean 'strsep'? [-Wimplicit-function-declaration]
    9 |    strrev(str);
      |    ^~~~~~
      |    strsep
Language: C++

#include <stdio.h>
int main () 
{
string a, b;
scanf("%s %s", a, b) ;
printf("%s%s\n", b, a) ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: 'string' was not declared in this scope; did you mean 'stdin'?
    4 | string a, b;
      | ^~~~~~
      | stdin
a.cc:5:16: error: 'a' was not declared in this scope
    5 | scanf("%s %s", a, b) ;
      |                ^
a.cc:5:19: error: 'b' was not declared in this scope
    5 | scanf("%s %s", a, b) ;
      |                   ^
Language: C

#include<stdio.h>
#include<string.h>
int main(){
	int X,Y;
	
	char S[30];
	char T[30];
	char U[30];
	if(strcmp(S,U)==0)
	{
		
		
	X--;
	printf("%d %d",X,Y);
	} 
	
	
  else if
	{
		
	Y--;
	printf("%d %d",X,Y);
	}
	
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:19:9: error: expected '(' before '{' token
   19 |         {
      |         ^
      |         (
Language: C++

#include <stdio.h>
int main(){
	char first[21]
	char second[21];
	scanf("%s", &first);
	scanf("%s", &second);
	printf("%s%s", &second, &first);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected initializer before 'char'
    4 |         char second[21];
      |         ^~~~
a.cc:5:22: error: 'first' was not declared in this scope
    5 |         scanf("%s", &first);
      |                      ^~~~~
a.cc:6:22: error: 'second' was not declared in this scope
    6 |         scanf("%s", &second);
      |                      ^~~~~~
Language: C++

#include <stdio.h>
int main(){
	char first[], second[];
	scanf("%s %s", &first, &second);
	printf("%s%s", &second, &first);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:14: error: storage size of 'first' isn't known
    3 |         char first[], second[];
      |              ^~~~~
a.cc:3:23: error: storage size of 'second' isn't known
    3 |         char first[], second[];
      |                       ^~~~~~
Language: C

include<stdio.h>

int main(){
	char S[100];
	char T[100];

scanf("%s %s",&S,&T);
printf("%s %s",&T,&S);

return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C++

#pragma GCC optimize ("Ofast")
#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
#define FOR(i, a, b) for (int i=(a); i<(b); i++)
#define FORD(i, a, b) for (int i=(a); i>(b); i--)
#define PPC(x) __builtin_popcount(x)
#define MSB(x) (31 - __builtin_clz(x))
#define SZ(x) ((int)(x).size())
#define BACK(x) prev((x).end())
#define HASK(x, y) ((x).find(y) != (x).end())
#define pb push_back
#define ALL(x) (x).begin(), (x).end()
#define ithBit(m, i) ((m) >> (i) & 1)
#define ft first
#define sd second
#define kw(a) ((a) * (a))
#ifdef DEBUG
#include "debug.h"
#else
#define dbg(...) 0
#endif
using namespace std;
 
const int maxN = 1 << 19;

char a[100], b[100];

void solve()
{
	scanf ("%s %s", a, b);
	printf("%s%s\n", b, );
}			
 
int main()
{
	int t = 1;
	//scanf ("%d", &t);
	FOR(tid, 1, t+1)
	{
		//printf("Case #%d: ", tid);
		solve();
	}
	return 0;
}
 




Compiler output:
a.cc: In function 'void solve()':
a.cc:31:29: error: expected primary-expression before ')' token
   31 |         printf("%s%s\n", b, );
      |                             ^
Language: C++

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

int main(){
  string s, t;
  cin >> s >> t;
  cout << s <<<<t;
}

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

#include <iostream>
#include <string>

int main() {
  std::string s, t; std::cin >> s >> t;
  std::cotu << (s+t) << std::endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'cotu' is not a member of 'std'; did you mean 'cout'?
    6 |   std::cotu << (s+t) << std::endl;
      |        ^~~~
      |        cout
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll =long long ;
int main() {
  string A,B,C;
  cin>>A>>B;
  c=A+B;
  cout<<C<<endl;
}


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

#include <iostream>
#include <string>
#include <vector>
#include <math.h>
#include <algorithm>
#include <utility>
typedef long long ll;
const int INF = 1e9+1;
const int MOD = 2e9 + 9;
const ll LINF = 1e18;
using namespace std;

bool prime(int x) {
	string s, t;
	cin >> s >> t;
	cout << t + s << endl;
	return 0;
}


Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main()
{
  string s, t; cin >> s >> t;
  return (cout << t+s << endl);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: cannot convert 'std::basic_ostream<char>::__ostream_type' {aka 'std::basic_ostream<char>'} to 'int' in return
    8 |   return (cout << t+s << endl);
      |          ~~~~~~~~~~~~~^~~~~~~~
      |                       |
      |                       std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
Language: C++

#include<iostream>
using namespace std;

string S,T;
int main(){
  Cin>>S>>T;
  Cout<<T+S<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'Cin' was not declared in this scope
    6 |   Cin>>S>>T;
      |   ^~~
a.cc:7:3: error: 'Cout' was not declared in this scope
    7 |   Cout<<T+S<<endl;
      |   ^~~~
Language: C++

#include <stdio.h>

int main() 

{
 char strng1[120];
 char strng2[120];
 
 scanf("%s %s", $strng1, &strng2);
 printf("%s%s\n", strng2, strng1);
 
 return 0;
}

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

int main(){	
	char string1[100] = "lala";
	char string2[100] = "lulu";
	
	printf("%s%s\n", string2, string1);

	
	return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'printf' was not declared in this scope
    5 |         printf("%s%s\n", string2, string1);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
a.cc:8:18: error: expected '}' at end of input
    8 |         return 0;
      |                  ^
a.cc:1:11: note: to match this '{'
    1 | int main(){
      |           ^
Language: C++

#include <stdio.sh>
int main(){
    char string1[103]
    char string2[103]

    scanf("%s %s", string1, string2);
    printf("%s%s\n", string2, string1);

    return 0;
}

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

#include <stdio.h>

int main() {
	char str1[100]
	char str2[100];
	
	scanf("%s %s", &str1, &str2);
	printf("%s%s", str1, str2);
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'char'
    5 |         char str2[100];
      |         ^~~~
a.cc:7:25: error: 'str1' was not declared in this scope
    7 |         scanf("%s %s", &str1, &str2);
      |                         ^~~~
a.cc:7:32: error: 'str2' was not declared in this scope
    7 |         scanf("%s %s", &str1, &str2);
      |                                ^~~~
Language: C++

#include <stdio.h>

int main () {
	char str1[111];
	char str2[111];
	
	scanf("%s %s", &str1, &str2);
	printf("%s%s", str2, str1");
	
	return 0;
}

Compiler output:
a.cc:8:34: warning: missing terminating " character
    8 |         printf("%s%s", str2, str1");
      |                                  ^
a.cc:8:34: error: missing terminating " character
    8 |         printf("%s%s", str2, str1");
      |                                  ^~~
a.cc: In function 'int main()':
a.cc:8:34: error: expected ')' before 'return'
    8 |         printf("%s%s", str2, str1");
      |               ~                  ^
      |                                  )
    9 | 
   10 |         return 0;
      |         ~~~~~~
Language: C++

#include <stdio.h>

int main() {
	char str10[100]
	char str20[100];
	
	scanf("%s %s", str10, str20);
	printf("%s%s", str10, str20);
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'char'
    5 |         char str20[100];
      |         ^~~~
a.cc:7:24: error: 'str10' was not declared in this scope
    7 |         scanf("%s %s", str10, str20);
      |                        ^~~~~
a.cc:7:31: error: 'str20' was not declared in this scope
    7 |         scanf("%s %s", str10, str20);
      |                               ^~~~~
Language: C++

include <stdio.h>

int main() {
	
	char first [107] ;
	char second[107] ;
	
	printf ("please input your input\n");
	scanf ("%s %s", &first, &second);
	printf ("%s%s\n", second, first);
	

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()
{
	char T[200];
	char S[200];
	scanf("%s %s", T, S)
	printf("%s%s\n", S, T);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:29: error: expected ';' before 'printf'
    7 |         scanf("%s %s", T, S)
      |                             ^
      |                             ;
    8 |         printf("%s%s\n", S, T);
      |         ~~~~~~
Language: C++

#include <stdio.h>

int main() {
	char name1[110];
	char nama2[110];
	
	scanf("%s %s", &nama1, &nama2);
	printf("%s%s", &nama2, &nama1);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'nama1' was not declared in this scope; did you mean 'nama2'?
    7 |         scanf("%s %s", &nama1, &nama2);
      |                         ^~~~~
      |                         nama2
Language: C++

```
#include <stdio.h>

int main (){
	char huruf1[249];
	char huruf2[249];
	
	scanf("%s %s", huruf1 , huruf2);
	printf("%s%s", huruf2 , huruf1);

	return 0;
}
```

Compiler output:
a.cc:1:1: error: stray '`' in program
    1 | ```
      | ^
a.cc:1:2: error: stray '`' in program
    1 | ```
      |  ^
a.cc:1:3: error: stray '`' in program
    1 | ```
      |   ^
a.cc:13:1: error: stray '`' in program
   13 | ```
      | ^
a.cc:13:2: error: stray '`' in program
   13 | ```
      |  ^
a.cc:13:3: error: stray '`' in program
   13 | ```
      |   ^
Language: Java

import java.util.*;
 public class Main {
	public static void main(String[] args){
      Scanner sc = new Scanner(System.in);

      int A = sc.nextInt();
      int B = sc.nextInt();
      int K = sc.nextInt();

      if(A + B <= K){
       System.out.println("0 0");

      }else if(A >= K){
       System.out.println((A - K) + " " + B);

      }else{
       System.out.println("0 " + (B - ((K - A));

      }
   }
 }

Compiler output:
Main.java:17: error: ')' expected
       System.out.println("0 " + (B - ((K - A));
                                               ^
1 error
Language: C

#include <stdio.h>
int main() {
  char s[101, t[101;
  scanf("%s %s", &s,&t);
  printf("%s%s",t,s);
  return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected ']' before ',' token
    3 |   char s[101, t[101;
      |             ^
      |             ]
main.c:7:3: error: expected declaration or statement at end of input
    7 |   }
      |   ^
Language: C

#include<stdio.h>
int main()
{
    char S[200];
    char T[200];
    scanf("%s",&S);
    scanf("%s",&T);
    printf("S=%s\n",S);
    printf("T=%s\n",T);
    return 0;

Compiler output:
main.c: In function 'main':
main.c:10:5: error: expected declaration or statement at end of input
   10 |     return 0;
      |     ^~~~~~
Language: C++

//////////////////////////
/*      _        ____   */
/*  U  /"\  u U /"___|  */
/*   \/ _ \/  \| | u    */
/*   / ___ \   | |/__   */
/*  /_/   \_\   \____|  */
/*   \\    >>  _// \\   */
/*  (__)  (__)(__)(__)  */
/*  Compro by NULL_CT©  */
//////////////////////////
/*STL Libs*/
#include <algorithm>
#include <array>
#include <bitset>
#include <cctype>
#include <chrono>
#include <cmath>
#include <complex>
#include <cstdint>
#include <cstdlib>
#include <deque>
#include <functional>
#include <iomanip>
#include <ios>
#include <iostream>
#include <iterator>
#include <map>
#include <numeric>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

/*Boost*/
#include <boost/multiprecision/cpp_dec_float.hpp>
#include <boost/multiprecision/cpp_int.hpp>

#define REP(i, lower, upper) for (long long i = lower; i < upper; i++)
#define ALL(list) (list.begin()), (list.end())
#define int long long //Black Magic

using namespace std;
using bint = boost::multiprecision::cpp_int;

constexpr int MOD = 10000007;

vector<long long> divisor(long long n) {
  vector<long long> head, tail;
  for (long long i = 1; i * i <= n; i++) {
    if (n % i == 0) {
      head.push_back(i);
      if (i * i != n)
        tail.push_back(n / i);
    }
  }
  head.insert(head.end(), tail.rbegin(), tail.rend());
  return (head);
}

//--------------------------------

void execute() {
  string s,t;
  cin>>s>>t;
  cout<<t+s<<endl;
}

//--------------------------------

int main() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  // cout<<fixed<<setprecision(20);

  execute();

  return (0);
}


Compiler output:
a.cc:40:10: fatal error: boost/multiprecision/cpp_dec_float.hpp: No such file or directory
   40 | #include <boost/multiprecision/cpp_dec_float.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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

long long int n,i,x,a;
string s,t;

signed main()
{
    ios_base::sync_with_stdio(0);
	cin.tie(0);
	cout.tie(0);
	
	cin>>s>>t;
	n=s.size();
	for (i=0;i<n;i++) t.pb(s[i]);
	cout<<t;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:29: error: 'std::string' {aka 'class std::__cxx11::basic_string<char>'} has no member named 'pb'
   15 |         for (i=0;i<n;i++) t.pb(s[i]);
      |                             ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string N,M;
  cin N,M;
  cout << M << N << endl;
}


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

#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
string A;
string B;
cin>>A>>B;
count<<A<<B<<"\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'count' was not declared in this scope
    9 | count<<A<<B<<"\n";
      | ^~~~~
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;
int main()
{
string A;
string B;
cin>>A>>B;
count<<AB<<"\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'count' was not declared in this scope
    9 | count<<AB<<"\n";
      | ^~~~~
a.cc:9:8: error: 'AB' was not declared in this scope; did you mean 'B'?
    9 | count<<AB<<"\n";
      |        ^~
      |        B
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;
int main(
string A;
string B;
cin>>A>>B;
count<<AB<<\n;
)

Compiler output:
a.cc:8:12: error: stray '\' in program
    8 | count<<AB<<\n;
      |            ^
a.cc:5:9: error: expected ')' before ';' token
    5 | string A;
      |         ^
      |         )
a.cc:4:9: note: to match this '('
    4 | int main(
      |         ^
a.cc:4:5: warning: first argument of 'int main(std::string)' should be 'int' [-Wmain]
    4 | int main(
      |     ^~~~
a.cc:4:5: warning: 'int main(std::string)' takes only zero or two arguments [-Wmain]
a.cc:7:1: error: 'cin' does not name a type
    7 | cin>>A>>B;
      | ^~~
a.cc:8:1: error: 'count' does not name a type
    8 | count<<AB<<\n;
      | ^~~~~
a.cc:9:1: error: expected unqualified-id before ')' token
    9 | )
      | ^
Language: C++

#include<stdio.h>
using namespace std;
int main(
string A;
string B;
cin>>A>>B;
count<<AB<<\n;
)


Compiler output:
a.cc:7:12: error: stray '\' in program
    7 | count<<AB<<\n;
      |            ^
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(
      |     ^~~~
a.cc:4:1: error: 'string' was not declared in this scope
    4 | string A;
      | ^~~~~~
a.cc:2:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    1 | #include<stdio.h>
  +++ |+#include <string>
    2 | using namespace std;
a.cc:5:1: error: 'string' does not name a type; did you mean 'stdin'?
    5 | string B;
      | ^~~~~~
      | stdin
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>A>>B;
      | ^~~
a.cc:7:1: error: 'count' does not name a type
    7 | count<<AB<<\n;
      | ^~~~~
a.cc:8:1: error: expected unqualified-id before ')' token
    8 | )
      | ^
Language: C++

#include<stdio.h>
using namespace std;
int main(
string A;
stirng B;
cin>>A>>B;
count<<AB<<\n;
)

Compiler output:
a.cc:7:12: error: stray '\' in program
    7 | count<<AB<<\n;
      |            ^
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main(
      |     ^~~~
a.cc:4:1: error: 'string' was not declared in this scope
    4 | string A;
      | ^~~~~~
a.cc:2:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    1 | #include<stdio.h>
  +++ |+#include <string>
    2 | using namespace std;
a.cc:5:1: error: 'stirng' does not name a type
    5 | stirng B;
      | ^~~~~~
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>A>>B;
      | ^~~
a.cc:7:1: error: 'count' does not name a type
    7 | count<<AB<<\n;
      | ^~~~~
a.cc:8:1: error: expected unqualified-id before ')' token
    8 | )
      | ^
Language: C++

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

int main() {
    string s,n;
    cin >> s >> n;
    cout << n + s;
    return 0
}


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

#include <iostream>
#include <string>
using namespace std;
string first,second;
int main() {
  cin >> first >> second
  cout << second + first
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: expected ';' before 'cout'
    6 |   cin >> first >> second
      |                         ^
      |                         ;
    7 |   cout << second + first
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;

int main() {
	int S, T;
	cin >> S >> T;

	string ans=T;
  	for(auto c:S){
      ans.push_back(c);
    }
	cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
   10 |         string ans=T;
      |                    ^
a.cc:11:20: error: 'begin' was not declared in this scope
   11 |         for(auto c:S){
      |                    ^
a.cc:11:20: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:166,
                 from a.cc:1:
/usr/include/c++/14/valarray:1238:5: note:   'std::begin'
 1238 |     begin(const valarray<_Tp>& __va) noexcept
      |     ^~~~~
In file included from /usr/include/c++/14/filesystem:53,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:200:
/usr/include/c++/14/bits/fs_dir.h:608:3: note:   'std::filesystem::__cxx11::begin'
  608 |   begin(recursive_directory_iterator __iter) noexcept
      |   ^~~~~
a.cc:11:20: error: 'end' was not declared in this scope
   11 |         for(auto c:S){
      |                    ^
a.cc:11:20: note: suggested alternatives:
/usr/include/c++/14/valarray:1265:5: note:   'std::end'
 1265 |     end(const valarray<_Tp>& __va) noexcept
      |     ^~~
/usr/include/c++/14/bits/fs_dir.h:613:3: note:   'std::filesystem::__cxx11::end'
  613 |   end(recursive_directory_iterator) noexcept
      |   ^~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
typedef long long ll;

int main() {
	int S, T;
	cin >> S >> T;

	string ans=T+S;
	cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
   10 |         string ans=T+S;
      |                    ~^~
Language: Java

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader; 
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Strings_f {
    public static void main(String[] args) throws IOException {
        BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
        StringTokenizer st;
        String a=sc.readLine();
        String b=sc.readLine();
        pw.println(b+a);
        pw.close();
    }
}

Compiler output:
Main.java:9: error: class Strings_f is public, should be declared in a file named Strings_f.java
public class Strings_f {
       ^
1 error
Language: C++

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


int main() {
  string S,T,U ; 
  cin >> S >> T ;
  
  U = T + U
  
  cout >> U >> endl  ;
  
  
  
  
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: expected ';' before 'cout'
    9 |   U = T + U
      |            ^
      |            ;
   10 | 
   11 |   cout >> U >> endl  ;
      |   ~~~~
Language: C++

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

int main() {
  string S,T;
  cin>>S>>T;
  cout<<T<<S<<endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   string S,T;
      |   ^~~~~~
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>S>>T;
      |   ^~~
a.cc:6:8: error: 'S' was not declared in this scope
    6 |   cin>>S>>T;
      |        ^
a.cc:6:11: error: 'T' was not declared in this scope
    6 |   cin>>S>>T;
      |           ^
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<T<<S<<endl;
      |   ^~~~
a.cc:7:15: error: 'endl' was not declared in this scope
    7 |   cout<<T<<S<<endl;
      |               ^~~~
Language: C++

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

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


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

#include <iostream>
#include <string>
using namespace std;
int main(void){
  str S, T;
  cin >> S >> T;
  cout << T << S;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'str' was not declared in this scope; did you mean 'std'?
    5 |   str S, T;
      |   ^~~
      |   std
a.cc:6:10: error: 'S' was not declared in this scope
    6 |   cin >> S >> T;
      |          ^
a.cc:6:15: error: 'T' was not declared in this scope
    6 |   cin >> S >> T;
      |               ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int x;
  cin>>x;
  if(x<=2){
    cout<<1;
  }
  bool ans=true;
  else{
  while(ans){
    for(int i=3;i<100001;i++){
      if(x%i!=0){
        ans=false;
        cout<<i;
      }
    }
  }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int x;
  cin>>x;
  if(x<=2){
    cout<<1;
  }
  bool ans=true;
  else{
  while(ans){
    for(int i=3;i<100001;i++){
      if(x%i!=0){
        ans=false;
        cout<<i;
      }
    }
  }
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: Java

import java.util.*;
public class Main
{
  public static void main(String args[])
  {
    String s=in.next();
    String t=in.next();
    System.out.println(t+s);
  }
}


Compiler output:
Main.java:6: error: cannot find symbol
    String s=in.next();
             ^
  symbol:   variable in
  location: class Main
Main.java:7: error: cannot find symbol
    String t=in.next();
             ^
  symbol:   variable in
  location: class Main
2 errors
Language: C++

#intclude<iostream>
#include<string>
int main() {
  std::string s, t;
  std::cin >> s >> t;
  std::cout << s << t << '\n';
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #intclude; did you mean #include?
    1 | #intclude<iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:8: error: 'cin' is not a member of 'std'
    5 |   std::cin >> s >> t;
      |        ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<string>
  +++ |+#include <iostream>
    3 | int main() {
a.cc:6:8: error: 'cout' is not a member of 'std'
    6 |   std::cout << s << t << '\n';
      |        ^~~~
a.cc:6:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++


        res++;
        x/=2ll;
    }
    return res;
}
void solve(){
    string s,t;
    cin>>s>>t;
    t+=s;
    cout<<t<<endl;
}

signed main()

{
    IOS;
    /*#ifndef ONLINE_JUDGE
        freopen ("data.in","r",stdin);
        freopen ("data.out","w",stdout);
    #endif*/
    int t;
    t=1;
    while(t--){
        solve();
    }

     return 0;

}
///Alhamdulillah




Compiler output:
a.cc:2:9: error: 'res' does not name a type
    2 |         res++;
      |         ^~~
a.cc:3:9: error: 'x' does not name a type
    3 |         x/=2ll;
      |         ^
a.cc:4:5: error: expected declaration before '}' token
    4 |     }
      |     ^
a.cc:5:5: error: expected unqualified-id before 'return'
    5 |     return res;
      |     ^~~~~~
a.cc:6:1: error: expected declaration before '}' token
    6 | }
      | ^
a.cc: In function 'void solve()':
a.cc:8:5: error: 'string' was not declared in this scope
    8 |     string s,t;
      |     ^~~~~~
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin>>s>>t;
      |     ^~~
a.cc:9:10: error: 's' was not declared in this scope
    9 |     cin>>s>>t;
      |          ^
a.cc:9:13: error: 't' was not declared in this scope
    9 |     cin>>s>>t;
      |             ^
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<t<<endl;
      |     ^~~~
a.cc:11:14: error: 'endl' was not declared in this scope
   11 |     cout<<t<<endl;
      |              ^~~~
a.cc: In function 'int main()':
a.cc:17:5: error: 'IOS' was not declared in this scope
   17 |     IOS;
      |     ^~~
Language: C++

#include<iostream>

int main(){
  string str1,str2;
  
  cin>>str1;
  cin>>str2;
  cout<<str2+str1<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string str1,str2;
      |   ^~~~~~
a.cc:4:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>str1;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:8: error: 'str1' was not declared in this scope
    6 |   cin>>str1;
      |        ^~~~
a.cc:7:8: error: 'str2' was not declared in this scope
    7 |   cin>>str2;
      |        ^~~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout<<str2+str1<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout<<str2+str1<<endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include<string.h>
int main()
{
    char S[99],T[99];
    int i,p=0;
strcat(T,S);
    scanf("%s",&T);
    scanf("%s",&S);
    for(i=0;S[i]!='\0';i++)
    {
        p=p+i;
    }
    for(i=0;T[i]!='\0';i++)
    {
        S[p+i]=T[i];
    }
    S[p+i]='\0';
    printf("%s",S);
    getch();





}


Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |     scanf("%s",&T);
      |     ^~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    1 | #include<string.h>
  +++ |+#include <stdio.h>
    2 | int main()
main.c:7:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |     scanf("%s",&T);
      |     ^~~~~
main.c:7:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:18:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   18 |     printf("%s",S);
      |     ^~~~~~
main.c:18:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:18:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:18:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:19:5: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
   19 |     getch();
      |     ^~~~~
Language: C

include<string.h>
int main()
{
    char S[99],T[99];
    int i,p=0;
    scanf("%s",&T);
    scanf("%s",&S);
    for(i=0;S[i]!='\0';i++)
    {
        p=p+i;
    }
    for(i=0;T[i]!='\0';i++)
    {
        S[p+i]=T[i];
    }
    S[p+i]='\0';
    printf("%s",S);
    getch();





}


Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<string.h>
      |        ^
Language: C

#include<string.h>
int main()
{
    char S[99],T[99];
    int i,p=0;
    scanf("%s",&T);
    scanf("%s",&S);
    for(i=0;S[i]!='\0';i++)
    {
        p=p+i;
    }
    for(i=0;T[i]!='\0';i++)
    {
        S[p+i]=T[i];
    }
    S[p+i]='\0';
    printf("%s",S);
    getch();





}


Compiler output:
main.c: In function 'main':
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%s",&T);
      |     ^~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    1 | #include<string.h>
  +++ |+#include <stdio.h>
    2 | int main()
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%s",&T);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:17:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   17 |     printf("%s",S);
      |     ^~~~~~
main.c:17:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:17:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:17:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:18:5: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
   18 |     getch();
      |     ^~~~~
Language: C

#include<string.h>
int main()
{
  char S[98],T[99];
  int i,p=0;

  scanf("%s",T);

  scanf("%s",S);

  for(i=0;S[i]!='\0';i++)
  {
      p=p+1;
  }
     for(i=0;T[i]!='\0';i++)
     {


        S[p+i]=T[i];
     }
     S[p+i]='\0';
     printf("%s",S);
     getch();

}





Compiler output:
main.c: In function 'main':
main.c:7:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    7 |   scanf("%s",T);
      |   ^~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    1 | #include<string.h>
  +++ |+#include <stdio.h>
    2 | int main()
main.c:7:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    7 |   scanf("%s",T);
      |   ^~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:22:6: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   22 |      printf("%s",S);
      |      ^~~~~~
main.c:22:6: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:22:6: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:22:6: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:23:6: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
   23 |      getch();
      |      ^~~~~
Language: C

#include<bits\stdc++.h>
using namespace std;
int main()
{
     string s,t;
     cin>>s>>t;
     cout<<t<<s;
     return 0;
}


Compiler output:
main.c:1:9: 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()
{
     string s,t;
     cin>>s>>t;
     cout<<t<<s;
     return 0;
}


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

#include<string.h>
int main()
{
  char S[98],T[99];
  int i,p=0;

  printf("Enter the string:\n");
  scanf("%s",T);
  printf("Enter the string:\n");
  scanf("%s",S);
  for(i=0;S[i]!='\0';i++)
  {
      p=p+1;
  }
     for(i=0;T[i]!='\0';i++)
     {


        S[p+i]=T[i];
     }
     S[p+i]='\0';
     printf("After concat=%s",S);
     getch();

}



Compiler output:
main.c: In function 'main':
main.c:7:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |   printf("Enter the string:\n");
      |   ^~~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'printf'
    1 | #include<string.h>
  +++ |+#include <stdio.h>
    2 | int main()
main.c:7:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |   printf("Enter the string:\n");
      |   ^~~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    8 |   scanf("%s",T);
      |   ^~~~~
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:23:6: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
   23 |      getch();
      |      ^~~~~
Language: C

#include<string.h>
int main()
{
  char S[98],T[99];
  int i,p=0;

  printf("Enter the string:\n");
  scanf("%s",T);
  printf("Enter the string:\n");
  scanf("%s",S);
  for(i=0;S[i]!='\0';i++)
  {
      p=p+1;
  }
     for(i=0;T[i]!='\0';i++)
     {


        S[p+i]=T[i];
     }
     S[p+i]='\0';
     printf("After concat=%s",S);
     getch();

}





Compiler output:
main.c: In function 'main':
main.c:7:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |   printf("Enter the string:\n");
      |   ^~~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'printf'
    1 | #include<string.h>
  +++ |+#include <stdio.h>
    2 | int main()
main.c:7:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |   printf("Enter the string:\n");
      |   ^~~~~~
main.c:7:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    8 |   scanf("%s",T);
      |   ^~~~~
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:8:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:23:6: error: implicit declaration of function 'getch' [-Wimplicit-function-declaration]
   23 |      getch();
      |      ^~~~~
Language: C++

/**
 *    author: moririn_cocoa       
**/

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
using namespace std;

int main(void) {
  
  string S;
  string T;
  
  cin >> S;
  cin >> T;
  
  cout << TS << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:11: error: 'TS' was not declared in this scope; did you mean 'T'?
   34 |   cout << TS << endl;
      |           ^~
      |           T
Language: Java


public class Main {
    public static void main(String[] args) throws FileNotFoundException {

//    	File file = new File("src/in.txt");
//    	Scanner sc = new Scanner(file);

    	Scanner sc = new Scanner(System.in);

    	String S = sc.next();
    	String T = sc.next();

    	System.out.println(T+S);

    }

}

Compiler output:
Main.java:3: error: cannot find symbol
    public static void main(String[] args) throws FileNotFoundException {
                                                  ^
  symbol:   class FileNotFoundException
  location: class Main
Main.java:8: error: cannot find symbol
    	Scanner sc = new Scanner(System.in);
    	^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
    	Scanner sc = new Scanner(System.in);
    	                 ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java


class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    String S = scan.next();
    String T = scan.next();
    System.out.println(T + S);
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner scan = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    Scanner scan = new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
      		String str1 = sc.next();
      		String str2 = sc.next();
      System.out.println(str2+str1);
    }

Compiler output:
Main.java:7: error: reached end of file while parsing
    }
     ^
1 error
Language: C

#define _USE_MATH_DEFINES
#include <iostream>
#include <string>
#include <list>
#include <vector>
#include <queue>
#include <algorithm>
#include <climits>
#include <cstring>
#include <cmath>
#include <stack>
#include <iomanip>
#include <tuple>
#include <functional>
#include <cfloat>
#include <map>
#include <set>
#include <array>
#include <stdio.h>
#include <string.h>
using ll = long long;
using ull = unsigned long long;
using namespace std;
#define int long long
#define CONTAINS(v,n) (find((v).begin(), (v).end(), (n)) != (v).end())
#define SORT(v) sort((v).begin(), (v).end())
#define RSORT(v) sort((v).rbegin(), (v).rend())
#define ARY_SORT(a, size) sort((a), (a)+(size))
#define REMOVE(v,a) (v.erase(remove((v).begin(), (v).end(), (a)), (v).end()))
#define REVERSE(v) (reverse((v).begin(), (v).end()))
#define ARY_REVERSE(v,a) (reverse((v), (v)+(a)))
#define LOWER_BOUND(v,a) (lower_bound((v).begin(), (v).end(), (a)))
#define UPPER_BOUND(v,a) (upper_bound((v).begin(), (v).end(), (a)))
#define REP(i, n) for (int (i)=0; (i) < (n); (i)++)
#define CONTAINS_MAP(m, a) (m).find((a)) != m.end()
void YesNo(bool b) { cout << (b ? "Yes" : "No"); }
void Yes() { cout << "Yes"; }
void No() { cout << "No"; }
//max_element


signed main()
{
	string S, T;
	cin >> S >> T;
	cout << T << S << endl;
}




Compiler output:
main.c:2:10: fatal error: iostream: No such file or directory
    2 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
#include <string.h>

int main(void)
{
        char s[100],t[100],c[200];

        scanf("%s%s",s,t);

        c=strcat(t,s);

        printf("%s",c);
        return 0;
}


Compiler output:
main.c: In function 'main':
main.c:10:10: error: assignment to expression with array type
   10 |         c=strcat(t,s);
      |          ^
Language: C++

#include <iostream>

int main(){
  string s, t;
  cin >> s >> t;
  cout << t + s << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string s, t;
      |   ^~~~~~
a.cc:4:3: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> s >> t;
      |   ^~~
      |   std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:10: error: 's' was not declared in this scope
    5 |   cin >> s >> t;
      |          ^
a.cc:5:15: error: 't' was not declared in this scope; did you mean 'tm'?
    5 |   cin >> s >> t;
      |               ^
      |               tm
a.cc:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << t + s << 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:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout << t + s << endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

int main(){
  string S,T;
  cin >> S >> T;
  cout << ST << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'ST' was not declared in this scope; did you mean 'T'?
    7 |   cout << ST << endl;
      |           ^~
      |           T
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected '}' at end of input
    6 |   cout<<b<<a<<endl;
      |                    ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^