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

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

Compiler output:
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include iostream
      |          ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>S>>T;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include iostream
a.cc:6:3: error: 'cout' was not declared in this scope
    6 |   cout<<'T''S'<<endl;
      |   ^~~~
a.cc:6:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

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

Compiler output:
main.c:8:2: error: stray '#' in program
    8 | }#include<stdio.h>
      |  ^
main.c:8:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    8 | }#include<stdio.h>
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected '}' at end of input
    7 |   cout<<t+s;
      |             ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: Java

public class Main {

	public static void main(String[] args) throws IOException {
		// s, tを取得
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s_t = in.readLine();

		// 半角スペースで区切られたs, tを取得
		int spaceIndex = s_t.indexOf(" ");
		String s = s_t.substring(0, spaceIndex);
		String t = s_t.substring(spaceIndex + 1);

		// T, S の順に空白を空けずに連結して標準出力
		System.out.println(t + s);

	}

}


Compiler output:
Main.java:3: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:5: error: cannot find symbol
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: C++

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

int main(){

  string s,t;
  cin>>N>>s;
   
 cout<<t<<s<<endl;
   
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'N' was not declared in this scope
    7 |   cin>>N>>s;
      |        ^
Language: Java

import java.util.Scanner;

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

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

#include <bits/stdc++.h>
using namespace std;
#define ll                      long long int
#define pb                      push_back
#define rep(i,a,b,c)            for(ll i=(a);i<=(b);i+=(c))
#define repb(i,a,b,c)           for(ll i=(a);i>=(b);i-=(c))
#define MOD                     1000000007
#define inf                     3e18
#define ld                      long double
//#define mp                      make_pair
#define vpll                    vector<pair<ll,ll>>
#define sll                     set<ll>
#define vll                     vector<ll>
#define vld                     vector<ld>
#define vvll                    vector<vector<ll>>
#define vvld                    vector<vector<ld>>
#define pll                     pair<ll,ll>
#define vvpll                   vector<vector<pair<ll,ll>>>
#define pqll                    priority_queue<ll>
#define mll                     map<ll,ll>
#define mlc                     map<ll,char>
#define um                      unordered_map
#define umll                    um<ll,ll>
#define umlc                    um<ll,char>
#define all(x)                  x.begin(),x.end()
#define fi                      first
#define se                      second
#define ln                      cout<<"\n";
#define endl                    "\n"
#define test                    ll Testcases;cin>>Testcases;while(Testcases--)
#define isvowel(a)              (a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u')
#define fastIO                  ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define show(w,size)            for(ll i=0;i<size;i++) cout<<w[i]<<" ";
#define print(a)                cout<<a<<"\n";
#define mset(dp,no)             memset(dp,no,sizeof(dp))
#define input(a,n)              rep(i,0,n-1,1) cin>>a[i];
#define countbit                __builtin_popcount                                           //Number of setbits in decimal notation
#define lb(v,val)               lower_bound(all(v),val)-v.begin()
#define ub(v,val)               upper_bound(all(v),val)-v.begin()
#define SS                      stringstream
#define db(...)                 __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1) { cerr << name << " : " << arg1 <<'\n'; }
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args) {
    const char* comma = strchr(names + 1, ',');
    cerr.write(names, comma - names) << " : " << arg1 << " | "; __f(comma + 1, args...);
}

ll poww(ll b,ll e){if(e==0)return 1;else if(e%2==0){ll a=pow(b,e/2);return a*a;}else {ll a=pow(b,e/2);return b*a*a;}}
ll powm(ll x,ll y,ll m=MOD){x=x%m;ll res=1;while(y){if(y&1)res=res*x;res%=m;y=y>>1;x=x*x;x%=m;}return res;}
ll modInverse(ll a, ll m=MOD) { return powm(a, m-2, m);}

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




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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
   
  string S;
  
  cin >> S;
      
  string T;
  
  cin >> T;
  
  cout << "T""S" << endl;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: expected '}' at end of input
   14 |   cout << "T""S" << endl;
      |                          ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.*;

public class Main
{
  public static void main(String args[])
  {
    Scanner in=new Scanner(System.in);
    
    String s1,s2;
    
    s1=in.next();
    s2=in.next();
    
    System.out.pe=rintln(s1+s2);
  }
}

