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

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

int main(){
  int n;
  cin >> n;
　　string S = "Christmas";
   string s = " Eve";
  if(n == 25) cout<< S << endl;
  else if(n == 24) cout << S << s << endl;
   else if(n == 23) cout << S + s + s << endl;
   else if(n == 22) cout << S + s + s + s << endl;
  
  
}

Compiler output:
a.cc:9:1: error: extended character 　 is not valid in an identifier
    9 | 　　string S = "Christmas";
      | ^
a.cc:9:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:9:1: error: '\U00003000\U00003000string' was not declared in this scope
    9 | 　　string S = "Christmas";
      | ^~~~~~~~~~
a.cc:11:22: error: 'S' was not declared in this scope
   11 |   if(n == 25) cout<< S << endl;
      |                      ^
a.cc:12:28: error: 'S' was not declared in this scope
   12 |   else if(n == 24) cout << S << s << endl;
      |                            ^
a.cc:13:29: error: 'S' was not declared in this scope
   13 |    else if(n == 23) cout << S + s + s << endl;
      |                             ^
a.cc:14:29: error: 'S' was not declared in this scope
   14 |    else if(n == 22) cout << S + s + s + s << endl;
      |                             ^
Language: C++

#include<iostream>
using namespace std ;

int main()
{
  int D ;
  cin>>D ;
  cout<<"Christmas"<<endl ;
  for(D!=25;D++) cout<<" Eve"<<endl ;
  
  return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before ')' token
    9 |   for(D!=25;D++) cout<<" Eve"<<endl ;
      |                ^
      |                ;
Language: C++

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

int main() {
  int d;
  scanf("%d",&d);
  string s="Christmas";
  for(i=25;i>d;i--) s+=" Eve";
  printf("%s",s);
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:7: error: 'i' was not declared in this scope
   10 |   for(i=25;i>d;i--) s+=" Eve";
      |       ^
Language: C++

#include<bits/stdc++.h>
 using namespace std;
int main(){
  int d;
  cin >> d;
  string res ="Christmas Eve Eve Eve";
  if (d == 23) {
    res = "Christmas Eve Eve";
  } else if (d == 24) {
    res ="Christmas Eve";
  } else if (d == 25) {
    res = "Christmas"
  }


  cout << res << "\n";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: expected ';' before '}' token
   12 |     res = "Christmas"
      |                      ^
      |                      ;
   13 |   }
      |   ~
Language: C++

D = input()
if D == 25:
    print "Christmas"
if D == 24:
    print "Christmas Eve"
if D == 23:
    print "Christmas Eve Eve"
if D == 22:
    print "Christmas Eve Eve Eve"


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

D = int(input())
if D == 25:
  print("Critstmas")
elif D == 24:
  print("Critstmas Eve")
elif D == 23:
  print("Critstmas Eve Eve")
elif D == 22:
  print("Critsmats Eve Eve Eve")


Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | D = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'D' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | D = int(input())
      |     ^~~
Language: C

D = int(input())
if D == 25:
  print("Critstmas")
elif D == 24:
  print("Critstmas Eve")
elif D == 23:
  print("Critstmas Eve Eve")
elif D == 22:
  print("Critsmats Eve Eve Eve")

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | D = int(input())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'D' [-Wimplicit-int]
main.c:1:5: error: expected expression before 'int'
    1 | D = int(input())
      |     ^~~
Language: C++

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

int main(){
  ios::sync_with_stdio(False);
  cin.tie(nullptr);
  int D;
  cin >> D;
  switch(D){
    case 22: cout << "Christmas Eve Eve Eve"; break;
    case 23: cout << "Christmas Eve Eve"; break;
    case 24: cout << "Christmas Eve"; break;
    case 25: cout << "Christmas"; break;
      
  }
	return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: 'False' was not declared in this scope
    6 |   ios::sync_with_stdio(False);
      |                        ^~~~~
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC
{
	class Program
	{
		static void Main(string[] args)
		{
			int D;
			D = int.Parse(Console.ReadLine());
			string s = "Crisutmas";
			for (int i = 0; i < 25 - D; i++)
			{
				s += " Eve";
			}
			Console.WriteLine(s);

			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:34: error: 'string' has not been declared
   11 |                 static void Main(string[] args)
      |                                  ^~~~~~
a.cc:11:43: error: expected ',' or '...' before 'args'
   11 |                 static void Main(string[] args)
      |                                           ^~~~
a.cc:24:10: error: expected ';' after class definition
   24 |         }
      |          ^
      |          ;
a.cc: In static member function 'static void ABC::Program::Main(int*)':
a.cc:14:29: error: expected primary-expression before 'int'
   14 |                         D = int.Parse(Console.ReadLine());
      |                             ^~~
a.cc:15:25: error: 'string' was not declared in this scope
   15 |                         string s = "Crisutmas";
      |                         ^~~~~~
a.cc:18:33: error: 's' was not declared in this scope
   18 |                                 s += " Eve";
      |                                 ^
a.cc:20:25: error: 'Console' was not declared in this scope
   20 |                         Console.WriteLine(s);
      |                         ^~~~~~~
a.cc:20:43: error: 's' was not declared in this scope
   20 |                         Console.WriteLine(s);
      |                                           ^
Language: C++

#include <bits/stdc++.h>
#define fast std::ios_base::sync_with_stdio(false); cin.tie(0);cout.tie(0);
using namespace std;

void solve(){
    int x;
    cin>>x;
    if(x==25)
    cout<<"Christmas";
    else if(x==24)
      cout<<"Christmas Eve";
    else if(x==23)
       cout<<"Christmas Eve Eve";
    else 
    cout<<"Christmas Eve Eve Eve"
}
int main()
{
    fast
    solve();
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:15:34: error: expected ';' before '}' token
   15 |     cout<<"Christmas Eve Eve Eve"
      |                                  ^
      |                                  ;
   16 | }
      | ~
Language: C++

#include <bits/stdc++.h>
#define fast std::ios_base::sync_with_stdio(false); cin.tie(0);cout.tie(0);
using namespace std;

void solve(){
    cin>>x;
    if(x==25)
    cout<<"Christmas";
    else if(x==24)
      cout<<"Christmas Eve";
    else if(x==23)
       cout<<"Christmas Eve Eve";
    else 
    cout<<"Christmas Eve Eve Eve"
}
int main()
{
    fast
    solve();
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:6:10: error: 'x' was not declared in this scope
    6 |     cin>>x;
      |          ^
a.cc:14:34: error: expected ';' before '}' token
   14 |     cout<<"Christmas Eve Eve Eve"
      |                                  ^
      |                                  ;
   15 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for (int i = 0; i < (n); ++i)
#define Cout(s) cout << s << endl;
using ll = long long;
using P = pair<int, int>;
#define INF 10000000;

ll MOD = 1e9 + 7;

int main()
{

    ll n, k;
    cin >> n >> k;

    vector<int> h(n);
    REP(i, n)
    cin >> h[i];

    sort(h.begin(), h.end());

    ll ans = a[k - 1] - a[0];
    for (int i = 0; i < n; i++)
    {
        ll t = h[i + k - 1] - h[i];
        ans = min(ans, t);
        if (k + i - 1 == n - 1)
            break;
    }
    Cout(ans);

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:14: error: 'a' was not declared in this scope
   23 |     ll ans = a[k - 1] - a[0];
      |              ^
Language: C

#include <bits/stdc++.h>
#define rep(i,n) for(int64_t i=0;i < (int64_t)(n);i++)
#define invrep(i,n) for(int64_t i=n-1;i >= 0L;i--)
#define prep(i,n) for(int64_t i=1;i <= (int64_t)(n);i++)
using namespace std;

//////全探索したいときに開けよ////////
vector<vector<int>> fspattern;
vector<int> fspattern_draft;
int fspcnt = 0;

void setfspattern_core(int floor,int number,int degree){
  if(floor==degree){
    fspattern.at(fspcnt) = fspattern_draft;
    fspcnt++;
  }else{
    rep(i,number){
      fspattern_draft.at(floor) = i;
      setfspattern_core(floor+1,number,degree);
    }
  }
}

void setfspattern(int number,int degree){
  int64_t array_num = 1;
  fspcnt = 0;
  rep(i,degree){
    array_num *= number;
  }
  fspattern = vector<vector<int>>(array_num,vector<int>(degree));
  fspattern_draft = vector<int>(degree);
  setfspattern_core(0,number,degree);
}

//////nCrのmodを求めたいときに開けよ/////////
//int64_t univMod = 1000000007;
//int64_t factnum = 100000
//vector<int64_t> modfact(factnum);
//vector<int64_t> modinvfact(factnum);

/*void setmodfact(){
  for(int i=0;i<factnum;i++){
    if(i == 0){
      modfact.at(i) = 1;
    }else{
      modfact.at(i) = (modfact.at(i-1)*i)%univMod;
    }
  }
}

int64_t calcmodpower(int64_t a,int64_t n){
  int64_t res = 1;
  while(n != 0){
    if(n & 1){
      res = (res * a) % univMod;
    }
    a = (a*a) % univMod;
    n = n >> 1;
  }
  return res;
}

int64_t calcinverse(int64_t n){
	return calcmodpower(n,univMod-2);
}

void setmodinvfact(){
  for(int i=0;i<factnum;i++){
    if(i==0){
      modinvfact.at(i) = 1;
    }else{
      modinvfact.at(i) = calcmodpower(modfact.at(i),univMod-2);
    }
  }
}

int64_t calcmodcomb(int64_t n,int64_t r){
  return (((modfact.at(n)*modinvfact.at(r))%univMod)*modinvfact.at(n-r))%univMod;
}

int64_t calcmodpositive(int64_t n){
  return (n + ((abs(n)+univMod-1)/univMod)*univMod)%univMod;
}
  
    */


/*
int64_t calcGCD(int64_t a,int64_t b){
	int64_t p = a;
	int64_t q = b;
	int64_t c = a%b;
	while(c != 0){
		p = q;
		q = c;
		c = p%q;
	}
	return q;
}
*/

int main(){
  int d;
  cin >> d;
  cout << "Christmas ";
  rep(i,25-d){
    cout << "Eve ";
  }
}

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;
typedef pair<int,int> P;
typedef long long ll;
typedef long double ld;
const int inf=1e9+7;
const ll longinf=1LL<<60;
#define REP(i,m,n) for(int i=(int)(m) ; i < (int) (n) ; ++i )
#define rep(i,n) REP(i,0,n)
#define F first
#define S second
 
const int mx=200010;
const ll mod=1e9+7;

int main(){
  ll n,d,a;
  cin >> n;
  if(n=="25"){ cout << "Christmas" << endl; return 0;}
  if(n=="24"){ cout << "Christmas Eve" << endl; return 0;}
  if(n=="23"){ cout << "Christmas Eve Eve" << endl; return 0;}
  if(n=="22"){ cout << "Christmas Eve Eve Eve" << endl; return 0;}
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |   if(n=="25"){ cout << "Christmas" << endl; return 0;}
      |      ~^~~~~~
a.cc:20:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   20 |   if(n=="24"){ cout << "Christmas Eve" << endl; return 0;}
      |      ~^~~~~~
a.cc:21:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   21 |   if(n=="23"){ cout << "Christmas Eve Eve" << endl; return 0;}
      |      ~^~~~~~
a.cc:22:7: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   22 |   if(n=="22"){ cout << "Christmas Eve Eve Eve" << endl; return 0;}
      |      ~^~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n,all,x;
  cin >> n;
  vector<int>p;
  for(int i=0;i<n;i++){
    cin >> p.at(i);
  }
  all=0;
  for(int i=0;i<n;i++){
    all += p.at(0) 
  }
  x = p.at(0);
  for(int i=1;i<n;i++){
    if(x<=p.at(i)){
      x = p.at(i);
    }
  }
  cout << all - x/2 << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0;i<n;i++)
typedef vector<int> vec;
int main(){
  int n;  cin>>n;
  cout<<"Christmas"<<' ';
  rep(i,25-n) cout<<"Eve"<<' '
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:31: error: expected ';' before '}' token
    8 |   rep(i,25-n) cout<<"Eve"<<' '
      |                               ^
      |                               ;
    9 | }
      | ~
Language: C++

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

int main() {
    int d;
    cin >> d;
    if(D == 25){
        cout << "Christmas" << endl;
    } else if(D == 24){
        cout << "Christmas Eve" << endl;
    } else if (D == 23){
        cout << "Christmas Eve Eve" << endl;
    } else {
        cout << "Christmas Eve Eve Eve" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'D' was not declared in this scope
    7 |     if(D == 25){
      |        ^
Language: Java

import java.util.Arrays;
import java.util.*;
public class Main{
  public static void main(String args[]){
    Scanner sc = new Scanner(System.in);
      int d = sc.nextInt();
      switch(d){
      case 25:
        System.out.println("Christmas");
        break;
      case 24:
        System.out.println("Christmas Eve");
        break;
      case 23:
        System.out.println("Christmas Eve Eve");
        break:
      case 22:
        System.out.println("Christmas Eve Eve Eve")
        
      }
      
      
  }
}


Compiler output:
Main.java:16: error: ';' expected
        break:
             ^
Main.java:18: error: ';' expected
        System.out.println("Christmas Eve Eve Eve")
                                                   ^
2 errors
Language: C++

using System;

namespace ABC115
{
	class Program
	{
		static void Main(string[] args)
		{
			int D;
			string s = "Chrismas ";
			D = int.Parse(Console.ReadLine());

			for (int i = 0; i < 25 - D; i++)

			{
				s += "Eve ";
			}
			Console.WriteLine(s);
			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:7:34: error: 'string' has not been declared
    7 |                 static void Main(string[] args)
      |                                  ^~~~~~
a.cc:7:43: error: expected ',' or '...' before 'args'
    7 |                 static void Main(string[] args)
      |                                           ^~~~
a.cc:21:10: error: expected ';' after class definition
   21 |         }
      |          ^
      |          ;
a.cc: In static member function 'static void ABC115::Program::Main(int*)':
a.cc:10:25: error: 'string' was not declared in this scope
   10 |                         string s = "Chrismas ";
      |                         ^~~~~~
a.cc:11:29: error: expected primary-expression before 'int'
   11 |                         D = int.Parse(Console.ReadLine());
      |                             ^~~
a.cc:16:33: error: 's' was not declared in this scope
   16 |                                 s += "Eve ";
      |                                 ^
a.cc:18:25: error: 'Console' was not declared in this scope
   18 |                         Console.WriteLine(s);
      |                         ^~~~~~~
a.cc:18:43: error: 's' was not declared in this scope
   18 |                         Console.WriteLine(s);
      |                                           ^
Language: C++

#include <iostream>

using namespace std;

int main(){

    int d;
    cin >> d
    
    if (d == 22){
        cout << "Christmas Eve Eve Eve" << endl;
    }
    else if (d == 23){
        cout << "Christmas Eve Eve" << endl;
    }
    else if (d == 24){
        cout << "Christmas Eve" << endl;
    }
    else {
        cout << "Christmas" << endl;
    }

    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: expected ';' before 'if'
    8 |     cin >> d
      |             ^
      |             ;
    9 | 
   10 |     if (d == 22){
      |     ~~       
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else if (d == 23){
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
    ll D;
    cin >> D;
    string ans;
    
    if (D == 25)ans =  "Christmas";
    else if (D == 24)ans = "Chrsitmas Eve";
    else if (D == 23)ans = "Christmas Eve Eve";
    else if (D == 22)ans = "Christmas Eve Eve Eve";
    
    cout << ans << endl;
    
    return 0;
}



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

	static void Main(string[] args)
		{
			int d;
			d = int.Parse(Console.ReadLine());
			string s = "Crisumas";
			for (int i = 0; i < 25 - d; i++)
			{
				s += "Eve";
			}
			Console.WriteLine(s);

			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:1:21: error: variable or field 'Main' declared void
    1 |         static void Main(string[] args)
      |                     ^~~~
a.cc:1:26: error: 'string' was not declared in this scope
    1 |         static void Main(string[] args)
      |                          ^~~~~~
a.cc:1:33: error: expected primary-expression before ']' token
    1 |         static void Main(string[] args)
      |                                 ^
a.cc:14:9: error: expected declaration before '}' token
   14 |         }
      |         ^
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

class Program
	{
		static void Main(string[] args)
		{
			int d;
			d = int.Parse(Console.ReadLine());
			if (d == 25)
			{
				Console.WriteLine("crisumasu");
			}
			else if (d == 24)
			{
				Console.WriteLine("crisumasu ive");
			}
			else 
			{
				Console.WriteLine("crisumasu iveive");
			}
			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:3:34: error: 'string' has not been declared
    3 |                 static void Main(string[] args)
      |                                  ^~~~~~
a.cc:3:43: error: expected ',' or '...' before 'args'
    3 |                 static void Main(string[] args)
      |                                           ^~~~
a.cc:21:10: error: expected ';' after class definition
   21 |         }
      |          ^
      |          ;
a.cc: In static member function 'static void Program::Main(int*)':
a.cc:6:29: error: expected primary-expression before 'int'
    6 |                         d = int.Parse(Console.ReadLine());
      |                             ^~~
a.cc:9:33: error: 'Console' was not declared in this scope
    9 |                                 Console.WriteLine("crisumasu");
      |                                 ^~~~~~~
a.cc:13:33: error: 'Console' was not declared in this scope
   13 |                                 Console.WriteLine("crisumasu ive");
      |                                 ^~~~~~~
a.cc:17:33: error: 'Console' was not declared in this scope
   17 |                                 Console.WriteLine("crisumasu iveive");
      |                                 ^~~~~~~
a.cc:19:25: error: 'Console' was not declared in this scope
   19 |                         Console.ReadKey();
      |                         ^~~~~~~
a.cc: At global scope:
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC115A
{
	class Program
	{
		static void Main(string[] args)
		{
			string n;
			n = Console.ReadLine();

			if (n[0] == '2' && n[1] == '5')
				Console.WriteLine("Christmas");
			else if (n[0] == '2' && n[1] == '4')
				Console.WriteLine("Christmas Eve");
			else if (n[0] == '2' && n[1] == '3')
				Console.WriteLine("Christmas Eve Eve");
			else if (n[0] == '2' && n[1] == '2')
				Console.WriteLine("Christmas Eve Eve Eve");
			else
				Console.WriteLine("バジリスクタイム");
			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before 'System'
    4 | using System.Text;
      |       ^~~~~~
a.cc:5:7: error: expected nested-name-specifier before 'System'
    5 | using System.Threading.Tasks;
      |       ^~~~~~
a.cc:11:34: error: 'string' has not been declared
   11 |                 static void Main(string[] args)
      |                                  ^~~~~~
a.cc:11:43: error: expected ',' or '...' before 'args'
   11 |                 static void Main(string[] args)
      |                                           ^~~~
a.cc:28:10: error: expected ';' after class definition
   28 |         }
      |          ^
      |          ;
a.cc: In static member function 'static void ABC115A::Program::Main(int*)':
a.cc:13:25: error: 'string' was not declared in this scope
   13 |                         string n;
      |                         ^~~~~~
a.cc:14:25: error: 'n' was not declared in this scope
   14 |                         n = Console.ReadLine();
      |                         ^
a.cc:14:29: error: 'Console' was not declared in this scope
   14 |                         n = Console.ReadLine();
      |                             ^~~~~~~
Language: C++

static void Main(string[] args)
		{
			int d;
			d = int.Parse(Console.ReadLine());
			if (d == 25)
			{
				Console.WriteLine("crisumasu");
			}
			else if (d == 24)
			{
				Console.WriteLine("crisumasu ive");
			}
			else if (d == 23)
			{
				Console.WriteLine("crisumasu iveive");
			}
			Console.ReadKey();
		}
	}
}


Compiler output:
a.cc:1:13: error: variable or field 'Main' declared void
    1 | static void Main(string[] args)
      |             ^~~~
a.cc:1:18: error: 'string' was not declared in this scope
    1 | static void Main(string[] args)
      |                  ^~~~~~
a.cc:1:25: error: expected primary-expression before ']' token
    1 | static void Main(string[] args)
      |                         ^
a.cc:19:9: error: expected declaration before '}' token
   19 |         }
      |         ^
a.cc:20:1: error: expected declaration before '}' token
   20 | }
      | ^
Language: Java

import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Christmas_Eve_Eve {
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String shown = "Christmas";
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));


    while (true) {
      try {
        System.out.print("Input arbitraly number:");
        int num = scan.nextInt();
        if (num >= 22 && num <= 25) {
          for (int i = 0; i < 25 - num; i++) {
            shown += " Eve";
          }
          System.out.println(shown);
          shown = "Christmas";
        }
      } catch (java.util.InputMismatchException e) {
        e.printStackTrace();
      }

      try {
        System.out.print("Wanna quit? (y / n)");
        String str = reader.readLine();
        if (str.equals("y")) {
          break;
        }
      } catch (IOException e) {
        e.printStackTrace();
      }
    }
  }
}


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

# include<bits/stdc++.h>
using namespace std;
int main(){
	int d;
    cin >>d;
    if (d==25):
    	cout << "Christmas"<<'\n';
    else if (d==24):
		cout << "Christmas Eve"<<'\n';
    else if (d==23):
		cout << "Christmas Eve Eve"<<'\n';
    else cout << "Christmas Eve Eve Eve"<<'\n';
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before ':' token
    6 |     if (d==25):
      |               ^
a.cc:8:20: error: expected primary-expression before ':' token
    8 |     else if (d==24):
      |                    ^
a.cc:10:20: error: expected primary-expression before ':' token
   10 |     else if (d==23):
      |                    ^
Language: C++

# include<bits/stdc++.h>
using namespace std;
int main(){
	int d;
    cin >>d;
    if (d==25):
    	cout << 'Christmas'<<'\n';
    else if (d==24):
		cout << 'Christmas Eve'<<'\n';
    else if (d==23):
		cout << 'Christmas Eve Eve'<<'\n';
    else cout << 'Christmas Eve Eve Eve'<<'\n';
	return 0;
}

Compiler output:
a.cc:7:17: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    7 |         cout << 'Christmas'<<'\n';
      |                 ^~~~~~~~~~~
a.cc:9:25: warning: multi-character literal with 13 characters exceeds 'int' size of 4 bytes
    9 |                 cout << 'Christmas Eve'<<'\n';
      |                         ^~~~~~~~~~~~~~~
a.cc:11:25: warning: multi-character literal with 17 characters exceeds 'int' size of 4 bytes
   11 |                 cout << 'Christmas Eve Eve'<<'\n';
      |                         ^~~~~~~~~~~~~~~~~~~
a.cc:12:18: warning: multi-character literal with 21 characters exceeds 'int' size of 4 bytes
   12 |     else cout << 'Christmas Eve Eve Eve'<<'\n';
      |                  ^~~~~~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:15: error: expected primary-expression before ':' token
    6 |     if (d==25):
      |               ^
a.cc:8:20: error: expected primary-expression before ':' token
    8 |     else if (d==24):
      |                    ^
a.cc:10:20: error: expected primary-expression before ':' token
   10 |     else if (d==23):
      |                    ^
Language: C++

d = input()

date = int(d)
if (date == 25):
  print('Christmas')
elif (date == 22):
  print('Christmas Eve')
elif (date == 23):
  print('Christmas Eve Eve')
elif (date == 22):
  print('Christmas Eve Eve Eve')

Compiler output:
a.cc:5:9: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    5 |   print('Christmas')
      |         ^~~~~~~~~~~
a.cc:7:9: warning: multi-character literal with 13 characters exceeds 'int' size of 4 bytes
    7 |   print('Christmas Eve')
      |         ^~~~~~~~~~~~~~~
a.cc:9:9: warning: multi-character literal with 17 characters exceeds 'int' size of 4 bytes
    9 |   print('Christmas Eve Eve')
      |         ^~~~~~~~~~~~~~~~~~~
a.cc:11:9: warning: multi-character literal with 21 characters exceeds 'int' size of 4 bytes
   11 |   print('Christmas Eve Eve Eve')
      |         ^~~~~~~~~~~~~~~~~~~~~~~
a.cc:1:1: error: 'd' does not name a type
    1 | d = input()
      | ^
Language: C++

d = input()

date = int(d)
if (date == 25):
  print('CHristmas')
elif (date == 22):
  print('CHristmas Eve')
elif (date == 23):
  print('CHristmas Eve Eve')
elif (date == 22):
  print('CHristmas Eve Eve Eve')

Compiler output:
a.cc:5:9: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    5 |   print('CHristmas')
      |         ^~~~~~~~~~~
a.cc:7:9: warning: multi-character literal with 13 characters exceeds 'int' size of 4 bytes
    7 |   print('CHristmas Eve')
      |         ^~~~~~~~~~~~~~~
a.cc:9:9: warning: multi-character literal with 17 characters exceeds 'int' size of 4 bytes
    9 |   print('CHristmas Eve Eve')
      |         ^~~~~~~~~~~~~~~~~~~
a.cc:11:9: warning: multi-character literal with 21 characters exceeds 'int' size of 4 bytes
   11 |   print('CHristmas Eve Eve Eve')
      |         ^~~~~~~~~~~~~~~~~~~~~~~
a.cc:1:1: error: 'd' does not name a type
    1 | d = input()
      | ^
Language: C

#include<stdio.h>
int main(){
  int a;
  scanf("%d",&a);
  printf("Christmas");
  for(int i=25; i>d; i--){
    printf(" Eve");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:19: error: 'd' undeclared (first use in this function)
    6 |   for(int i=25; i>d; i--){
      |                   ^
main.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a;cin>>>a;
  cout<<"Christmas ";
  for(int i=24;i>=a;i--){
    cout<<"Eve ";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:14: error: expected primary-expression before '>' token
    4 |   int a;cin>>>a;
      |              ^
Language: C++

//#include "stdafx.h"
#include <iostream>
#include <set>
#include <queue>
#include <vector>
#include <algorithm>
#include <math.h>
#include <cmath>
#include <string>
#include <cstring>
#include <climits>
#include <sstream>
#include <iomanip>
#include <map>
#include <stack>
#include <tuple>
#include <numeric>
#include <assert.h>
#include <functional>
#include <unordered_map>

using namespace std;

/*-----------------------------------------------------------------------------
　定義
 -------------------------------------------------------------------------------*/
#define REP(i, n)				for (int (i) = 0 ; (i) < (int)(n) ; ++(i))
#define REPN(i, m, n)			for (int (i) = m ; (i) < (int)(n) ; ++(i))
#define INF						2e9
#define MOD						(1000 * 1000 * 1000 + 7)
#define Ceil(x, n)				(((((x))+((n)-1))/n))		/* Nの倍数に切り上げ割り算 */
#define CeilN(x, n)				(((((x))+((n)-1))/n)*n)		/* Nの倍数に切り上げ */
#define FloorN(x, n)			((x)-(x)%(n))				/* Nの倍数に切り下げ */
#define IsOdd(x)				(((x)&0x01UL) == 0x01UL)			
#define IsEven(x)				(!IsOdd((x)))						
#define	BitSetV(Val,Bit)		((Val) |= (Bit))			
#define	BitTstV(Val,Bit)		((Val) & (Bit))				
#define ArrayLength(x)			(sizeof( x ) / sizeof( x[ 0 ]))
#define	MAX_QWORD				((QWORD)0xFFFFFFFFFFFFFFFF)
#define M_PI					3.14159265358979323846
typedef long long				ll;
typedef unsigned long long int	QWORD;
typedef pair<ll, ll>			P;

/*-----------------------------------------------------------------------------
　処理
 -------------------------------------------------------------------------------*/
int main()
{
	cin >> N;
	string str[4] = {"Christmas Eve Eve Eve", "Christmas Eve Eve", "Christmas Eve", "Christmas"};
	cout << str[N - 22] << endl;
	return 0;
}


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

#include<iostream>
#include<vector>
#include<algorithm>
#include<stdio.h>
#include<string>
#include<cmath>
#include<cstdio>
#include<set>
#include<map>
#include<iomanip>

using namespace std;

#define rep(i, n) for(int i = 0; i < n; i++)
#define repn(i, n) for(int i = 1; i <= n; i++) 
#define lint long long
#define all(x) (x).begin(), (x).end()


int main(){
    cin>>d; string ans;
    if(D==25) ans = "Christmas";
    else if(D==24) ans = "Christmas Eve";
    else if(D==23) ans = "Christmas Eve Eve";
    else ans = "Christmas Eve Eve Eve";
    cout<<ans<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:10: error: 'd' was not declared in this scope
   21 |     cin>>d; string ans;
      |          ^
a.cc:22:8: error: 'D' was not declared in this scope
   22 |     if(D==25) ans = "Christmas";
      |        ^
Language: C++

#include <cstdio>
 
 using namespace std;
 
 int main()
 {
     int d;
     scanf("%d", &d);
     )
         printf("Christmas\n");
     )
         printf("Christmas Eve\n");
     )
         printf("Christmas Eve Eve\n");
     )
         printf("Christmas Eve Eve Eve\n");
     ;
 }

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

 #include <bits/stdc++.h>
     using namespace std;
 
     int main()
     {
         int n;
 
         while (scanf("%d", &n) != EOF)
         {
             printf("Christmas");
              - (n - );
             for (int i = need; i; --i) printf(" Eve");
             puts("");
         }
         ;
     }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:22: error: expected primary-expression before ')' token
   11 |               - (n - );
      |                      ^
a.cc:12:27: error: 'need' was not declared in this scope
   12 |              for (int i = need; i; --i) printf(" Eve");
      |                           ^~~~
Language: C++

#include<bits/stdc++.h>

int main(){
  int d;
  cin >> d;
  string s;
  if (d==25) s="Christmas";
  else if (d==24) s="Christmas Eve";
  else if (d==23) s="Christmas Eve Eve";
  else if (d==22) s="Christmas Eve Eve Eve";
  cout <<s<<endl;
  return 0;
}

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 >> d;
      |   ^~~
      |   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:3: error: 'string' was not declared in this scope
    6 |   string s;
      |   ^~~~~~
a.cc:6:3: note: suggested alternatives:
In file included from /usr/include/c++/14/string:41,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:7:14: error: 's' was not declared in this scope
    7 |   if (d==25) s="Christmas";
      |              ^
a.cc:8:19: error: 's' was not declared in this scope
    8 |   else if (d==24) s="Christmas Eve";
      |                   ^
a.cc:9:19: error: 's' was not declared in this scope
    9 |   else if (d==23) s="Christmas Eve Eve";
      |                   ^
a.cc:10:19: error: 's' was not declared in this scope
   10 |   else if (d==22) s="Christmas Eve Eve Eve";
      |                   ^
a.cc:11:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   cout <<s<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:10: error: 's' was not declared in this scope
   11 |   cout <<s<<endl;
      |          ^
a.cc:11:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |   cout <<s<<endl;
      |             ^~~~
      |             std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

int main(){
  int n;
  cin >> n;
  cout << "Christmas"
  if(n==24) cout << " Eve";
  else if(n==23) cout << " Eve Eve";
  else if(n==22) cout << " Eve Eve Eve";
  
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: expected ';' before 'if'
    7 |   cout << "Christmas"
      |                      ^
      |                      ;
    8 |   if(n==24) cout << " Eve";
      |   ~~                  
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else if(n==23) cout << " Eve Eve";
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
#define pb push_back
#define mp make_pair
#define OP ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define F first
#define S second
#define sz(x) (int)x.size()
#define all(x) (x).begin(), (x).end()
#define rep(i, n) for(int i = 0; i < n; ++i)
#define repr(i,n) for(int i = n - 1; i >= 0; --i)
#define Rep(i, a, n) for(int i = (a); i <=(n); ++i)
#define repst(i, n) for(auto it = n.begin(); it != n.end(); ++it)
#define Repr(i, a, n) for(int i = (n); i >= (a); --i)
typedef long long ll;
typedef std::vector<int> vi;
typedef std::pair<int, int> pii;
const int inf = int(1e9);
const int mod = inf + 7;
const double PI = acos(-1.0);
using namespace std;
const int N = 1e5 + 155;
template<typename T>
inline void read(T&x){
    x=0;int f=1;char ch = getchar();
    while(ch<'0' ||ch>'9'){ if(ch=='-')f=-1;ch=getchar(); }
    while(ch>='0' && ch<='9'){ x=x*10+ch-'0'; ch=getchar(); }
    x*=f;
}

void solve(){
    int n;
    cin >> n;
    cout << "Christmas ";
    for(int i = 25; i > n; i--) {
        cout << "Eve "
    }
}
 
int main(){
    OP
    //freopen("input.txt", "r", stdin);
    //freopen("output.txt", "w", stdout);
    int t = 1;
    while(t--)
    solve();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:35:23: error: expected ';' before '}' token
   35 |         cout << "Eve "
      |                       ^
      |                       ;
   36 |     }
      |     ~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int n;
  cin>>n;
  if(n==22){
    cout<<"Christmas Eve Eve Eve"<<endl;
  }
  if(n==23){
cout<<"Christmas Eve Eve"<<ednl;
  }
  if(n==24){
    cout<<"Christmas Eve"<<endl;
  }
  else{
    cout<<"Christmas"<<endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:28: error: 'ednl' was not declared in this scope
   10 | cout<<"Christmas Eve Eve"<<ednl;
      |                            ^~~~
Language: C++

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

const int INF = 1e9;

int main() {
  int d;
  cin>>n;
  if (d == 25) {
    cout<<"Christmas"<<endl;
  } else if (d == 24) {
    cout<<"Christmas Eve"<<endl;
  } else if (d == 23) {
    cout<<"Christmas Eve Eve"<<endl;
  } else {
    cout<<"Christmas Eve Eve Eve"<<endl;

  }

}

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

#include <stdio.h>
#include <stdlib.h>
int main(){
	int n = 0;
	scanf("%d",&n);
    int k = 0;
    scanf("%d",&k);
    int tree[100000];
    for(int i = 0;i < n;i++){
    	scanf("%d",&tree[i]);
    }
    int tmp;
    for (int i=0; i<n; ++i) {
    for (int j=i+1; j<n; ++j) {
      if (tree[i] > tree[j]) {
        tmp = tree[i];
        tree[i] = tree[j];
        tree[j] = tmp;
      }
    }
    int min = 1000000;
    for (int i = 0; i < n - k; i ++){
    	if(abs(tree[i] - tree[i + k]) < min){
        	min = abs(tree[i] - tree[i + k]);
        }
    }
    printf("%d",min);
}


Compiler output:
main.c: In function 'main':
main.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
Language: C

#include <stdio.h>
#include <stdlib.h>
int main(){
	int n = 0;
	scanf("%d",&n);
    int k = 0;
    scanf("%d",&k);
    int tree[100000];
    for(int i = 0;i < n;i++){
    	scanf("%d",&tree[i]);
    }
    int tmp;
    for (int i=0; i<n; ++i) {
    for (int j=i+1; j<n; ++j) {
      if (tree[i] > tree[j]) {
        tmp = tree[i];
        tree[i] = tree[j];
        tree[j] = tmp;
      }
    }
    int min = 1000000;
    for (int i = 0; i < n - k; i ++){
    	if(abs(tree[i] - tree[i + k]) < min){
        	min = abs(tree[i] - tree[i + k]);
        }
    }
    printf("%d",&min);
}


Compiler output:
main.c: In function 'main':
main.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
Language: C

#include <stdio.h>
#include <stdlib.h>
int main(){
	int n;
	scanf("%d",&n);
    int k;
    scanf("%d",&k);
    int tree[100000];
    for(int i = 0;i < n;i++){
    	scanf("%d",&tree[i]);
    }
    int tmp;
    for (int i=0; i<n; ++i) {
    for (int j=i+1; j<n; ++j) {
      if (tree[i] > tree[j]) {
        tmp = tree[i];
        tree[i] = tree[j];
        tree[j] = tmp;
      }
    }
    int min = 1000000;
    for (int i = 0; i < n - k; i ++){
    	if(abs(tree[i] - tree[i + k]) < min){
        	min = abs(tree[i] - tree[i + k]);
        }
    }
    printf("%d",&min);
}


Compiler output:
main.c: In function 'main':
main.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
Language: C

#include <stdio.h>
#include <stdlib.h>
int main(){
	int n;
	scanf("%d",&n);
    int k;
    scnaf("%d",&k);
    int tree[100000];
    for(int i = 0;i < n;i++){
    	scanf("%d",&tree[i]);
    }
    int tmp;
    for (int i=0; i<n; ++i) {
    for (int j=i+1; j<n; ++j) {
      if (tree[i] > tree[j]) {
        tmp = tree[i];
        tree[i] = tree[j];
        tree[j] = tmp;
      }
    }
    int min = 1000000;
    for (int i = 0; i < n - k; i ++){
    	if(abs(tree[i] - tree[i + k]) < min){
        	min = abs(tree[i] - tree[i + k]);
        }
    }
    printf("%d",&min);
}


Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scnaf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     scnaf("%d",&k);
      |     ^~~~~
      |     scanf
main.c:28:1: error: expected declaration or statement at end of input
   28 | }
      | ^
Language: C++

#include<iostream>
#include<algorithm>
#include<vector>
#include<queue>
#include<cmath>
#include<tuple>
#include<string>
typedef unsigned long long ll;
#define rep(i,a,b) for(int i=(a);i<(b);i++)
#define F first
#define S second
using namespace std;
const ll INF = 1e12;
const int i_INF = 2147483647;

int main() {
  int d;
  cout<<"Christmas"
  rep(i,0,-d+24)cout<<" Eve";
  cout<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:20: error: expected ';' before 'for'
   18 |   cout<<"Christmas"
      |                    ^
      |                    ;
a.cc:19:7: error: 'i' was not declared in this scope
   19 |   rep(i,0,-d+24)cout<<" Eve";
      |       ^
a.cc:9:34: note: in definition of macro 'rep'
    9 | #define rep(i,a,b) for(int i=(a);i<(b);i++)
      |                                  ^
Language: Java

import java.util.*;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int d = sc.nextInt();

    if(d == 25) {
      System.out.println("Christmas");
    } else if(d == 24) {
      Syste.out.println("Christmas Eve");
    } else if(d == 23) {
      Syste.out.println("Christmas Eve Eve");
    } else if(d == 22) {
      Syste.out.println("Christmas Eve Eve Eve");
    }
  }

}


Compiler output:
Main.java:12: error: package Syste does not exist
      Syste.out.println("Christmas Eve");
           ^
Main.java:14: error: package Syste does not exist
      Syste.out.println("Christmas Eve Eve");
           ^
Main.java:16: error: package Syste does not exist
      Syste.out.println("Christmas Eve Eve Eve");
           ^
3 errors
Language: C++

# include < bits/stdc++.h >
using namespace std;
int n, x, mx, sum;
int main() {
  cin >> n;
  for ( int i = 0; i < n; i++ ) {
    cin >> x;
    mx = max(mx, x);
    sum += x;
  }
  cout << sum - mx / 2;

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

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

int main() {
  int d;
  cin >> d;
  if (d==25) {
    cout <<"Christmas"<< endl;
  } else if (d==24 {
    cout <<"Christmas Eve" << endl;
  } else if (d==23) {
    cout<<  "Christmas Eve Eve" << endl;
  } else {
    cout << "Christmas Eve Eve Eve" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: expected ';' before '{' token
   11 |   } else if (d==24 {
      |                   ^~
      |                   ;
a.cc:13:5: error: expected primary-expression before 'else'
   13 |   } else if (d==23) {
      |     ^~~~
a.cc:13:4: error: expected ')' before 'else'
   13 |   } else if (d==23) {
      |    ^~~~~
      |    )
a.cc:11:13: note: to match this '('
   11 |   } else if (d==24 {
      |             ^
Language: C++

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

int main () {
  int n; cin >> n;
  cout << "Christmas";
  if (n < 25) cout << " Eve" << endl
    if (n < 24) cout << " Eve" << endl
      if (n < 23) cout << " Eve" << endl
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:37: error: expected ';' before 'if'
    7 |   if (n < 25) cout << " Eve" << endl
      |                                     ^
      |                                     ;
    8 |     if (n < 24) cout << " Eve" << endl
      |     ~~
Language: C++

#include<iostream>
#include<vector>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define YES cout<<"YES"<<endl
#define NO cout<<"NO"<<endl
#define Yes cout<<"Yes"<<endl
#define No cout<<"No"<<endl
#define ANS cout << ans << endl
#define all(a) a.begin(),a.end()
#define SORT(a) sort(all(a))
#define REVERSE(a) reverse(all(a))
#define int long long
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define VIin(a) for(int i=0; i<a.size(); i++) cin >> a[i]
#define OUT(a) cout << a << endl
typedef vector<int> VI;
typedef vector<VI> VVI;
const int MOD=1e9+7;
const long long INF = 1LL << 60;
/*最大公約数*/int gcd(int x, int y) { return y ? gcd(y,x%y) : x;}
/*最小公倍数*/int lcm(int a, int b) { int g = gcd(a, b); return a / g * b; }
/*素数判定*/int isPrime(int n){if(n<2){return 0;}for(int i=2; i*i<=n; i++){if(n%i==0){return 0;}}return 1;}
/*約数列挙*/vector<int> getDivisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
//----------------------------------------------
signed main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int d; cin >> d;
    if(d == 25) OUT("Christmas");
    else if(d == 24) OUT("Christmas Eve");
    else if(d == 23) OUT("Christmas Eve Eve");
    else OUT("Christmas Eve Eve Eve");

    return 0;
}

Compiler output:
a.cc: In function 'std::vector<long long int> getDivisor(long long int)':
a.cc:24:141: error: 'sort' was not declared in this scope; did you mean 'short'?
   24 | /*約数列挙*/vector<int> getDivisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
      |                                                                                                                                             ^~~~
      |                                                                                                                                             short
Language: C++

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

int main() {
    int d;  cin >> c;
    if (d == 25)  cout << "Christmas" << endl;
    else if (d == 24)  cout << "Christmas Eve" << endl;
    else if (d == 23)  cout << "Christmas Eve Eve" << endl;
    else  cout << "Christmas Eve Eve Eve" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: 'c' was not declared in this scope
    6 |     int d;  cin >> c;
      |                    ^