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

#include<stdio.h>
 
int main(void)
{
  char C;
  scanf('%c',&C);
  
  char c = C + 1;
    
    printf("%c",c);
  return 0;
}

Compiler output:
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   scanf('%c',&C);
      |         ^~~~
a.cc: In function 'int main()':
a.cc:6:9: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   scanf('%c',&C);
      |         ^~~~
      |         |
      |         int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

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

int main(void)
{
	int i = 0;
	string str = "abcdefghijklmnopqrstuvwxyz";
	char t;
	cin >> t;
　　　
	for (i = 0; i < 100; i++)
	{
		if (t == str.at(i))
			break;
	}
	cout << str.at(i+1) << endl;
}



Compiler output:
a.cc:10:1: error: extended character 　 is not valid in an identifier
   10 | 　　　
      | ^
a.cc:10:1: error: extended character 　 is not valid in an identifier
a.cc:10:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:10:1: error: '\U00003000\U00003000\U00003000' was not declared in this scope
   10 | 　　　
      | ^~~~~~
a.cc:11:33: error: expected ';' before ')' token
   11 |         for (i = 0; i < 100; i++)
      |                                 ^
      |                                 ;
Language: C++

#include<stdio.h>
 
int main(void)
{
  char C;
  scanf('%c',&C);
  
  int c = C + 1
    
    printf("%c",c);
  return 0;
}

Compiler output:
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   scanf('%c',&C);
      |         ^~~~
a.cc: In function 'int main()':
a.cc:6:9: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   scanf('%c',&C);
      |         ^~~~
      |         |
      |         int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:10:5: error: expected ',' or ';' before 'printf'
   10 |     printf("%c",c);
      |     ^~~~~~
Language: C++