Compiler output:
Main.java:14: error: cannot find symbol
    System.out.pe=rintln(s1+s2);
              ^
  symbol:   variable pe
  location: variable out of type PrintStream
Main.java:14: error: cannot find symbol
    System.out.pe=rintln(s1+s2);
                  ^
  symbol:   method rintln(String)
  location: class Main
2 errors
Language: C

#include

int s,t;
scanf("s=%d, t=%d\n" s, t);
printf("%d%d\n", s, t);
return 0;

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("s=%d, t=%d\n" s, t);
      |       ^~~~~~~~~~~~~~
main.c:4:25: error: expected declaration specifiers or '...' before 't'
    4 | scanf("s=%d, t=%d\n" s, t);
      |                         ^
main.c:5:8: error: expected declaration specifiers or '...' before string constant
    5 | printf("%d%d\n", s, t);
      |        ^~~~~~~~
main.c:5:18: error: expected declaration specifiers or '...' before 's'
    5 | printf("%d%d\n", s, t);
      |                  ^
main.c:5:21: error: expected declaration specifiers or '...' before 't'
    5 | printf("%d%d\n", s, t);
      |                     ^
main.c:6:1: error: expected identifier or '(' before 'return'
    6 | return 0;
      | ^~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    char a[1000],b[1000];
    gets(a);
    gets(b);
    cout << b << a;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'gets' was not declared in this scope; did you mean 'getw'?
    5 |     gets(a);
      |     ^~~~
      |     getw
Language: C++

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

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


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:12: error: 't' was not declared in this scope; did you mean 'tm'?
    6 |   cin >> s,t;
      |            ^
      |            tm
Language: Java

public class Main{
import java.util.Scanner;
  public static void main(String[] args){
  Scanner sc=new Scanner(System.in);
    String s=sc.next();
    String ss=sc.next();
    s=s+ss;
    System.out.print(s);
  
  
}
}

Compiler output:
Main.java:2: error: illegal start of type
import java.util.Scanner;
^
Main.java:2: error: <identifier> expected
import java.util.Scanner;
                        ^
2 errors
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected ';' before 'return'
    9 |     cout<<out
      |              ^
      |              ;
   10 |     return 0;
      |     ~~~~~~
Language: Java

import java.util.*;

public class NewAt {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String t = sc.next();
        String s = sc.next();
        String result = s + t;

        System.out.println(result);

    }
}


Compiler output:
Main.java:3: error: class NewAt is public, should be declared in a file named NewAt.java
public class NewAt {
       ^
1 error
Language: Java

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

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

Compiler output:
Main.java:1: error: illegal character: '#'
#include<bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<bits/stdc++.h>
        ^
Main.java:6: error: not a statement
  cin >> S >>T;
           ^
Main.java:7: error: not a statement
  cout << T+S<<endl;
             ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
// マクロ
#define rep(i,n) for (int i = 0; i < (int)(n); i++)
// 型エイリアス
using ll = long long;
using vi = vector<int>;
using vs = vector<string>;
using vvi = vector<vi>;
using vvs = vector<vs>;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: 'a' was not declared in this scope
   15 |     cout << t + s << endl;a
      |                           ^
Language: C++

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

int main() {
  str s,t;
  cin >> s,t;
  cout << ts << endl;
}


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:12: error: 't' was not declared in this scope; did you mean 'tm'?
    6 |   cin >> s,t;
      |            ^
      |            tm
a.cc:7:11: error: 'ts' was not declared in this scope; did you mean 'tm'?
    7 |   cout << ts << endl;
      |           ^~
      |           tm
Language: C++

#include <iostream>
#include <string>

using namespace std;

string S, T;

void resolve()
{
    cin >> S >> T;
    cout << T << S << endl;
}

int main()
{
    resolve();d
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:15: error: 'd' was not declared in this scope
   16 |     resolve();d
      |               ^
Language: C++

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

int main()
{
  string a,b;
  cin>>a>>b;
  cout<<b+a<<"\n";
}

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

//include
//------------------------------------------
#include <vector>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cctype>
#include <string>
#include <cstring>
#include <ctime>

using namespace std;

//conversion
//------------------------------------------
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;}
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();}

