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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'sting' was not declared in this scope
    5 |   sting a, b;
      |   ^~~~~
a.cc:6:10: error: 'a' was not declared in this scope
    6 |   cin >> a >> b;
      |          ^
a.cc:6:15: error: 'b' was not declared in this scope
    6 |   cin >> a >> b;
      |               ^
Language: Java

import java.util.*;
 
 
public class Main {
    public static void main(String[] args) {
 
 
    	Scanner scanner = new Scanner(System.in);
    	String s1 = scanner.next();
    	String s2 = scanner.next();
    	System.out.println(s2 + s1);
    	
    }

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

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

	Scanner scan = new Scanner(System.in);
	String str1 = scan.next();
    String str2 = scan.next();
    System.out.println(str1 + str2);
    	
    }
    
}

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: C++

#include<string>

int main(){
  std::string S;
  std::string T;
  std::cin >> S;
  std::cin >> T;
  
  cout << S << T;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'cin' is not a member of 'std'
    6 |   std::cin >> S;
      |        ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<string>
  +++ |+#include <iostream>
    2 | 
a.cc:7:8: error: 'cin' is not a member of 'std'
    7 |   std::cin >> T;
      |        ^~~
a.cc:7:8: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << S << T;
      |   ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:7: error: 'i' undeclared (first use in this function)
    9 |   for(i=0;i<k;i++){
      |       ^
main.c:9:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
 
int main()
{
  unsigned int a,b,k;
  
  scanf("%d %d %d",a,b,k);
  
  for(i=0;i<k;i++){
    if(a>0)
      a--;
    else if(b>0)
      b--;
    else
      break;
  }
  
  printf("%d,%d",a,b);
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:7: error: 'i' undeclared (first use in this function)
    9 |   for(i=0;i<k;i++){
      |       ^
main.c:9:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

int main()
{
  int a,b,k;
  
  scanf("%d %d %d",a,b,k);
  
  for(i=o;i<k;i++){
    if(a>0)
      a--;
    else if(b>0)
      b--;
    else
      break;
  }
  
  printf("%d,%d",a,b);
  
  return 0;
}
提出情報

Compiler output:
main.c: In function 'main':
main.c:9:7: error: 'i' undeclared (first use in this function)
    9 |   for(i=0;i<k;i++){
      |       ^
main.c:9:7: note: each undeclared identifier is reported only once for each function it appears in
main.c: At top level:
main.c:22:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   22 | include <stdio.h>
      |         ^
main.c:43:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   43 | 提出情報
      | ^~~~~~~~
Language: C

#include <stdio.h>
#include <string.h>
 
int main(){
  char S[],T[];
  
  scanf("%s %s",S,T);
  
  strcat(T,S);
  
  printf("%s",T);
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:8: error: array size missing in 'S'
    5 |   char S[],T[];
      |        ^
main.c:5:12: error: array size missing in 'T'
    5 |   char S[],T[];
      |            ^
Language: C

#include <stdio.h>
#include <string.h>
 
int main(){
  unsigned char S[],T[];
  
  scanf("%s %s",S,T);
  
  strcat(T,S);
  
  printf("%s",T);
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:17: error: array size missing in 'S'
    5 |   unsigned char S[],T[];
      |                 ^
main.c:5:21: error: array size missing in 'T'
    5 |   unsigned char S[],T[];
      |                     ^
Language: C

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

int main(){
  char S[],T[60],;
  
  scanf("%s %s",S,T);
  
  strcat(T,S);
  
  printf("%s",T);
  
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:8: error: array size missing in 'S'
    5 |   char S[],T[60],;
      |        ^
main.c:5:18: error: expected identifier or '(' before ';' token
    5 |   char S[],T[60],;
      |                  ^
Language: C

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

int main(){
  char S[101],T[101];
  char U[202]={'\0'};
  scanf("%s",&S);
  scanf("%s",&T);
  strcat(U,S);
  strcat(U,T);
  printf("%s\n",U);
return 0;
}

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

# -*- coding: utf-8 -*-

import math


def func():
    ans = 0
    return(ans)


# N = input()
# N = int(input())
S, T = input().split()
# A = list(map(int, input().split()))


# 回答出力

print(T+S)


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding: utf-8 -*-
      |   ^
a.cc:11:3: error: invalid preprocessing directive #N
   11 | # N = input()
      |   ^
a.cc:12:3: error: invalid preprocessing directive #N
   12 | # N = int(input())
      |   ^
a.cc:14:3: error: invalid preprocessing directive #A
   14 | # A = list(map(int, input().split()))
      |   ^
a.cc:17:3: error: invalid preprocessing directive #\U000056de\U00007b54\U000051fa\U0000529b
   17 | # 回答出力
      |   ^~~~~~~~
a.cc:3:1: error: 'import' does not name a type
    3 | import math
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C

#include <stdio.h>
int main(void)
{
  	char S,T;
  	printf("できる文字列を入力せよ\n");
  	scanf("%c",&S &T);
  
  	printf("S = '%c',T = '%c'のとき、T,Sの順に連結してできる文字列は'%c'",S,T,S+T);
  
  	return 0;
]

Compiler output:
main.c: In function 'main':
main.c:6:23: error: invalid operands to binary & (have 'char *' and 'int')
    6 |         scanf("%c",&S &T);
      |                    ~~ ^
      |                    |
      |                    char *
main.c:11:1: error: expected statement before ']' token
   11 | ]
      | ^
main.c:11:1: error: expected declaration or statement at end of input
Language: C

#include <stdio.h>
int main(void)
{
  	char 'S','T';
  	printf("できる文字列を入力せよ\n");
  	scanf("%c",&S &T);
  
  	printf("S = '%c',T = '%c'のとき、T,Sの順に連結してできる文字列は'%c'",S,T,S+T);
  
  	return 0;
]

Compiler output:
main.c: In function 'main':
main.c:4:14: error: expected identifier or '(' before 'S'
    4 |         char 'S','T';
      |              ^~~
main.c:6:21: error: 'S' undeclared (first use in this function)
    6 |         scanf("%c",&S &T);
      |                     ^
main.c:6:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:24: error: 'T' undeclared (first use in this function)
    6 |         scanf("%c",&S &T);
      |                        ^
main.c:11:1: error: expected statement before ']' token
   11 | ]
      | ^
main.c:11:1: error: expected declaration or statement at end of input
Language: C++

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

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


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

#include<iostream>
#include<string>

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


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

#include<iostream>

int main(){
  string s,t;
  std::cin >> s >> t;
  std::cout << t << s << std::cout;
  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:15: error: 's' was not declared in this scope
    5 |   std::cin >> s >> t;
      |               ^
a.cc:5:20: error: 't' was not declared in this scope; did you mean 'tm'?
    5 |   std::cin >> s >> t;
      |                    ^
      |                    tm
Language: C++

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

Compiler output:
a.cc:2:17: warning: extra tokens at end of #include directive
    2 | #include<string>;
      |                 ^
a.cc: In function 'int main()':
a.cc:9:11: error: expected ';' before '}' token
    9 |   return 0
      |           ^
      |           ;
   10 | }
      | ~
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:6: error: cannot find symbol
      	Stirng a = sc.next();
      	^
  symbol:   class Stirng
  location: class Main
Main.java:8: error: package Syetem does not exist
      	Syetem.out.println(b+a);
      	      ^
2 errors
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'scanf' was not declared in this scope
    4 |   scanf("%s", s)
      |   ^~~~~
Language: C++

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

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

#include<bits/stdc++.h>
using namespace std;
 int main(){
   
 long a, b, c;  
   
 cin >> a;
 cin >> b;
 cin >> c;
 
   if(c>a){
      if(b>c-a)
      {cout<< 0 <<" "<< b-(c-a);
      }
     else{
   cout<< 0 0
   }
   }else{
   cout<< a-c <<" "<< b;
   }
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:16:12: error: expected ';' before numeric constant
   16 |    cout<< 0 0
      |            ^~
      |            ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
 int main(){
   
 long a, b, c;  
   
 cin >> a;
 cin >> b;
 cin >> c;
 
   if(c>a){
      if(b>c-a)
   cout<< 0 <<" "<< b-(c-a);
   else
   cout<< 0 << 0
   }else{
   cout<< a-c <<" "<< b;
   }
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:15:17: error: expected ';' before '}' token
   15 |    cout<< 0 << 0
      |                 ^
      |                 ;
   16 |    }else{
      |    ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 int main(){
   
 long a, b, c;  
   
 cin >> a;
 cin >> b;
 cin >> c;
 
   if(c>a){
      if(b>c-a)
   cout<< 0 <<" "<< b-(c-a);
   else
   cout<< 0 0;
   }else{
   cout<< a-c <<" "<< b;
   }
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:15:12: error: expected ';' before numeric constant
   15 |    cout<< 0 0;
      |            ^~
      |            ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
 int main(){
   
 long a b c;  
   
 cin >> a b c;
 
   if(c>a){
   cout<< 0 b-(c-a)
   }else{
   cout<< a-c b
   }
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'b'
    5 |  long a b c;
      |         ^
a.cc:7:9: error: 'a' was not declared in this scope
    7 |  cin >> a b c;
      |         ^
a.cc:9:7: error: 'c' was not declared in this scope
    9 |    if(c>a){
      |       ^
a.cc:10:12: error: expected ';' before 'b'
   10 |    cout<< 0 b-(c-a)
      |            ^~
      |            ;
Language: C++

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

int main(){
	vector<string> (S,0,T,0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'S' was not declared in this scope
    7 |         vector<string> (S,0,T,0);
      |                         ^
a.cc:7:29: error: 'T' was not declared in this scope
    7 |         vector<string> (S,0,T,0);
      |                             ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'String' was not declared in this scope
    6 |   String s,t;
      |   ^~~~~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s;
      |          ^
a.cc:8:10: error: 't' was not declared in this scope; did you mean 'tm'?
    8 |   cin >> t;
      |          ^
      |          tm
Language: C++

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

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'String' was not declared in this scope
    6 |   String s,t;
      |   ^~~~~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s;
      |          ^
a.cc:8:10: error: 't' was not declared in this scope; did you mean 'tm'?
    8 |   cin >> t;
      |          ^
      |          tm
Language: C++

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

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

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

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'String' was not declared in this scope
    6 |   String s,t;
      |   ^~~~~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s
      |          ^
Language: C++

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

void main(){

  String s,t;
  cin >> s
  cin >> t

    cout<< t+s 
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'String' was not declared in this scope
    6 |   String s,t;
      |   ^~~~~~
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> s
      |   ^~~
a.cc:7:10: error: 's' was not declared in this scope
    7 |   cin >> s
      |          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  char S;
  char T;
  cin >> S >> T;
  
  cout << 'T''S' << endl;
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected ';' before 'S'
    9 |   cout << 'T''S' << endl;
      |              ^~~
      |              ;
Language: C++

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:13: error: expected ')' before 'S'
    4 |   scanf("%S"S );
      |        ~    ^
      |             )
main.c:5:12: error: expected ')' before 'T'
    5 |  scanf("%S"T );
      |       ~    ^
      |            )
Language: Java

  static final String S = "order"
  static final String T = "atc"
  public static void main(String[] args) {
    System.out.printin(T + S);
  
  }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
  static final String S = "order"
               ^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: ';' expected
  static final String S = "order"
                                 ^
Main.java:2: error: ';' expected
  static final String T = "atc"
                               ^
3 errors
Language: Java

import java.util.*;

public class Sample{
    public static void main(String[] args){
        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: class Sample is public, should be declared in a file named Sample.java
public class Sample{
       ^
1 error
Language: C

#include <stdio.h>

int main (void){
	
	char str[100];
	char str2[100];
	scanf("%s %s", &str, %str2);
	
	printf("%s%s", str, str2);
	
}

Compiler output:
main.c: In function 'main':
main.c:7:30: error: expected expression before '%' token
    7 |         scanf("%s %s", &str, %str2);
      |                              ^
Language: C++

#include<isostream>
using namespace std;
string s,t;
int main(){
  cin>>s>t;
  cout<<t+s<<ensl;
  return 0;
}

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

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'string' was not declared in this scope
    5 |   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 | #inclue<bits/stdc++.h>
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #inclue<bits/stdc++.h>
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:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:14: error: 'endl' was not declared in this scope
    7 |   cout<<t+s<<endl;
      |              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue<bits/stdc++.h>
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: expected primary-expression before ';' token
    4 |   char S[110]=;
      |               ^
a.cc:5:15: error: expected primary-expression before ';' token
    5 |   char T[110]=;
      |               ^
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:6:15: error: expected primary-expression before ';' token
    6 |   cout<<t<<s<<;
      |               ^
Language: Java

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

    		System.out.println(a+b);
    	}
    }

Compiler output:
Main.java:5: error: incompatible types: int cannot be converted to String
    		String a = sc.nextInt();
    		                     ^
Main.java:6: error: incompatible types: int cannot be converted to String
          String b = sc.nextInt();
                               ^
2 errors
Language: C++

#include <iostream>
using namespace std;
 
int main(){
long long a, b, k;
cin >> a >> b >> k;
 
if(k <= a){
cout << a - k << 'u' << b <<endl
}else if(k <= a+b){
cout << 0 << 'u' << b - (k-a) <<endl;
}else{
cout << 0 << 'u' << 0 <<endl; }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: expected ';' before '}' token
    9 | cout << a - k << 'u' << b <<endl
      |                                 ^
      |                                 ;
   10 | }else if(k <= a+b){
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main(){
  int A,B,K;
  cin>>A,B,k;
  while(K){
    if(A>=1){
      A-=1;
    }
    else if(B>=1){
      B-=1;
    }
    K--;
  }
  cout<<"Cookies with T = " <<A;
  cout<<"\n Cookies with A = " <<B;
}

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

#include<iostream>

int main() {
	
	string A, B;
	cin >> A >> B;
	
	cout << A << B;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'string' was not declared in this scope
    5 |         string A, B;
      |         ^~~~~~
a.cc:5:9: 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:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> A >> B;
      |         ^~~
      |         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:16: error: 'A' was not declared in this scope
    6 |         cin >> A >> B;
      |                ^
a.cc:6:21: error: 'B' was not declared in this scope
    6 |         cin >> A >> B;
      |                     ^
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << A << B;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

public class Main {
	public static void main() {
		Scanner scanner = new Scanner(System.in);
		String str = scanner.nextLine();
		String str2 = scanner.nextLine();
		
		Pattern pattern = Pattern.compile("^[a-z]+$");
		
		boolean isClear = Stream.of(str, str2).allMatch(s -> pattern.matcher(s).find() && s.length() >= 1 && s.length() <= 100);
		if (isClear) {
			System.out.println(str2 + str);
		}
	}

}


Compiler output:
Main.java:3: error: cannot find symbol
		Scanner scanner = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner scanner = new Scanner(System.in);
		                      ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
		Pattern pattern = Pattern.compile("^[a-z]+$");
		^
  symbol:   class Pattern
  location: class Main
Main.java:7: error: cannot find symbol
		Pattern pattern = Pattern.compile("^[a-z]+$");
		                  ^
  symbol:   variable Pattern
  location: class Main
Main.java:9: error: cannot find symbol
		boolean isClear = Stream.of(str, str2).allMatch(s -> pattern.matcher(s).find() && s.length() >= 1 && s.length() <= 100);
		                  ^
  symbol:   variable Stream
  location: class Main
5 errors
Language: Java

	void main() {
		Scanner scanner = new Scanner(System.in);
		String str = scanner.nextLine();
		String str2 = scanner.nextLine();
		
		Pattern pattern = Pattern.compile("^[a-z]+$");
		
		boolean isClear = Stream.of(str, str2).allMatch(s -> pattern.matcher(s).find() && s.length() >= 1 && s.length() <= 100);
		if (isClear) {
			System.out.println(str2 + str);
		}
	}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
	void main() {
	^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

#include<stdio.h>
#include<string.h>
int main(void) {
  char str1[99]
  char str2[99]
  scanf("%s %s",str1,str2);
  strcat(str2,str1);
  printf("%s\n",str2);
  return 0;



}

Compiler output:
main.c: In function 'main':
main.c:4:16: error: expected ';' before 'char'
    4 |   char str1[99]
      |                ^
      |                ;
    5 |   char str2[99]
      |   ~~~~          
main.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |   scanf("%s %s",str1,str2);
      |   ^~~~~
main.c:6:17: error: 'str1' undeclared (first use in this function)
    6 |   scanf("%s %s",str1,str2);
      |                 ^~~~
main.c:6:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:22: error: 'str2' undeclared (first use in this function)
    6 |   scanf("%s %s",str1,str2);
      |                      ^~~~
Language: C

#include<stdio.h>
int main(void) {
  char str1[99]
  char str2[99]
  scanf("%s %s",str1,str2);
  printf("%s%s\n",str2,str1);
  return 0;
  


}


Compiler output:
main.c: In function 'main':
main.c:3:16: error: expected ';' before 'char'
    3 |   char str1[99]
      |                ^
      |                ;
    4 |   char str2[99]
      |   ~~~~          
main.c:5:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    5 |   scanf("%s %s",str1,str2);
      |   ^~~~~
main.c:5:17: error: 'str1' undeclared (first use in this function)
    5 |   scanf("%s %s",str1,str2);
      |                 ^~~~
main.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:22: error: 'str2' undeclared (first use in this function)
    5 |   scanf("%s %s",str1,str2);
      |                      ^~~~
Language: C++

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

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

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<bits/stdc++h>
using namespace std;
int main()
{
	string a,b;
  	cin>>a;
  	cin>>b;
  cout<<b+a;
}
  
  
  

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<bits/stdc++.h>
using namespace std;

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

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

#include<iostream>
using namespace std;
int main()
{
char s[100],t[100],p[100];
  cin>>s>>t;
  p=t+s;
  cout<<p<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: invalid operands of types 'char [100]' and 'char [100]' to binary 'operator+'
    7 |   p=t+s;
      |     ~^~
      |     | |
      |     | char [100]
      |     char [100]
a.cc:8:17: error: expected '}' at end of input
    8 |   cout<<p<<endl;
      |                 ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

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


 

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




Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'stirng' was not declared in this scope
   14 |     stirng ans;
      |     ^~~~~~
a.cc:15:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   15 |     ans += t;   ans += s;
      |     ^~~
      |     abs
Language: C++

#include <iostream>
2 using namespace std;
3
4 int main(){
5 long long a, b, k;
6 cin >> a >> b >> k;
7
8 if(k <= a){
9 cout << a - k << "␣" << b <<endl;
10 }else if(k <= a+b){
11 cout << 0 << "␣" << b - (k-a) <<endl;
12 }else{
13 cout << 0 << "␣" << 0 <<endl;
14 }
15 }


Compiler output:
a.cc:2:1: error: expected unqualified-id before numeric constant
    2 | 2 using namespace std;
      | ^
a.cc:3:1: error: expected unqualified-id before numeric constant
    3 | 3
      | ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  long A, B, K;
  cin >> A >> B >> K;
  if ( A => K ){
    cout << A - K << ' ' << B << endl;
  }
  else if ( A + B => K ){
    cout << 0 << ' ' << B - (K-A) << endl;
  }
  else {
    cout << 0 << ' ' << 0 << endl;
  }
}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '>' token
    6 |   if ( A => K ){
      |           ^
a.cc:9:20: error: expected primary-expression before '>' token
    9 |   else if ( A + B => K ){
      |                    ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  long A, B, K;
  cin >> A;
  cin >> B;
  cin >> 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;
  }
}
  


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

#include<iostream>
using namespace std;
int main(){
  int A, B, K;
  cin >> A;
  cin >> B;
  cin >> 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:7:10: error: 'C' was not declared in this scope
    7 |   cin >> C;
      |          ^
Language: C++

#include<iostream>
using namespace std;
main()
{
string a,b;
cin>>a>>b;
cout<<b<<a;




}

  
  
  
  
  
  
  
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main()
      | ^~~~
a.cc:21:1: error: expected declaration before '}' token
   21 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  string strN,strM;
  cin >> strN >> strM;
  for(int i= 0; i < 100; i++ ){
    cout << strN.(i) << strM.(i);
  }
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected unqualified-id before '(' token
    8 |     cout << strN.(i) << strM.(i);
      |                  ^
a.cc:8:30: error: expected unqualified-id before '(' token
    8 |     cout << strN.(i) << strM.(i);
      |                              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  string strN,strM;
  cin >> strN >> strM;
  for(int = i; i < 100; i++ ){
    cout << strN.(i) << strM.(i);
  }
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected unqualified-id before '=' token
    7 |   for(int = i; i < 100; i++ ){
      |           ^
a.cc:7:10: error: expected ';' before '=' token
    7 |   for(int = i; i < 100; i++ ){
      |          ^~
      |          ;
a.cc:7:11: error: expected primary-expression before '=' token
    7 |   for(int = i; i < 100; i++ ){
      |           ^
a.cc:7:13: error: 'i' was not declared in this scope
    7 |   for(int = i; i < 100; i++ ){
      |             ^
a.cc:7:23: error: expected ')' before ';' token
    7 |   for(int = i; i < 100; i++ ){
      |      ~                ^
      |                       )
a.cc:7:25: error: 'i' was not declared in this scope
    7 |   for(int = i; i < 100; i++ ){
      |                         ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main({
  string s1, s2;
  cin >> s1 >> s2;
  cout << s2 + s1 ;
  return 0;
}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main({
      |     ^~~~
a.cc:4:10: error: expected primary-expression before 's1'
    4 |   string s1, s2;
      |          ^~
a.cc:4:10: error: expected '}' before 's1'
a.cc:3:10: note: to match this '{'
    3 | int main({
      |          ^
a.cc:4:9: error: expected ')' before 's1'
    4 |   string s1, s2;
      |         ^~~
      |         )
a.cc:3:9: note: to match this '('
    3 | int main({
      |         ^
a.cc:4:14: error: 's2' was not declared in this scope
    4 |   string s1, s2;
      |              ^~
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> s1 >> s2;
      |   ^~~
a.cc:6:3: error: 'cout' does not name a type
    6 |   cout << s2 + s1 ;
      |   ^~~~
a.cc:7:3: error: expected unqualified-id before 'return'
    7 |   return 0;
      |   ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: Java

import java.util.*;

public class cagon {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		String n = scn.next();
		String n2 = scn.next();
		System.out.println(n2+n);
		scn.close();
	}
}

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

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

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

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

#include<string>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> s;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<string>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:12:3: error: 'cout' was not declared in this scope
   12 |   cout << t << s << endl;
      |   ^~~~
a.cc:12:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:21: error: 'endl' was not declared in this scope
   12 |   cout << t << s << endl;
      |                     ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<string>
  +++ |+#include <ostream>
    2 | using namespace std;
Language: C++

#include<stdio.h>
int main()
{
    char str[110],str1[110];
    scanf("%s %s",str,str1);
    int len=strlen(str);
    int len1=strlen(str1);

    int m=len+len1;
    char ans[m];

    for(int i=0,j=0;i<m && j<len1;i++,j++){
       ans[i]=str1[j];
    }

    for(int i=len1,j=0;i<m && j<len;j++,i++){
        ans[i]=str[j];
    }

    ans[m]='\0';
    printf("%s\n",ans);

}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: 'strlen' was not declared in this scope
    6 |     int len=strlen(str);
      |             ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include<stdio.h>
  +++ |+#include <cstring>
    2 | int main()
Language: C

#include<stdio.h>
int main()
{
    char str[110],str1[110];
    scanf("%s %s",str,str1);
    int len=strlen(str);
    int len1=strlen(str1);
    
    int m=len+len1;
    char ans[m];

    for(i=0,j=0;i<m && j<len1;i++,j++){
       ans[i]=str1[j];
    }

    for(i=len1,j=0,i<m && j<len;j++,i++){
        ans[i]=str[j];
    }
    
    ans[m]='\0';
    printf("%s\n",ans);
    
}

Compiler output:
main.c: In function 'main':
main.c:6:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
    6 |     int len=strlen(str);
      |             ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include<stdio.h>
  +++ |+#include <string.h>
    2 | int main()
main.c:6:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
    6 |     int len=strlen(str);
      |             ^~~~~~
main.c:6:13: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:12:9: error: 'i' undeclared (first use in this function)
   12 |     for(i=0,j=0;i<m && j<len1;i++,j++){
      |         ^
main.c:12:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:13: error: 'j' undeclared (first use in this function)
   12 |     for(i=0,j=0;i<m && j<len1;i++,j++){
      |             ^
main.c:16:40: error: expected ';' before ')' token
   16 |     for(i=len1,j=0,i<m && j<len;j++,i++){
      |                                        ^
      |                                        ;
Language: C++

function Main (input) {
  input = input.split(" ");
  console.log(input[0] + input[1]);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));

Compiler output:
a.cc:1:1: error: 'function' does not name a type; did you mean 'union'?
    1 | function Main (input) {
      | ^~~~~~~~
      | union
a.cc:6:5: error: expected constructor, destructor, or type conversion before '(' token
    6 | Main(require("fs").readFileSync("/dev/stdin", "utf8"));
      |     ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:10: warning: missing terminating " character
    7 |   printf("%s%s,t,s);
      |          ^
main.c:7:10: error: missing terminating " character
    7 |   printf("%s%s,t,s);
      |          ^~~~~~~~~~~
main.c:9:10: error: expected expression before '}' token
    9 |          }
      |          ^
main.c:7:10: error: expected ';' before '}' token
    7 |   printf("%s%s,t,s);
      |          ^
      |          ;
    8 | 
    9 |          }
      |          ~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:10: warning: missing terminating " character
    7 |   printf("%s %s,t,s);
      |          ^
main.c:7:10: error: missing terminating " character
    7 |   printf("%s %s,t,s);
      |          ^~~~~~~~~~~~
main.c:8:10: error: expected expression before 'return'
    8 |          return 0;
      |          ^~~~~~
main.c:8:19: error: expected ';' before '}' token
    8 |          return 0;
      |                   ^
      |                   ;
    9 |          }
      |          ~
Language: C

//https://atcoder.jp/contests/abc149/tasks/abc149_b
#include<stdio.h>
#include<iostream>
using namespace std;
#define ll long long
int main()
{
	ll a, b, k;
	cin >> a >> b >> k;
	if(k > a + b){
		printf("0 0\n");
	}
	else if(k > a){
		b = b - k + a;
		printf("0 %lld\n",b);
	}
	else
		cout << a - k <<" "<<b<<endl;
	return 0;
}
		

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

//https://atcoder.jp/contests/abc149/tasks/abc149_b
#include<cstdio>
#include<iostream>
using namespace std;
#define ll long long
int main()
{
	ll a, b, k;
	cin >> a >> b >> k;
	if(k > a + b){
		printf("0 0\n");
	}
	else if(k > a){
		b = b - k + a;
		printf("0 %lld\n",b);
	}
	else
		cout << a - k <<" "<<b<<endl;
	return 0;
}
		

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

#include<stdio.h>
int main()
{
	char a[1005];
	gets(a);
	for(int i = 0; a[i] != '\0'; i++){
		if(a[i] == ' ') {
			for(int j = i; a[j+1] != '\0'; j++) printf("%c",a[j+1]);
			a[i] = '\0';
			break;
		}
	}
	puts(a);
	return 0;
}


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

//https://atcoder.jp/contests/abc149/tasks/abc149_a/
#include<stdio.h>
int main()
{
	char a[1005];
	gets(a);
	for(int i = 0; a[i] != '\0'; i++){
		if(a[i] == ' ') {
			for(int j = i; a[j+1] != '\0'; j++) printf("%c",a[j+1]);
			a[i] = '\0';
			break;
		}
	}
	puts(a);
	return 0;
}


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

/*input

*/
#include <bits/stdc++.h>
#pragma GCC optimize("unroll-loops,no-stack-protector")
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ld,ld> pdd;
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define ALL(a) a.begin(),a.end()
#define SZ(a) ((int)a.size())
#define F first
#define S second
#define REP(i,n) for(int i=0;i<((int)n);i++)
#define eb emplace_back
#define pb push_back
#define MP(a,b) make_pair(a,b)
#define SORT_UNIQUE(c) (sort(c.begin(),c.end()), c.resize(distance(c.begin(),unique(c.begin(),c.end()))))
#define GET_POS(c,x) (lower_bound(c.begin(),c.end(),x)-c.begin())
#define EL cout<<'\n'
#define BS(a,x) binary_search(ALL(a),x)
template<typename T1,typename T2>
ostream& operator<<(ostream& out,pair<T1,T2> P){
	out<<'('<<P.F<<','<<P.S<<')';
	return out;
}
template<typename T>
ostream& operator<<(ostream& out,vector<T> V){
	REP(i,SZ(V)) out<<V[i]<<((i!=SZ(V)-1)?" ":"");
	return out;
}
//}}}
const ll maxn=300005;
const ll maxlg=20;
const ll INF64=1e18;
const int INF=0x3f3f3f3f;
const ll MOD=ll(1e9+7);
const ld PI=acos(-1);
const ld eps=1e-9;
//const ll p=880301;
//const ll P=31;

ll mypow(ll a,ll b){
	ll res=1LL;
	while(b){
		if(b&1) res=res*a%MOD;
		a=a*a%MOD;
		b>>=1;
	}
	return res;
}


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


Compiler output:
a.cc: In function 'int main()':
a.cc:59:9: error: 'stirng' was not declared in this scope
   59 |         stirng s,t;
      |         ^~~~~~
a.cc:60:14: error: 's' was not declared in this scope
   60 |         cin>>s>>t;
      |              ^
a.cc:60:17: error: 't' was not declared in this scope; did you mean 'tm'?
   60 |         cin>>s>>t;
      |                 ^
      |                 tm
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0;i < (n);i++)
using namespace std;
  
int main () {
  string s, t:
  cin >> s >> t:
  cout << t + s:
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: found ':' in nested-name-specifier, expected '::'
    6 |   string s, t:
      |              ^
      |              ::
a.cc:6:13: error: 't' has not been declared
    6 |   string s, t:
      |             ^
a.cc:7:7: error: qualified-id in declaration before '>>' token
    7 |   cin >> s >> t:
      |       ^~