#include <stdio.h>
#include <string.h>
int main(void){
    char C[2];
    char ans[2];
    int i;
    scanf("%s",C)
    char S[26]=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
    for(i=0;i<26;i++{
        if(C[0]==S[i]{
            ans[0]=S[i+1]; 
        }
    }
    printf("%c",ans[0]);
    return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before 'char'
    7 |     scanf("%s",C)
      |                  ^
      |                  ;
    8 |     char S[26]=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
      |     ~~~~          
a.cc:9:21: error: expected ';' before '{' token
    9 |     for(i=0;i<26;i++{
      |                     ^
      |                     ;
Language: Java

import java.util.*;

class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char c = sc.nextChar();
int f =c;
char a = (char)c;
System.out.println("a");
}
}


Compiler output:
Main.java:6: error: cannot find symbol
char c = sc.nextChar();
           ^
  symbol:   method nextChar()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.*;

class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char c = sc.next();
int f =c;
char a = (char)c;
System.out.println("a");
}
}


Compiler output:
Main.java:6: error: incompatible types: String cannot be converted to char
char c = sc.next();
                ^
1 error
Language: C++

#include<stdio.h>
 
int main(void)
{
  char C;
  scanf('%c',&C);
    
    printf("%c",C + 1);
  return 0;
}

Compiler output:
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   scanf('%c',&C);
      |         ^~~~
a.cc: In function 'int main()':
a.cc:6:9: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   scanf('%c',&C);
      |         ^~~~
      |         |
      |         int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

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

int main(void)
{
	int i = 0;
	string str = "abcdefghijklmnopqrstuvwxyz";
	char t;
	cin >> t;
　　　
	for (i = 0; i < 100; i++)
	{
		if (t == str.at(i))
			break;
	}
	cout << str.at(i+1) << endl;
}



Compiler output:
a.cc:10:1: error: extended character 　 is not valid in an identifier
   10 | 　　　
      | ^
a.cc:10:1: error: extended character 　 is not valid in an identifier
a.cc:10:1: error: extended character 　 is not valid in an identifier
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string str = "abcdefghijklmnopqrstuvwxyz";
      |         ^~~~~~
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> t;
      |         ^~~
a.cc:10:1: error: '\U00003000\U00003000\U00003000' was not declared in this scope
   10 | 　　　
      | ^~~~~~
a.cc:11:33: error: expected ';' before ')' token
   11 |         for (i = 0; i < 100; i++)
      |                                 ^
      |                                 ;
a.cc:16:9: error: 'cout' was not declared in this scope
   16 |         cout << str.at(i+1) << endl;
      |         ^~~~
a.cc:16:17: error: 'str' was not declared in this scope; did you mean 'std'?
   16 |         cout << str.at(i+1) << endl;
      |                 ^~~
      |                 std
a.cc:16:32: error: 'endl' was not declared in this scope
   16 |         cout << str.at(i+1) << endl;
      |                                ^~~~
Language: C++

#include <stdio.h>
#include <string.h>
int main(void){
    char C[2];
    char ans[2]
    scanf("%s",C)
    char S[26]=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z]
    for(i=0;i<26;i++{
        if(C[0]==S[i]{
            ans[0]=S[i+1]; 
        }
    }
    printf("%c",ans);
    return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected initializer before 'scanf'
    6 |     scanf("%s",C)
      |     ^~~~~
a.cc:8:13: error: 'i' was not declared in this scope
    8 |     for(i=0;i<26;i++{
      |             ^
a.cc:13:17: error: 'ans' was not declared in this scope
   13 |     printf("%c",ans);
      |                 ^~~
Language: C

#include <stdio.h>

int main(void){
  	char a;
  	scanf("%c",*a);
  	a++;
  	printf("%c\n",a);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:20: error: invalid type argument of unary '*' (have 'int')
    5 |         scanf("%c",*a);
      |                    ^~
Language: C++

#include<stdio.h>
 
int main(void)
{
  char C;
  scanf('%c',&C);
    
    printf('%c',C + 1);
  return 0;
}

Compiler output:
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   scanf('%c',&C);
      |         ^~~~
a.cc:8:12: warning: multi-character character constant [-Wmultichar]
    8 |     printf('%c',C + 1);
      |            ^~~~
a.cc: In function 'int main()':
a.cc:6:9: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   scanf('%c',&C);
      |         ^~~~
      |         |
      |         int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:8:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    8 |     printf('%c',C + 1);
      |            ^~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

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

int main() {
	char c;
	cin >> c;
	printf("%c", c + 1);
	return 0;

}

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

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

int main() {
  char c;
  cin >> c;
  c = c+1;
  cout << c <<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<bits/stdc++.h>
using namespace std;
int main()
{
  char a;
  cin>>a;
  cout<<a+1;
  return0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'return0' was not declared in this scope
    8 |   return0;
      |   ^~~~~~~
Language: C++

#include<stdio.h>

int main(void)
{
  char C;
  scanf('%c',&C)
    
    printf('%c',C + 1);
  return 0;
}

Compiler output:
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   scanf('%c',&C)
      |         ^~~~
a.cc:8:12: warning: multi-character character constant [-Wmultichar]
    8 |     printf('%c',C + 1);
      |            ^~~~
a.cc: In function 'int main()':
a.cc:6:9: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   scanf('%c',&C)
      |         ^~~~
      |         |
      |         int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:6:17: error: expected ';' before 'printf'
    6 |   scanf('%c',&C)
      |                 ^
      |                 ;
    7 | 
    8 |     printf('%c',C + 1);
      |     ~~~~~~
Language: Java

public class Main {

	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		String C = sc.next();

		char[] c = C.toCharArray();
        System.out.println((char)(c[0] + 0x01));
		sc.close();
	}
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  char x[1];
  cin>>x[i];
  int y=int(x[i]);
  cout<<char(y+1)<<"\n";
    
}

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

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

int main(void)
{
	int i = 0;
	string s = "abcdefghijklmnopqrstuvwxyz";
	char t;
	cin >> t;

	for (i = 0; i < 100; i++)
	{
		if (t == s.at(i))
			break;
	}
	cout << s.at(i+1) << endl;
}



Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string s = "abcdefghijklmnopqrstuvwxyz";
      |         ^~~~~~
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> t;
      |         ^~~
a.cc:13:26: error: 's' was not declared in this scope
   13 |                 if (t == s.at(i))
      |                          ^
a.cc:16:9: error: 'cout' was not declared in this scope
   16 |         cout << s.at(i+1) << endl;
      |         ^~~~
a.cc:16:17: error: 's' was not declared in this scope
   16 |         cout << s.at(i+1) << endl;
      |                 ^
a.cc:16:30: error: 'endl' was not declared in this scope
   16 |         cout << s.at(i+1) << endl;
      |                              ^~~~
Language: C++

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

int main(){
    char a;
    cin >> a;
    a = a+1;a
    cout << a << endl;
    return 0;
}

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

#include<bits/stdc++.h>
int main()
{
  char a;
  cin<<a;
  if((a>=97)&&(a<=122
  cout<<a+1;
  else if((a>=65)&&(a<=91))
  cout<<a+33;
  
  
  return0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin<<a;
      |   ^~~
      |   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:6:22: error: expected ')' before 'cout'
    6 |   if((a>=97)&&(a<=122
      |               ~      ^
      |                      )
    7 |   cout<<a+1;
      |   ~~~~                
a.cc:7:12: error: expected ')' before ';' token
    7 |   cout<<a+1;
      |            ^
      |            )
a.cc:6:5: note: to match this '('
    6 |   if((a>=97)&&(a<=122
      |     ^
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout<<a+33;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:3: error: 'return0' was not declared in this scope
   12 |   return0;
      |   ^~~~~~~
Language: C

#include <stdio.h>
int main(void) {
	char alf;
	scanf("%c", &alf);
	printf("%c\n", alf + 1);
  	return 0
}

Compiler output:
main.c: In function 'main':
main.c:6:17: error: expected ';' before '}' token
    6 |         return 0
      |                 ^
      |                 ;
    7 | }
      | ~
Language: C++

#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (int)(n); i++)
#define pb push_back
#define all(v) v.begin(), v.end()
#define bigger (char)toupper
#define smaller (char)tolower
using namespace std;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef long long ll;
typedef unsigned long long ull;

int main() {
    int N,K,M;
    cin>>N>>K>>M;
    vi v(N-1);
    rep(i,N-1) {
        cin>>v.at(i);
    }
    int sum=0;
    rep(i,N-1) {
        sum+=v.at(i);
    }
    int mk=N*M;
    if(mk-sum=>0&&mk-sum<=K) {
        cout<<mk-sum<<endl;
    } 
    else if(mk-sum<0) {
        cout<<0<<endl;
    }
    else cout<<-1<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:15: error: expected primary-expression before '>' token
   26 |     if(mk-sum=>0&&mk-sum<=K) {
      |               ^
Language: C++

c = str(input())
alpha =["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]
ind = int(alpha.index(c))
ind1 = ind + 1
res = alpha[ind1]
print(res)

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

#include<iostream>
#include <stdio.h>
#include <string>
int main(void)
{
	int i = 0;
	string s = "abcdefghijklmnopqrstuvwxyz";
	char t;
	cin >> t;

	for (i = 0; i < 100; i++)
	{
		if (t == s.at(i))
			break;
	}
	cout << s.at(i+1) << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string s = "abcdefghijklmnopqrstuvwxyz";
      |         ^~~~~~
a.cc:7: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:9:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |         cin >> t;
      |         ^~~
      |         std::cin
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:13:26: error: 's' was not declared in this scope
   13 |                 if (t == s.at(i))
      |                          ^
a.cc:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout << s.at(i+1) << 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:16:17: error: 's' was not declared in this scope
   16 |         cout << s.at(i+1) << endl;
      |                 ^
a.cc:16:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   16 |         cout << s.at(i+1) << endl;
      |                              ^~~~
      |                              std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

int main() {
  char C;
  cin >> C
  cout << ++C << endl;
}


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

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

typedef vector<int > vi;
typedef vector< vi > vvi;
typedef pair< int, int > ii;
#define sz(a)  int((a).size())
#define pb push_back
#define all(c) (c).begin(),(c).end()
#define tr(c,i) for(typeof((c).begin() i = (c).begin(); i != (c).end(); i++)
#define present(c,x) ((c).find(x) != (c).end())
#define cpresent(c,x) (find(all(c),x) != (c).end())
#define forn(i,n) for(int i=0;i<n;++i)
#define foru(i,n) for(int i=1;i<=n;++i)
#define fortr(i,v) for(auto &i:v)
#define set(n) __builtin_popcount(n)
#define ll long long
#define MOD 1000000007

int main()
{
	char a;
  cin>>a;
  cout<<a+'b'-'a'<<endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:24: error: expected ';' before '}' token
   24 |   cout<<a+'b'-'a'<<endl
      |                        ^
      |                        ;
   25 | }
      | ~
Language: C++

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

int main(){
    char c;
    cin>>c;
    c+=1;
    cout<< c <<endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:20: error: expected ';' before '}' token
    9 |     cout<< c <<endl
      |                    ^
      |                    ;
   10 | }
      | ~
Language: Java

import java.util.*;


public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String line = sc.nextLine();
        System.out.println(ret(line));
    }
    static int ret(String line){
        char c=line.charAt(0);
        c=(char)((int)c+1);
        return String.valueOf(c);
    }
}

Compiler output:
Main.java:13: error: incompatible types: String cannot be converted to int
        return String.valueOf(c);
                             ^
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define lol long long
int main(){
  int n,b,a;
  char s,t;
  cin>>s;
  t=s+1;
  cout<<t<<"\n";
  return(0);

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

cout#include <bits/stdc++.h>

using namespace std;
using ll=long long;

#define faster ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
#define cint int t;cin>>t;while(t--)
#define rep(i,a,b) for(int i=a;i<b;i++)

int mod=1e9+7;

int main(){
    faster;

	char c;
	cin>>c;
	
	cout<<c+1<<endl;
}


Compiler output:
a.cc:1:5: error: stray '#' in program
    1 | cout#include <bits/stdc++.h>
      |     ^
a.cc:1:1: error: 'cout' does not name a type
    1 | cout#include <bits/stdc++.h>
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:16: error: 'ios_base' has not been declared
    6 | #define faster ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
      |                ^~~~~~~~
a.cc:13:5: note: in expansion of macro 'faster'
   13 |     faster;
      |     ^~~~~~
a.cc:6:49: error: 'cin' was not declared in this scope; did you mean 'cint'?
    6 | #define faster ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
      |                                                 ^~~
a.cc:13:5: note: in expansion of macro 'faster'
   13 |     faster;
      |     ^~~~~~
a.cc:6:57: error: 'NULL' was not declared in this scope
    6 | #define faster ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
      |                                                         ^~~~
a.cc:13:5: note: in expansion of macro 'faster'
   13 |     faster;
      |     ^~~~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | cout#include <bits/stdc++.h>
a.cc:6:63: error: 'cout' was not declared in this scope
    6 | #define faster ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL)
      |                                                               ^~~~
a.cc:13:5: note: in expansion of macro 'faster'
   13 |     faster;
      |     ^~~~~~
a.cc:18:20: error: 'endl' was not declared in this scope
   18 |         cout<<c+1<<endl;
      |                    ^~~~
Language: C++

#include <stdlib.h>
#include <algorithm>
using namespace std;

int main() {
  string alpha="abcdefghijklmnopqrstuvwxyz";
  char c;
  cin >> c;
  
  for(int i=0;i<25;i++){
    if(c==alpha[i])
      cout << alpha[i+1] << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string alpha="abcdefghijklmnopqrstuvwxyz";
      |   ^~~~~~
a.cc:3:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    2 | #include <algorithm>
  +++ |+#include <string>
    3 | using namespace std;
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> c;
      |   ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include <algorithm>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:11:11: error: 'alpha' was not declared in this scope
   11 |     if(c==alpha[i])
      |           ^~~~~
a.cc:12:7: error: 'cout' was not declared in this scope
   12 |       cout << alpha[i+1] << endl;
      |       ^~~~
a.cc:12:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:29: error: 'endl' was not declared in this scope
   12 |       cout << alpha[i+1] << endl;
      |                             ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include <algorithm>
  +++ |+#include <ostream>
    3 | using namespace std;
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		char a = sc.nextchar();
		char b = 'a';
		String s = "abcdefghijklmnopqrstuvwxyz";
       
        for(int i=0;i<25;i++){if(a == s.charAt(i)){b=s.charAt(i+1);break;
                                                 }
                            }
      
		System.out.println(b);
	}
}


Compiler output:
Main.java:5: error: cannot find symbol
		char a = sc.nextchar();
		           ^
  symbol:   method nextchar()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

public class MainA {
    public static void main(String[] args) {
        List<String> list = Arrays.asList(
                "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"
        );

        Scanner scanner = new Scanner(System.in);
        String input = scanner.next().toLowerCase();

        int i = list.indexOf(input);
        System.out.println(list.get(i + 1));
    }
}

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

#include<iostream.h>
using namespace std;
int main()
{
  char c;
  cin>>c;
  if(c!='z')
    cout<<c+1;
  return(0);
}


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

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

int main(){
    char c;
    cin>>c;
    c+=1;
    c-="a";
    cout<< c <<endl
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: invalid operands of types 'char' and 'const char*' to binary 'operator-'
    9 |     c-="a";
      |     ~^~~~~
a.cc:9:6: note:   in evaluation of 'operator-=(char, const char*)'
a.cc:10:20: error: expected ';' before '}' token
   10 |     cout<< c <<endl
      |                    ^
      |                    ;
   11 | }
      | ~
Language: C

#include<stdio.h>

int main(){
  char c;
  scanf( "%s", &s );
  printf("%s", s++ );
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:17: error: 's' undeclared (first use in this function)
    5 |   scanf( "%s", &s );
      |                 ^
main.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <bits/stdc++.h>
using namespace std;
#define ote(x) cout<<(x)<<endl
#define all(x) (x).begin(),(x).end()
#define rp(i,s,e) for(int i=(s);i<(e);++i)

int main(){
	char c;
	cin>>c;
	printf("%c\n",c+1);
}


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 <stdio.h>

int main(){
  char a;
  
  getc(&a);
  a++;
  
  printf("%c"),a);
}


Compiler output:
main.c: In function 'main':
main.c:6:8: error: passing argument 1 of 'getc' from incompatible pointer type [-Wincompatible-pointer-types]
    6 |   getc(&a);
      |        ^~
      |        |
      |        char *
In file included from main.c:1:
/usr/include/stdio.h:576:24: note: expected 'FILE *' but argument is of type 'char *'
  576 | extern int getc (FILE *__stream) __nonnull ((1));
      |                  ~~~~~~^~~~~~~~
main.c:9:17: error: expected ';' before ')' token
    9 |   printf("%c"),a);
      |                 ^
      |                 ;
main.c:9:17: error: expected statement before ')' token
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		char a = sc.next();
		char b = 'a';
		String s = "abcdefghijklmnopqrstuvwxyz";
       
        for(int i=0;i<25;i++){if(a == s.charAt(i)){b=s.charAt(i+1);break;
                                                 }
                            }
      
		System.out.println(b);
	}
}


Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to char
		char a = sc.next();
		                ^
1 error
Language: C++

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

int main() {
	int c = 0;
	char s = 'a';
	cin >> s;
	c = (int)s;
	s = (char)c + 1;
	cout << s << endl;
	return 0;
}

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

int main()
{
    char a;
    std::cin >> a;
    a++;
    std::cout << a;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' is not a member of 'std'
    4 |     std::cin >> a;
      |          ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | int main()
a.cc:6:10: error: 'cout' is not a member of 'std'
    6 |     std::cout << a;
      |          ^~~~
a.cc:6:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<iostream>
using namespace std;

int main() {
  char c;
  cin >> c;
  cout << (char)(c+1）<<endl;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:7:20: error: unable to find numeric literal operator 'operator""\U0000ff09'
    7 |   cout << (char)(c+1）<<endl;
      |                    ^~~
a.cc:7:29: error: expected ')' before ';' token
    7 |   cout << (char)(c+1）<<endl;
      |                 ~           ^
      |                             )
Language: C++

#include<iostream>
using namespace std;
int main(){
	char c;
	cin>>c;
	cout<<(char)(c+1;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: expected ')' before ';' token
    6 |         cout<<(char)(c+1;
      |                     ~   ^
      |                         )
Language: C++

#include"libraries.h"
#include<bits/stdc++.h>
#define lli long long
#define all(i) i.begin(),i.end()
#define rall(i) i.rbegin(),i.rend()
#define rep0(i,j) for(int i=0;i<j;i++)
#define rep1(i,j) for(int i=1;i<=j;i++)
#define rep0d(i,j) for(int i=j-1;i>=0;i--)
#define MOD 1000000007
 
using namespace std;
int main(){
    char s;
    scanf("%c", &s);
    cout << (char)(s+1);

}

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

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

int main() {
  string c;
  cin >> c;
  string S ="abcdefghijklmnopqrstuvwxyz";
  for(int i=0; i<25; i++){
  	if(c == s[i]) {
      cout << s[i+1] << endl;
      return 0;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: 's' was not declared in this scope
    9 |         if(c == s[i]) {
      |                 ^
Language: C++

#include<bits/stdc++.h>
using nanmespace std;
int main(){
  char a;
  cin >> a;
  int j = a+1;
  cout << (char)j;
  return 0;
}

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

void main()
{
    char a;
    std::cin >> a;
    a++;
    std::cout << a;
}


Compiler output:
a.cc:1:1: error: '::main' must return 'int'
    1 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' is not a member of 'std'
    4 |     std::cin >> a;
      |          ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | void main()
a.cc:6:10: error: 'cout' is not a member of 'std'
    6 |     std::cout << a;
      |          ^~~~
a.cc:6:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

int main(){
	char c;
  cin>>c;
  c++;
	cout<<c;
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nmaespace'
    2 | using nmaespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>c;
      |   ^~~
      |   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:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout<<c;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

int main() {
  string c;
  cin >> c;
  string S ="abcdefghijklmnopqrstuvwxyz"
  for(int i=0; i<25; i++){
  	if(c == s[i]) {
      cout << s[i+1] << endl;
      return 0;
    }
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'for'
    8 |   for(int i=0; i<25; i++){
      |   ^~~
a.cc:8:16: error: 'i' was not declared in this scope
    8 |   for(int i=0; i<25; i++){
      |                ^
Language: Java

import java.util.Scanner;
import java.io.InputStreamReader;
import java.io.BufferedReader;
 
public class Template {
    
    public static void main(String[] args) {
        Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
        String s = in.nextLine(); // Scanner has functions to read ints, longs, strings, chars, etc.

        System.out.println((char) (s.charAt(0) + 1));
    }
}

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

#include <iostream>
using namespace std;
int main () {
  	char s;
	cin >> s;
  	s +=;
  	cout << s <<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected primary-expression before ';' token
    6 |         s +=;
      |             ^
Language: C++

#include<iostream>
using namespace std;
 
void main(){
	char c;
  cin>>c;
  char d = c+1;
  cout<<d;
  return;
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:9:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
    9 |   return;
      |   ^~~~~~
Language: C++

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


Compiler output:
a.cc:15:5: error: redefinition of 'int main()'
   15 | int main() {
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main() {
      |     ^~~~
Language: C

#include <stdio.h>

int main(){
  char a;
  
  scanf("%c",&a);
  a++;
  
  printf("%c"),a);
}

Compiler output:
main.c: In function 'main':
main.c:9:17: error: expected ';' before ')' token
    9 |   printf("%c"),a);
      |                 ^
      |                 ;
main.c:9:17: error: expected statement before ')' token
Language: C++

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <functional>
#include <map>
#include <queue>
#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <cassert>

#define ALL(V) (V).begin(),(V).end()

using namespace std;

typedef pair<int,int> ii_t;

#define MAX 100010
#define RMAX 1000
char is_prime[MAX];
#define PMAX 100000
int prime[PMAX];

int main() {
    int n;
    string buf;
    cin>>buf;
    buf[0]++;
    
    cout << buf << endl;
    return 0;
}
ra

Compiler output:
a.cc:36:1: error: 'ra' does not name a type
   36 | ra
      | ^~
Language: C++

# /usr/bin/python3
# -*- coding: utf-8 -*-
from queue import Queue
from queue import LifoQueue as Stack
from math import sqrt
from fractions import gcd

def lcm(a, b):
    return (a*b) // gcd(a,b)

def intinput():
    return int(input())

def mulinputs():
    return map(int,input().split())

def lineinputs(func=intinput):
    datas = []
    while True:
        try:
            datas.append(func())
        except EOFError:
            break
    return datas



# N = intinput()
S = input()
# A, B, C, D, E, F = mulinputs()
# datas = list(mulinputs())
# datas = lineinputs(input)
print(chr(ord(S)+1))




Compiler output:
a.cc:1:3: error: invalid preprocessing directive #/
    1 | # /usr/bin/python3
      |   ^
a.cc:2:3: error: invalid preprocessing directive #-
    2 | # -*- coding: utf-8 -*-
      |   ^
a.cc:28:3: error: invalid preprocessing directive #N
   28 | # N = intinput()
      |   ^
a.cc:30:3: error: invalid preprocessing directive #A
   30 | # A, B, C, D, E, F = mulinputs()
      |   ^
a.cc:31:3: error: invalid preprocessing directive #datas
   31 | # datas = list(mulinputs())
      |   ^~~~~
a.cc:32:3: error: invalid preprocessing directive #datas
   32 | # datas = lineinputs(input)
      |   ^~~~~
a.cc:3:1: error: 'from' does not name a type
    3 | from queue import Queue
      | ^~~~
Language: C++

#include <iostream>
using namespace std;
int main ()
{
	char C;
	do
	{
	cin>>C;
	}
	while (C!='z');
	cout<<C+1<<endl;
	return 0;


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

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

int main()
{
  char ans;
  
  cin >> ans;
  ans=ans+1;
  
  cout << ans<<endl;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: expected '}' at end of input
   11 |   cout << ans<<endl;
      |                     ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include <iostream>
using namesapce std;

int main(){
	char c;
  cin>> c;
  cout << char(c+1);
	return 0;
}

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

#include"bits/stdc++.h"
using namespace std;
int main(void){
  char s;
  cin>>s;
  ++(int)s;
  cout<<s;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: lvalue required as increment operand
    6 |   ++(int)s;
      |     ^~~~~~
Language: C++

#include<iostream>
using namespace std;

void main(){
	char c;
  cin>>c;
  char d = c+1;
  cout<<d
}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:10: error: expected ';' before '}' token
    8 |   cout<<d
      |          ^
      |          ;
    9 | }
      | ~
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected '}' at end of input
    9 |   cout << a;
      |             ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C

#include<bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
#define INF 10000000001
#define DIM 200001
#define mod 1000000007
#define PI 3.1415926535897932384626433
#define se second
#define fi first
#define pb push_back
#define T true
#define F false
#define endl "\n"
typedef char ch;
typedef bool boll;
typedef string st;
typedef long long ll;
typedef long double ld;
typedef unsigned long long ull;
typedef set < string > sst;
typedef set < long long > sl;
typedef queue < long long > que;
typedef vector < long long > vec;
typedef map < long long, long long > mll;
typedef pair < long long, long long > pll;
typedef vector < pair < long long, long long > > vpl;
typedef pair < long long, unsigned long long > pul;
ll t,n,z,x,c,s;
int main()
{
    fast;
    ch cc;
    cin>>cc;
    cc++;
    cout<<cc<<endl;
}


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

Mino Raiola.#include<bits/stdc++.h>

using namespace std;

int main()
{
    char ch;
    cin>>ch;
    char c=ch+1;
    cout<<c<<endl;
}


Compiler output:
a.cc:1:13: error: stray '#' in program
    1 | Mino Raiola.#include<bits/stdc++.h>
      |             ^
a.cc:1:1: error: 'Mino' does not name a type
    1 | Mino Raiola.#include<bits/stdc++.h>
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:5: error: 'cin' was not declared in this scope
    8 |     cin>>ch;
      |     ^~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<c<<endl;
      |     ^~~~
a.cc:10:14: error: 'endl' was not declared in this scope
   10 |     cout<<c<<endl;
      |              ^~~~
Language: C++

#include<bits/stdc++.h>
#define endl '\n'
#define fastIO ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define int long long int
using namespace std;

int gcd(int a, int b){
    return b == 0 ? a : gcd(b, a%b);
}
int lcm(int a, int b){
    return (a*b)/gcd(a,b);
}

signed main(){

#ifndef ONLINE_JUDGE
    //freopen("input.txt","r", stdin);
#endif

    fastIO

    char c;
    cin >> c;
    cout << (c+1)

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:24:18: error: expected ';' before 'return'
   24 |     cout << (c+1)
      |                  ^
      |                  ;
   25 | 
   26 |     return 0;
      |     ~~~~~~
Language: C++

Scanf.scanf "%c" (fun a -> let r = int_of_char a + 1 |> char_of_int in Printf.printf "%c\n" r)

Compiler output:
a.cc:1:1: error: 'Scanf' does not name a type
    1 | Scanf.scanf "%c" (fun a -> let r = int_of_char a + 1 |> char_of_int in Printf.printf "%c\n" r)
      | ^~~~~
Language: C++

	printf("%c",c+1);
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i,n) for(ll i = 0; i < n; i++)
#define rep2(i,start,end) for(ll i = start; i < end; i++)
#define dwn(i,n) for(int i = n; i >= 0; i--)
#define dwn2(i,start,end) for(ll i = start; i >= end; i--)
#define pll pair<ll,ll>
#define mk(x,y) make_pair(x,y)
#define pdl pair<double, ll>
const ll N = 4e5 + 200;
const ll INF = 9999999999;
const ll mod = 1e9 + 7;


int main(){
	char c;
	cin>>c;
	printf("%c",c+1);


	return 0;
}





Compiler output:
a.cc:1:15: error: expected constructor, destructor, or type conversion before '(' token
    1 |         printf("%c",c+1);
      |               ^
Language: C++

#include <bits/stdc++.h>
	
using namespace std;
	
#define endl "\n"
#define ll long long
#define vi vector <int >
#define vii vectir < pii >
#define vll vector <ll >
#define pii pair <int, int>
#define pdd pair< double, double>
#define piii pair < pii, int > 
#define pll pair<ll, ll >
#define umap unordered_map
#define pb push_back
#define pq priority_queue
#define forn(i, n) for(int i = 0; i < (int)n; i++)
#define rep(i,b,c) for(int i = (int)b; i < (int)c; i++)
#define a first
#define b second

int main(){
	ios::sync_with_stdio(0),cin.tie(0),cout.tie(0);

	cahr c;

	cin >> c;
	cout << c + 1 << endl;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:9: error: 'cahr' was not declared in this scope; did you mean 'char'?
   25 |         cahr c;
      |         ^~~~
      |         char
a.cc:27:16: error: 'c' was not declared in this scope
   27 |         cin >> c;
      |                ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS
#define _USE_MATH_DEFINES
#include "bits/stdc++.h"
#include <intrin.h>

#define fore(i,a,b) for(int i = a; i < (b); i++)
#define fr(i,a,b) for(int i = a - 1; i >= b; i--)
#define fast ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
#define N 300005
#define inf 2000000000
#define MOD (ll)1e15
#define __builtin_popcount(x) __popcnt(x)

using namespace std;

typedef long long ll;
typedef pair<int, int> pr;
typedef pair<pair<int, int>, int> tup;

inline void solve()
{
	char a;
	cin >> a;
	cout << (char)(++a);
}

int main()
{
	fast;
#if defined(_DEBUG)
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
	solve();
}

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

fun main(args: Array<String>) {
  val C = readString()
  val c = C[0]
  println(c + 1)
}

fun readString() = readLine()!!
fun readStrings() = readString().split(" ")
fun readInt() = readString().toInt()
fun readInts() = readStrings().map { it.toInt() }
fun readLongs() = readStrings().map { it.toLong() }


Compiler output:
a.cc:1:1: error: 'fun' does not name a type
    1 | fun main(args: Array<String>) {
      | ^~~
a.cc:7:1: error: 'fun' does not name a type
    7 | fun readString() = readLine()!!
      | ^~~
a.cc:11:1: error: 'fun' does not name a type
   11 | fun readLongs() = readStrings().map { it.toLong() }
      | ^~~
Language: C++

#include<iostream>
char a;
int main(void)
{
	cin >> a;
  	cout << a+1;
}

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

#include <bits/stdc++.h>
#define rep(i,a,b) for (int i = a; i < (b); ++i)
#define trav(a, x) for (auto &a : x)
#define sz(x) (int)x.size()
#define all(x) x.begin(), x.end()
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int > pii;
using graph = vector<vi>;
using namespace std;

main(){
    cin.sync_with_stdio(0); cin.tie(0); cout.tie(0);
    cin.exceptions(cin.failbit);
    char c;
    cin >> c;
    cout << c + 1 << '\n';
}

Compiler output:
a.cc:7:9: error: 'vector' does not name a type
    7 | typedef vector<int> vi;
      |         ^~~~~~
a.cc:8:9: error: 'pair' does not name a type
    8 | typedef pair<int, int > pii;
      |         ^~~~
a.cc:9:15: error: 'vector' does not name a type
    9 | using graph = vector<vi>;
      |               ^~~~~~
a.cc:12:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   12 | main(){
      | ^~~~