//math
//-------------------------------------------
template<class T> inline T sqr(T x) {return x*x;}

//typedef
//------------------------------------------
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;
typedef long long LL;

//container util
//------------------------------------------
#define ALL(a)  (a).begin(),(a).end()
#define RALL(a) (a).rbegin(), (a).rend()
#define PB push_back
#define MP make_pair
#define SZ(a) int((a).size())
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); ++i)
#define EXIST(s,e) ((s).find(e)!=(s).end())
#define SORT(c) sort((c).begin(),(c).end())

//repetition
//------------------------------------------
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  FOR(i,0,n)

//constant
//--------------------------------------------
const double EPS = 1e-10;
const double PI  = acos(-1.0);

//clear memory
#define CLR(a) memset((a), 0 ,sizeof(a))

//debug
#define dump(x)  cerr << #x << " = " << (x) << endl;
#define debug(x) cerr << #x << " = " << (x) << " (L" << __LINE__ << ")" << " " << __FILE__ << endl;



int main(){
    string S,t;
    cin >> S >> T;
    string G=T+S;
    cout << G;
}

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

#inculde <bits/stdc++.h>
using namespace std;
int main(void){
 string S,T;
 cin >> S >> T;
 cout << T << S;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inculde; did you mean #include?
    1 | #inculde <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:2: error: 'string' was not declared in this scope
    4 |  string S,T;
      |  ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #inculde <bits/stdc++.h>
a.cc:5:2: error: 'cin' was not declared in this scope
    5 |  cin >> S >> T;
      |  ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inculde <bits/stdc++.h>
a.cc:5:9: error: 'S' was not declared in this scope
    5 |  cin >> S >> T;
      |         ^
a.cc:5:14: error: 'T' was not declared in this scope
    5 |  cin >> S >> T;
      |              ^
a.cc:6:2: error: 'cout' was not declared in this scope
    6 |  cout << T << S;
      |  ^~~~
a.cc:6:2: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

import java.util.*;
import static java.lang.Math.*;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		
		// 入力
		String s = sc.next();
		String t = sc.next();
		
		// 計算
		String result = t + s;
		
		
		// 出力
		System.out.println(result);
	}
}


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

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

int main() {
  str s,t;
  cin >> s,t;
  cout << ts << endl;
}


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

#include <algorithm>
#include <boost/optional.hpp>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <functional>
#include <iostream>
#include <limits>
#include <list>
#include <numeric>
#include <queue>
#include <sstream>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>

#define REP(i, n) for(int i = 0, i##_MACRO = (n); i < i##_MACRO; i++)
#define RANGE(i, a, b) for(int i = (a), i##_MACRO = (b); i < i##_MACRO; i++)
#define EACH(e, a) for(auto&& e : a)
#define ALL(a) (a).begin(), (a).end()
#define AALL(a, n) (a), ((a) + (n))
#define FILL(a, n) memset((a), n, sizeof(a))
#define FILLZ(a) FILL(a, 0)
#define MODNUM (static_cast<int>(1e9 + 7))
#define MOD(x) ((x) % MODNUM)

using namespace std;

using ll = long long;
using VI = vector<int>;
using VI2D = vector<vector<int>>;

const int INF = 2e9;
const double EPS = 1e-10;
const double PI = acos(-1.0);

const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, -1, 0, 1};

template <typename T>
int sign(T x) {
	return x < 0 ? -1 : x > 0 ? 1 : 0;
}

template <>
int sign(double x) {
	return x < -EPS ? -1 : x > EPS ? 1 : 0;
}

template <typename T>
T square(T x) {
	return x * x;
}

inline int toInt(string s) {
	int v;
	istringstream sin(s);
	sin >> v;
	return v;
}

int main() {
	char s[101];
	char t[101];
	scnaf("%s %s", s, t);
	printf("%s%s\n", t, s);
	return 0;
}

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

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

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

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

#include <bits/stdc++.h>
using namespace std;
const ll mod = 1e9 + 7;
int main(){
    string S,T;
    
    cin >> S >> T;
    
    cout << T + S << endl;
    
}

Compiler output:
a.cc:3:7: error: 'll' does not name a type
    3 | const ll mod = 1e9 + 7;
      |       ^~
Language: C++

#include<bits/stdc++.h>
typedef long long ll;
const int INF = 1e9;
const int MOD = 1e9 + 7;
using namespace std;

//ループマクロ
#define FOR(i , a , b)  for(int i = (a) ; i < (b) ; i++)
#define REP(i , n)      for(int i = 0 ; i < n ; i++)
#define REPR(i , n)     for(int i = n ; 0 <= i ; i--)
#define ROP(i, n)       for(int i = 1 ; i <= n ; i++)

//入出力
#define SCOUT(x) cout << (x) << " "
#define VECCIN(x) for(auto& ele : (x) ) cin >> ele
#define VECOUT(x) for(auto& ele : (x) ) cout << ele << " "; cout << endl;

//その他
#define ALL(obj) (obj).begin() , (obj).end() 
#define P pair<int , int>
#define V vector<int>
#define VLL vector<long long>
#define M map<int, int>
#define S set<int>
#define PQ priority_queue<int>
#define PQG priority_queue<int , V , greater<int>>

int main(void) {

	ios::sync_with_stdio(false);	cin.tie(0);
	string s. t;  cin >> s >> t;
	cout << s << t << endl;


	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:17: error: expected initializer before '.' token
   31 |         string s. t;  cin >> s >> t;
      |                 ^
a.cc:31:30: error: 's' was not declared in this scope
   31 |         string s. t;  cin >> s >> t;
      |                              ^
a.cc:31:35: error: 't' was not declared in this scope; did you mean 'tm'?
   31 |         string s. t;  cin >> s >> t;
      |                                   ^
      |                                   tm
Language: C++

/***from dust i have come, dust i will be***/

#include<bits/stdc++.h>

typedef long long int ll;
typedef unsigned long long int ull;

#define dbg printf("in\n")
#define nl printf("\n");
#define N 210101
#define inf 1e9

#define sf(n) scanf("%d", &n)
#define sff(n,m) scanf("%d%d",&n,&m)
#define sfl(n) scanf("%I64d", &n)
#define sffl(n,m) scanf("%I64d%I64d",&n,&m)

#define pf(n) printf("%d",n)
#define pff(n,m) printf("%d %d",n,m)
#define pffl(n,m) printf("%I64d %I64d",n,m)
#define pfl(n) printf("%I64d",n)
#define pfs(s) printf("%s",s)

#define pb push_back
#define pp pair<int, int>

using namespace std;

int main()
{
    //freopen("in.txt", "r", stdin);

    int i, j, k;
    int n, m, t;
    string s, t;
    
    cin >> s >> t;
    cout << t << s;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:35:15: error: conflicting declaration 'std::string t'
   35 |     string s, t;
      |               ^
a.cc:34:15: note: previous declaration as 'int t'
   34 |     int n, m, t;
      |               ^
Language: C++

/*input

*/

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

#define rep(i,j,n) for(i=j;i<n;i++)
#define repi(i,j,n) for(i=j;i>n;i--)
#define inf 100001
#define M 1000000007
#define ll long long
#define vll vector<long long>
#define vi vector<int>
#define pll pair<long long,long long>
#define pii pair<int,int>
#define vpii vector<pair<int,int> >
#define vpll vector<pair<long long,long long> >
#define pb push_back
#define pf pop_front
#define mp make_pair
#define F first
#define S second


ll power(ll a,ll m,ll mod){
	ll ans=1;
	while(m){
		if(m%2){
			ans*=a;
			ans%=(mod);
		}
		a=(a*a)%(mod);
		m>>=1;
	}
	return ans;
}


void init(long long* a,long long n,long long val){
	for(long long i=0;i<n;i++)
		a[i]=val;
}



int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);	
	ll t=1,i,j;
	//cin>>t;
	while(t--){
		
	}string s,t;
	cin>>s>>t;
	cout<<s<<t<<endl;
	return 0;
}




Compiler output:
a.cc: In function 'int main()':
a.cc:56:19: error: conflicting declaration 'std::string t'
   56 |         }string s,t;
      |                   ^
a.cc:52:12: note: previous declaration as 'long long int t'
   52 |         ll t=1,i,j;
      |            ^
Language: C++

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

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


    cout<<a<<b<<endl;
}

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'strin' was not declared in this scope; did you mean 'stdin'?
    5 |   strin s, t;
      |   ^~~~~
      |   stdin
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; did you mean 'tm'?
    6 |   cin>>s>>t;
      |           ^
      |           tm
Language: C++

#include<bits/stdc++.h>
#define ll  long long int 
using namespace std;

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

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

#define _USE_MATH_DEFINES
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cctype>
#include <clocale>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <deque>
#include <functional>
#include <iomanip>
#include <iostream>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

using namespace std;

#define IOS ios::sync_with_stdio(false); cin.tie(0);
#define FOR(i, s, n) for(int i = (s), i##_len=(n); i < i##_len; ++i)
#define FORS(i, s, n) for(int i = (s), i##_len=(n); i <= i##_len; ++i)
#define VFOR(i, s, n) for(int i = (s); i < (n); ++i)
#define VFORS(i, s, n) for(int i = (s); i <= (n); ++i)
#define REP(i, n) FOR(i, 0, n)
#define REPS(i, n) FORS(i, 0, n)
#define VREP(i, n) VFOR(i, 0, n)
#define VREPS(i, n) VFORS(i, 0, n)
#define RFOR(i, s, n) for(int i = (s), i##_len=(n); i >= i##_len; --i)
#define RFORS(i, s, n) for(int i = (s), i##_len=(n); i > i##_len; --i)
#define RREP(i, n) RFOR(i, n, 0)
#define RREPS(i, n) RFORS(i, n, 0)
#define ALL(v) (v).begin(), (v).end()
#define SORT(v) sort(ALL(v))
#define RSORT(v) sort(ALL(v), greater<decltype(v[0])>())
#define SZ(x) ((int)(x).size())
#define PB push_back
#define EB emplace_back
#define MP make_pair
#define MT make_tuple
#define BIT(n) (1LL<<(n))
#define UNIQUE(v) v.erase(unique(ALL(v)), v.end())

using ll = long long;
using ull = unsigned long long;
using Pi_i = pair<int, int>;
using VB = vector<bool>;
using VC = vector<char>;
using VD = vector<double>;
using VI = vector<int>;
using VLL = vector<ll>;
using VS = vector<string>;
using VSH = vector<short>;
using VULL = vector<ull>;

const int MOD = 1000000007;
const int INF = 1000000000;
const int NIL = -1;

template<class T, class S>
bool chmax(T &a, const S &b){
    if(a < b){
        a = b; return true;
    }
    return false;
}
template<class T, class S>
bool chmin(T &a, const S &b){
    if(b < a){
        a = b; return true;
    }
    return false;
}



int main(){
    stirng S, T; cin >> S >> T;
    cout << T << S << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:87:5: error: 'stirng' was not declared in this scope
   87 |     stirng S, T; cin >> S >> T;
      |     ^~~~~~
a.cc:87:25: error: 'S' was not declared in this scope; did you mean 'VS'?
   87 |     stirng S, T; cin >> S >> T;
      |                         ^
      |                         VS
a.cc:87:30: error: 'T' was not declared in this scope; did you mean 'MT'?
   87 |     stirng S, T; cin >> S >> T;
      |                              ^
      |                              MT
Language: C++

.h>
#define int long long
using namespace std;
constexpr int inf=1e9+7;
signed main(){
    string s,t;
    cin>>s>>t;
    cout<<t<<s<<endl;
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before '.' token
    1 | .h>
      | ^
a.cc: In function 'int main()':
a.cc:6:5: error: 'string' was not declared in this scope
    6 |     string s,t;
      |     ^~~~~~
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>s>>t;
      |     ^~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |     cin>>s>>t;
      |          ^
a.cc:7:13: error: 't' was not declared in this scope
    7 |     cin>>s>>t;
      |             ^
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<t<<s<<endl;
      |     ^~~~
a.cc:8:17: error: 'endl' was not declared in this scope
    8 |     cout<<t<<s<<endl;
      |                 ^~~~
Language: C++

#include<iostream>
#include<string>

using namespace std;

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

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

#include <bits/stdc++.h>
string N, M;
void input() {
  cin >> N;
  cin >> M;
  cout << M + N << endl;
  ;
}
void solve() {
  ;
  ;
}
signed main() {
  input();
  solve();
  return 0;
}

Compiler output:
a.cc:2:1: error: 'string' does not name a type; did you mean 'stdin'?
    2 | string N, M;
      | ^~~~~~
      | stdin
a.cc: In function 'void input()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> N;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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:4:10: error: 'N' was not declared in this scope
    4 |   cin >> N;
      |          ^
a.cc:5:10: error: 'M' was not declared in this scope
    5 |   cin >> M;
      |          ^
a.cc:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << M + N << 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 << M + N << endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

int main() {
  string s, t; cin >> s ?? t;
  cout << t + s << '\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:26: error: expected primary-expression before '?' token
    8 |   string s, t; cin >> s ?? t;
      |                          ^
a.cc:8:29: error: expected ':' before ';' token
    8 |   string s, t; cin >> s ?? t;
      |                             ^
      |                             :
a.cc:8:29: error: expected primary-expression before ';' token
a.cc:8:29: error: expected ':' before ';' token
    8 |   string s, t; cin >> s ?? t;
      |                             ^
      |                             :
a.cc:8:29: error: expected primary-expression before ';' token
Language: Java

import java.util.*;
import java.io.*;
import java.util.function.*;

class Main {
    static In in = new In();
    static Out out = new Out();
    static long mod = 1000000007;
    static long inf = 0xfffffffffffffffL;

    void solve() {
        String s = in.next();
        String t = in.next();
        println(t + s);
    }

    public static void main(String[]$) {
        new Main().solve();
        out.flush();
    }
}

class In {
    private BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 0x10000);
    private StringTokenizer tokenizer;

    String next() {
        try {
            while (tokenizer == null || !tokenizer.hasMoreTokens()) {
                tokenizer = new StringTokenizer(reader.readLine());
            }
        } catch (IOException ignored) {
        }
        return tokenizer.nextToken();
    }

    int nextInt() {
        return Integer.parseInt(next());
    }

    long nextLong() {
        return Long.parseLong(next());
    }

    char[][] nextCharArray(int n, int m) {
        char[][] a = new char[n][m];
        for (int i = 0; i < n; i++) {
            a[i] = next().toCharArray();
        }
        return a;
    }

    int[] nextIntArray(int n) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++) {
            a[i] = nextInt();
        }
        return a;
    }

    int[] nextIntArray(int n, IntUnaryOperator op) {
        int[] a = new int[n];
        for (int i = 0; i < n; i++) {
            a[i] = op.applyAsInt(nextInt());
        }
        return a;
    }

    long[] nextLongArray(int n) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++) {
            a[i] = nextLong();
        }
        return a;
    }

    long[] nextLongArray(int n, LongUnaryOperator op) {
        long[] a = new long[n];
        for (int i = 0; i < n; i++) {
            a[i] = op.applyAsLong(nextLong());
        }
        return a;
    }
}

class Out {
    private static PrintWriter out = new PrintWriter(System.out);

    void println(Object... a) {
        StringJoiner joiner = new StringJoiner(" ");
        for (Object obj : a) {
            joiner.add(String.valueOf(obj));
        }
        out.println(joiner);
    }

    void flush() {
        out.flush();
    }
}


Compiler output:
Main.java:14: error: cannot find symbol
        println(t + s);
        ^
  symbol:   method println(String)
  location: class Main
1 error
Language: C++

#include "bits/stdc++.h"

#define REP(i, n, N) for(ll i=(n); i<(N); i++)
#define RREP(i, n, N) for(ll i=(N-1); i>=(n); i--)
#define LREP(lst,itr) for(auto itr = lst.begin(); itr != lst.end(); ++itr)
#define CK(n, a, b) ((a)<=(n)&&(n)<(b))
#define ALL(v) (v).begin(),(v).end()
#define MCP(a, b) memcpy(b,a,sizeof(b))
#define P(s) cout<<(s)<<endl
#define P2(a, b) cout<<(a)<<" "<<(b)<<endl
#define P3(a, b, c) cout<<(a)<<" "<<(b)<<" "<<(c)<<endl
#define V2(T) vector<vector<T>>
typedef long long ll;
using namespace std;
const ll MOD = 1e9 + 7;
const ll INF = 1e18;

int main(){
    ll A, B, K;
    cin >> A >> B >> K;
    if((A-K)>=0){
        P(A-K);
    }else{
        P(max(A+B-K, 0));
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:14: error: no matching function for call to 'max(ll, int)'
   24 |         P(max(A+B-K, 0));
      |           ~~~^~~~~~~~~~
a.cc:9:21: note: in definition of macro 'P'
    9 | #define P(s) cout<<(s)<<endl
      |                     ^
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:24:14: note:   deduced conflicting types for parameter 'const _Tp' ('long long int' and 'int')
   24 |         P(max(A+B-K, 0));
      |           ~~~^~~~~~~~~~
a.cc:9:21: note: in definition of macro 'P'
    9 | #define P(s) cout<<(s)<<endl
      |                     ^
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:24:14: note:   mismatched types 'std::initializer_list<_Tp>' and 'long long int'
   24 |         P(max(A+B-K, 0));
      |           ~~~^~~~~~~~~~
a.cc:9:21: note: in definition of macro 'P'
    9 | #define P(s) cout<<(s)<<endl
      |                     ^
Language: C++

#include <iostream>

using namespace std;
#define ll long long

int main() {
    ll A, B, K;
    cin >> A >> B >> K;
    if(K > A) {
        cout << 0 << " " << max(0, B - (K - A)) << endl;
    } else {
        cout << A - K << " " << B << endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:32: error: no matching function for call to 'max(int, long long int)'
   10 |         cout << 0 << " " << max(0, B - (K - A)) << endl;
      |                             ~~~^~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 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,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:10:32: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long long int')
   10 |         cout << 0 << " " << max(0, B - (K - A)) << endl;
      |                             ~~~^~~~~~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
Language: C

#include <stdio.h>
int main(void)
{
    int A,B;
    scanf("%d %d",A,B);
    if(K <= A){
        printf("%d %d",A-K,B);
    }else if(K <= A+B){
        printf("%d %d",0,A+B-K);
    }else{
        printf("%d %d",0,0);
    }
}

Compiler output:
main.c: In function 'main':
main.c:6:8: error: 'K' undeclared (first use in this function)
    6 |     if(K <= A){
      |        ^
main.c:6:8: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>

using namespace std;

int main()
{
    long long a,b,k,i,j;
    cin>>a >>b >>k ;
    if(a==b)
    {
        cout<<a <<" "<<b <<endl;
    }else
    {
      if(k<=a)
    {
        cout<<a-k<<" "<< b <<endl;
    }else 
    {
     cout<<0<<" "<<b-(k-a);  
    }  
    }
    

Compiler output:
a.cc: In function 'int main()':
a.cc:21:6: error: expected '}' at end of input
   21 |     }
      |      ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C

/**************************************
* AUTHOR : SHAKIL MOSHARROF 202014048 *
* NICK : xBCC [2013-2019] C/N:1819    *
* INSTITUTION : MIST CSE 20           *
***************************************/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<ctype.h>
#include<float.h>
#define PI 3.14
int main() 
{
	int a,b,k;
	scanf("%d %d %d",&a,&b,&k);

	if(a<=k && (a+b)>=k)
	{
		printf("0 %d",b-(k-a) );;
	}
	if (a>=k)
	{
		printf("%d %d"(a-k),b);
	}

return 0;
}
/*******************************
* 
*
*
*
*
*
********************************/

Compiler output:
main.c: In function 'main':
main.c:23:24: error: called object is not a function or function pointer
   23 |                 printf("%d %d"(a-k),b);
      |                        ^~~~~~~
Language: C

#include<stdio.h>
int main()
{
    long long a,b,k;
    long long i=0;
    scanf("%lld %lld %lld",&a,&b,&k);
    
    if(a>=k)
    {
        printf("%lld %lld",a-k,b);
    }
   
    else if(a+b>=k)
    {printf("0 0")};
     else
    {
        printf("0 %lld",b-(k-a));
    }
}


Compiler output:
main.c: In function 'main':
main.c:14:19: error: expected ';' before '}' token
   14 |     {printf("0 0")};
      |                   ^
      |                   ;
main.c:15:6: error: 'else' without a previous 'if'
   15 |      else
      |      ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define fastio ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define gcd(a,b) __gcd((a),(b))
#define lcm(a,b) ((a)*(b))/gcd((a),(b))
const int maxn = 1e9 + 5;
#define INF 1000000000
const int MOD = 1e9+7;
const double PI = 3.14159265358979323846264338;



int main() {
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
	fastio
	ll a,b,c;
	cin >> a >> b >> c;
	if(a>= k){
		cout << a-k << " " << b << endl;
	}else if(a+b>=k){
		cout << 0 << " " << b-(k-a) << endl;
	}else{
		cout << 0 <<" "<< 0 << endl;
	}
	return 0;
} 






Compiler output:
a.cc: In function 'int main()':
a.cc:22:16: error: 'k' was not declared in this scope
   22 |         if(a>= k){
      |                ^
Language: C++

#include <bits/stdc++.h>
//#include <atcoder/all>

using namespace std;
//using namespace atcoder;
using usize = ::std::size_t;
using u64 = ::std::int_least64_t;
//using u64 = long long;
static constexpr u64 Inf = ::std::numeric_limits<u64>::max() / 2;




int main(int argc, char *argv[])
{
    
    
    cin.tie(0) ;
    ios::sync_with_stdio(false) ;
    
    u64 A, B, K;
    cin >> A >> B >> K;
    
    B = A - K <= 0 ? (B - K + A) : B;
    A = max(A - K, 0LL);
    
    cout << A << " " << B << endl;
    
    return 0;
    
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:25:12: error: no matching function for call to 'max(u64, long long int)'
   25 |     A = max(A - K, 0LL);
      |         ~~~^~~~~~~~~~~~
In file included from /usr/include/c++/14/algorithm:60,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:51,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:25:12: note:   deduced conflicting types for parameter 'const _Tp' ('long int' and 'long long int')
   25 |     A = max(A - K, 0LL);
      |         ~~~^~~~~~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
In file included from /usr/include/c++/14/algorithm:61:
/usr/include/c++/14/bits/stl_algo.h:5706:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
 5706 |     max(initializer_list<_Tp> __l)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5706:5: note:   candidate expects 1 argument, 2 provided
/usr/include/c++/14/bits/stl_algo.h:5716:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
 5716 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algo.h:5716:5: note:   template argument deduction/substitution failed:
a.cc:25:12: note:   mismatched types 'std::initializer_list<_Tp>' and 'long int'
   25 |     A = max(A - K, 0LL);
      |         ~~~^~~~~~~~~~~~
Language: C++

#include<iostream>
#include<stdio.h>
using namespace std;
using ll=long long;
#include<algorithm>
#include<set>
#include<vector>
#define rep(i,n) for(int i=0;i<(n);i++)
using P=pair<int,int>;

//auto

int main(){
  int a,b,k;
  cin>>a>>b>>k;
  if(k<=a)a=a-k;
  else if(k<=b+a){
    a=0;b=b-(k-a);
}
else{a=0;b=0}
  cout<<a<<b<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:13: error: expected ';' before '}' token
   20 | else{a=0;b=0}
      |             ^
      |             ;
Language: C++

#include <iostream>

int main() {
  long long a, b, k;
  if (a <= k) {
    k -= a;
    a = 0;
    b = std::max(0, b-k);
  } else {
    a -= k;
  }
  std::cout << a << " " << b << std::endl;
  
  return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: no matching function for call to 'max(int, long long int)'
    8 |     b = std::max(0, b-k);
      |         ~~~~~~~~^~~~~~~~
In file included from /usr/include/c++/14/string:51,
                 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,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
  257 |     max(const _Tp& __a, const _Tp& __b)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:257:5: note:   template argument deduction/substitution failed:
a.cc:8:17: note:   deduced conflicting types for parameter 'const _Tp' ('int' and 'long long int')
    8 |     b = std::max(0, b-k);
      |         ~~~~~~~~^~~~~~~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
  303 |     max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      |     ^~~
/usr/include/c++/14/bits/stl_algobase.h:303:5: note:   candidate expects 3 arguments, 2 provided
Language: C++

#include <iosteram>

int main() {
  long long a, b, k;
  if (a <= k) {
    k -= a;
    a = 0;
    b = std::max(0, b-k);
  } else {
    a -= k;
  }
  std::cout << a << " " << b << std::endl;
  
  return 0;
} 

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