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

import java.util.Scanner;

class Main {
	public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
      
      	int D = sc.nextInt();
      	if (D.equals("Christmas")) {
        	System.out.println("Christmas");
        } else if (D.equals("Christmas Eve")) {
        	System.out.println("Christmas Eve");
        } else if (D.equals("Christmas Eve Eve")) {
        	System.out.println("Christmas Eve Eve");
        } else {
        	System.out.println("Christmas Eve Eve Eve");
        }
    }
}

Compiler output:
Main.java:8: error: int cannot be dereferenced
      	if (D.equals("Christmas")) {
      	     ^
Main.java:10: error: int cannot be dereferenced
        } else if (D.equals("Christmas Eve")) {
                    ^
Main.java:12: error: int cannot be dereferenced
        } else if (D.equals("Christmas Eve Eve")) {
                    ^
3 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		
      	if (D == 22) {
          // 出力
		System.out.println('Christmas Eve Eve Eve');
        } else if (D == 23) {
          System.out.println('Christmas Eve Eve');
        } else if (D == 24) {
          System.out.println('Christmas Eve');
        } else if (D == 25) {
          System.out.println('Christmas');
        }
      
		// 出力
		System.out.println((a+b+c) + " " + s);
	}
}


Compiler output:
Main.java:10: error: unclosed character literal
		System.out.println('Christmas Eve Eve Eve');
		                   ^
Main.java:10: error: ';' expected
		System.out.println('Christmas Eve Eve Eve');
		                                 ^
Main.java:10: error: unclosed character literal
		System.out.println('Christmas Eve Eve Eve');
		                                         ^
Main.java:12: error: unclosed character literal
          System.out.println('Christmas Eve Eve');
                             ^
Main.java:12: error: ';' expected
          System.out.println('Christmas Eve Eve');
                                           ^
Main.java:12: error: unclosed character literal
          System.out.println('Christmas Eve Eve');
                                               ^
Main.java:12: error: not a statement
          System.out.println('Christmas Eve Eve');
                                            ^
Main.java:14: error: unclosed character literal
          System.out.println('Christmas Eve');
                             ^
Main.java:14: error: unclosed character literal
          System.out.println('Christmas Eve');
                                           ^
Main.java:16: error: unclosed character literal
          System.out.println('Christmas');
                             ^
Main.java:16: error: unclosed character literal
          System.out.println('Christmas');
                                       ^
Main.java:16: error: not a statement
          System.out.println('Christmas');
                               ^
12 errors
Language: C++

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

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

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

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

int main(){
  int d;
  cin>>d;
  string ans="Christmas";
  ans+=" Eve"*(25-d);
  cout<<ans;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: invalid operands of types 'const char [5]' and 'int' to binary 'operator*'
    9 |   ans+=" Eve"*(25-d);
      |        ~~~~~~^~~~~~~
      |        |         |
      |        |         int
      |        const char [5]
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin>>x;
  if(x==25)
    cout<<"Christmas"<<endl;
  else if(x==24)
    cout<<"Christmas Eve"<<endl;
  else if(x==23)
    cout<<"Christmas Eve Eve"<<endl;
  else if(X==22)
    cout<<"Christmas Eve Eve Eve"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'X' was not declared in this scope
   12 |   else if(X==22)
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin>>X;
  if(x==25)
    cout<<"Christmas"<<endl;
  else if(x==24)
    cout<<"Christmas Eve"<<endl;
  else if(x==23)
    cout<<"Christmas Eve Eve"<<endl;
  else if(X==22)
    cout<<"Christmas Eve Eve Eve"<<endl;
}


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

#include <bits/stdc++h>
using namespace std;
int main(){
  int x;
  cin>>X;
  if(x==25)
    cout<<"Christmas"<<endl;
  else if(x==24)
    cout<<"Christmas Eve"<<endl;
  else if(x==23)
    cout<<"Christmas Eve Eve"<<endl;
  else if(X==22)
    cout<<"Christmas Eve Eve Eve"<<endl;
}

Compiler output:
a.cc: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(void){
  int d;
  scanf("%d",&d);
  if(d==25){
    printf("Christmas");
    )
  if(d==24){
    printf("Christmas Eve");
    )
  if(d==23){
    printf("Christmas Eve Eve");
    )
  if(d==22){
    printf("Christmas Eve Eve Eve");
    )
      return 0;
  }
      

Compiler output:
main.c: In function 'main':
main.c:7:5: error: expected statement before ')' token
    7 |     )
      |     ^
main.c:10:5: error: expected statement before ')' token
   10 |     )
      |     ^
main.c:13:5: error: expected statement before ')' token
   13 |     )
      |     ^
main.c:16:5: error: expected statement before ')' token
   16 |     )
      |     ^
main.c:18:3: error: expected declaration or statement at end of input
   18 |   }
      |   ^
main.c:18:3: error: expected declaration or statement at end of input
main.c:18:3: error: expected declaration or statement at end of input
main.c:18:3: error: expected declaration or statement at end of input
Language: C++

#include <iostream>
using namespace std;

int main() {

	int D; cin >> D;
	switch (D) {
	case 25:cout << "Christmas" << endl; break;
	case 24:cout << "Christmas Eve" << endl; break;
	case 23:cout << "Christmas Eve Eve" << endl; break;
	case 22:cout << "Christmas Eve Eve Eve" << endl; break;
	}

}}

Compiler output:
a.cc:14:2: error: expected declaration before '}' token
   14 | }}
      |  ^
Language: C++

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

#define ld long double
#define ll long long
#define ALL(a)  (a).begin(),(a).end()
#define spa << " " <<
ll MOD = 1e9+7;
void chmin(long long &a, long long b) { if (a > b) a = b; }

int main(){
  ll i, j;
  ll n;
  cin >> n;
  cout << "Chiristmas";
  for(i = 0; i < 25 - n; i++)
    cout << " Eve" <<;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:22: error: expected primary-expression before ';' token
   17 |     cout << " Eve" <<;
      |                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  map<int,string>mp;
  mp[25]="Christmas";
  mp[24]="Christmas Eve";
  mp[23]="Christmas Eve Eve";
  mp[22]="Christmas Eve Eve";
  ll a;cin>>a;
  cout<<mp[a]<<endl;
  return 0;
}


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

#include <iostream>
#include <string>
using namespace std;
int main(){
  int d;
  cin>>d;
  
  int cnt;
  cnt = 25-d;
  
  string T;
  T = "Christmas";
  T +=" Eve"*cnt;
  cout<<T<<endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: invalid operands of types 'const char [5]' and 'int' to binary 'operator*'
   13 |   T +=" Eve"*cnt;
      |       ~~~~~~^~~~
      |       |      |
      |       |      int
      |       const char [5]
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(){
  int d;
  cin>>d;
  
  int cnt;
  cnt = 25-d;
  
  string T;
  T = 'Christmas';
  T +=' Eve'*cnt
  cout<<T<<endl;
  
  return 0;
}

Compiler output:
a.cc:12:7: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
   12 |   T = 'Christmas';
      |       ^~~~~~~~~~~
a.cc:13:7: warning: multi-character character constant [-Wmultichar]
   13 |   T +=' Eve'*cnt
      |       ^~~~~~
a.cc: In function 'int main()':
a.cc:12:7: warning: overflow in conversion from 'int' to 'char' changes value from '1953325427' to '115' [-Woverflow]
   12 |   T = 'Christmas';
      |       ^~~~~~~~~~~
a.cc:13:17: error: expected ';' before 'cout'
   13 |   T +=' Eve'*cnt
      |                 ^
      |                 ;
   14 |   cout<<T<<endl;
      |   ~~~~
Language: C++

#include<iosteram>
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 if(D == 22)cout << "Christmas Eve Eve Eve" <<endl;
}

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

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String ans[] = {"Christmas", "Christmas Eve", "Christmas Eve Eve", "Christmas Eve Eve Eve"};
		
		int d;
		d = sc.nextInt();
		sc.close();
		
		System.out.println(ans[25-d]);
	}

}


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

#include <iostream>

using namespace std;

int main(void){
	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:8:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    8 |         if(d=="25"){
      |            ~^~~~~~
a.cc:10:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   10 |         }else if(d=="24"){
      |                  ~^~~~~~
a.cc:12:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   12 |         }else if(d=="23"){
      |                  ~^~~~~~
Language: C++

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

int main(){
  int D;
  cin >> D;
  string s=Christmas;
  
  for(int i=D;i<25;i++){
    s+="Eve";
  }
  
  cout << s;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: 'Christmas' was not declared in this scope
    7 |   string s=Christmas;
      |            ^~~~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int D;
  cin >> D;
  if(D == 25){
    cout << "Christmas" << endl;
  }
  if(D == 24){
    cout << "Christmas Eve" << endl;
  }
  if(D == 23){
    cout << "Christmas Eve Eve" << endl;
  }
  if(D == 22){
    cout << "Christmas Eve Eve Eve" << endl;
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope
    4 |         cin >> D;
      |         ^~~
a.cc:6:7: error: 'cout' was not declared in this scope
    6 |       cout << "Christmas Eve Eve Eve";
      |       ^~~~
a.cc:7:3: error: 'elseif' was not declared in this scope
    7 |   elseif(D == 23)
      |   ^~~~~~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else
      |   ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "Christmas";
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'elseif' was not declared in this scope
   10 |   elseif(D == 23)
      |   ^~~~~~
a.cc:14:3: error: 'else' without a previous 'if'
   14 |   else
      |   ^~~~
a.cc:15:24: error: expected ';' before 'return'
   15 |     cout << "Christmas"
      |                        ^
      |                        ;
   16 | 
   17 |     return 0;
      |     ~~~~~~
Language: C

#include <stdio.h>

int main() {
  int D;
  scanf("%d", &D);
  printf("Christmas");
  for(i = 0; i < 25 - D; i++) {
    printf(" Eve");
  }
  printf("\n");
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:7:7: error: 'i' undeclared (first use in this function)
    7 |   for(i = 0; i < 25 - D; i++) {
      |       ^
main.c:7:7: note: each undeclared identifier is reported only once for each function it appears in
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:19:11: error: expected ';' before ':' token
   19 |   return 0:
      |           ^
      |           ;
a.cc:19:11: error: expected primary-expression before ':' token
Language: C++

#include <iostream>

int main()}{
    int d;
    std::cin >> d;

    std::cout << "Christmas";
    for(int i = 0; 25 - d; ++i){
        std::cout << "eve";
    }

    std::cout << std::endl;

    return 0;
}


Compiler output:
a.cc:3:11: error: expected initializer before '}' token
    3 | int main()}{
      |           ^
a.cc:3:11: error: expected declaration before '}' token
a.cc:3:12: error: expected unqualified-id before '{' token
    3 | int main()}{
      |            ^
Language: C++

#include <bits/stdc++.h>

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ITR(x,c) for(__typeof(c.begin() x=c.begin();x!=c.end();x++)
#define RITR(x,c) for(__typeof(c.rbegin() x=c.rbegin();x!=c.rend();x++)
#define setp(n) fixed << setprecision(n)

#define lf double
#define ll long long
#define vll vector<ll>
#define vi vector<int>
#define pll pair<ll,ll>
#define pi pair<int,int>

#define all(a) (a.begin()),(a.end())
#define rall(a) (a.rbegin()),(a.rend())
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define ins insert

using namespace std;

int main(void)
{
	cin.tie(0);
	ios::sync_with_stdio(false);
	ll d; cin >> d;
	cout << "Christmas";
	rep(i, 25-d){
		cout << " Eve"
	}
	cout << '\n';
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:32:31: error: expected ';' before '}' token
   32 |                 cout << " Eve"
      |                               ^
      |                               ;
   33 |         }
      |         ~
Language: C++

#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=int(a);i<int(b);++i)
using namespace std;
typedef long long ll;
int INF = (1LL << 30) - 1;
int MOD = 1e9+7;q
main(){
    int a;
    cin >> a;
    cout << "Christmas" << endl;
    rep(i,0,25-a)cout << " Eve";
}

Compiler output:
a.cc:6:17: error: 'q' does not name a type
    6 | int MOD = 1e9+7;q
      |                 ^
Language: C++

#include<bits/stdc++.h>
#define rep(i,a,b) for(int i=int(a);i<int(b);++i)
using namespace std;
typedef long long ll;
int INF = (1LL << 30) - 1;
int MOD = 1e9+7;q
main(){
    int a;
    cin >> a;
    cout << "Christmas" << endl;
    rep(i,0,25-a)cout << " Eve"
}

Compiler output:
a.cc:6:17: error: 'q' does not name a type
    6 | int MOD = 1e9+7;q
      |                 ^
Language: C

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

int main(){
    int D;
    scanf("%d",&D);
    printf("Christmas");
    for(;d<25;d++) printf(" Eve");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:10: error: 'd' undeclared (first use in this function)
   10 |     for(;d<25;d++) printf(" Eve");
      |          ^
main.c:10:10: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <iostream>
using namespace std;

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


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

#include <iostream>

using namespace std;

int main() {
    int D;
    string s[] = {
        "Christmas",
        "Christmas Eve"
        "Christmas Eve Eve",
        "Christmas Eve Eve Eve",
    }
    cin >> D;
    cout << s[25 - D] << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: expected ',' or ';' before 'cin'
   13 |     cin >> D;
      |     ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected ';' before 'cout'
    5 | cin>>d
      |       ^
      |       ;
    6 | cout<<"Christmas";
      | ~~~~   
a.cc:7:13: error: expected ';' before string constant
    7 | if(d<25)cout" Eve";
      |             ^~~~~~
      |             ;
a.cc:8:13: error: expected ';' before string constant
    8 | if(d<24)cout" Eve";
      |             ^~~~~~
      |             ;
a.cc:9:13: error: expected ';' before string constant
    9 | if(d<23)cout" Eve";
      |             ^~~~~~
      |             ;
Language: C++

#include<bits/stdc++.h>

#define rep(i, a, n)  for(int i=a; i<n; i++)
#define per(i, a, n)  for(int i=n-1; i>=a; i--)
#define fill0(n)  setfill('0') << right << setw(n)
#define all(x)  (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define LONGMAX 1e18
#define INTMAX 1e9;
using namespace std;
typedef long long ll;

int main(){
  int d;
  std::cin >> d;
  int tmp
  if(d==25)std::cout << "Christmas" << '\n';
  else if(d==24)std::cout << "Christmas Eve" << '\n';
  else if(d==23)std::cout << "Christmas Eve Eve" << '\n';
  else if(d==22)std::cout << "Christmas Eve Eve Eve" << '\n';
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:3: error: expected initializer before 'if'
   17 |   if(d==25)std::cout << "Christmas" << '\n';
      |   ^~
a.cc:18:3: error: 'else' without a previous 'if'
   18 |   else if(d==24)std::cout << "Christmas Eve" << '\n';
      |   ^~~~
Language: C++

#include<bits/stdc++.h>

#define rep(i, a, n)  for(int i=a; i<n; i++)
#define per(i, a, n)  for(int i=n-1; i>=a; i--)
#define fill0(n)  setfill('0') << right << setw(n)
#define all(x)  (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define LONGMAX 1e18
#define INTMAX 1e9;
using namespace std;
typedef long long ll;

int main(){
  int d;
  std::cin >> d;
  if(d==25)std::cout << "Christmas" << '\n';
  else if(d==24)std::cout << "Christmas Eve" << '\n';
  else if(d==23)std::cout << "Christmas Eve Eve" << '\n';)
  else if(d==22)std::cout << "Christmas Eve Eve Eve" << '\n';
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:58: error: expected primary-expression before ')' token
   18 |   else if(d==23)std::cout << "Christmas Eve Eve" << '\n';)
      |                                                          ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before '}' token
    9 |          o="Christmas"
      |                       ^
      |                       ;
   10 |   }
      |   ~                    
a.cc:12:27: error: expected ';' before '}' token
   12 |          o="Christmas Eve"
      |                           ^
      |                           ;
   13 |   }
      |   ~                        
a.cc:15:31: error: expected ';' before '}' token
   15 |          o="Christmas Eve Eve"
      |                               ^
      |                               ;
   16 | }
      | ~                              
a.cc:18:36: error: expected ';' before '}' token
   18 |           o="Christmas Eve Eve Eve"
      |                                    ^
      |                                    ;
   19 |   }
      |   ~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ';' before '}' token
    9 |          o="Christmas"
      |                       ^
      |                       ;
   10 |   }
      |   ~                    
a.cc:12:27: error: expected ';' before '}' token
   12 |          o="Christmas Eve"
      |                           ^
      |                           ;
   13 |   }
      |   ~                        
a.cc:15:31: error: expected ';' before '}' token
   15 |          o="Christmas Eve Eve"
      |                               ^
      |                               ;
   16 | }
      | ~                              
a.cc:18:36: error: expected ';' before '}' token
   18 |           o="Christmas Eve Eve Eve"
      |                                    ^
      |                                    ;
   19 |   }
      |   ~
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 if(d=22){
    cout<<"Christmas Eve Eve Eve"<<endl;
  }

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

D = int(input())
result = 'Christmas'
for i in range(D-25)
    result += 'Eve'
print(result)

Compiler output:
a.cc:2:10: warning: multi-character literal with 9 characters exceeds 'int' size of 4 bytes
    2 | result = 'Christmas'
      |          ^~~~~~~~~~~
a.cc:4:15: warning: multi-character character constant [-Wmultichar]
    4 |     result += 'Eve'
      |               ^~~~~
a.cc:1:1: error: 'D' does not name a type
    1 | D = int(input())
      | ^
Language: C++

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

int main(){
  int D;
  cin >> D;
  cout << "Christmas";
  while(D<25){
    cout << " Eve";
    D=D+1
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: expected ';' before '}' token
   10 |     D=D+1
      |          ^
      |          ;
   11 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> P;
typedef long long ll;
typedef vector<int> vi;
typedef vector<ll> vll;
#define pb push_back
#define mp make_pair
#define eps 1e-9
#define INF 2000000000
#define sz(x) ((int)(x).size())
#define fi first
#define sec second
#define all(x) (x).begin(),(x).end()
#define sq(x) ((x)*(x))
#define rep(i,n) for(int (i)=0;(i)<(int)(n);(i)++)
#define repn(i,a,n) for(int (i)=(a);(i)<(int)(n);(i)++)
#define EQ(a,b) (abs((a)-(b))<eps)
template<class T> void chmin(T& a,const T& b){if(a>b)a=b;}
template<class T> void chmax(T& a,const T& b){if(a<b)a=b;}
int a;
int main(){
  cin >> a;
  cout << "Christmas";
  for(int i=0;i<25-a;i++)cuot << " Eve";
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:26: error: 'cuot' was not declared in this scope
   25 |   for(int i=0;i<25-a;i++)cuot << " Eve";
      |                          ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:22: error: 'Christmas' was not declared in this scope
    6 |   if(D == 22) cout <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
      |                      ^~~~~~~~~
a.cc:6:39: error: 'Eve' was not declared in this scope
    6 |   if(D == 22) cout <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
      |                                       ^~~
a.cc:7:22: error: 'Christmas' was not declared in this scope
    7 |   if(D == 23) cout <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
      |                      ^~~~~~~~~
a.cc:7:39: error: 'Eve' was not declared in this scope
    7 |   if(D == 23) cout <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
      |                                       ^~~
a.cc:8:22: error: 'Christmas' was not declared in this scope
    8 |   if(D == 24) cout <<Christmas <<"" <<Eve <<"" <<endl;
      |                      ^~~~~~~~~
a.cc:8:39: error: 'Eve' was not declared in this scope
    8 |   if(D == 24) cout <<Christmas <<"" <<Eve <<"" <<endl;
      |                                       ^~~
a.cc:9:22: error: 'Christmas' was not declared in this scope
    9 |   if(D == 25) cout <<Christmas <<endl;
      |                      ^~~~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int D;
  cin >>D;
  if(D == 22) cont <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
  if(D == 23) cont <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
  if(D == 24) cont <<Christmas <<"" <<Eve <<"" <<endl;  
  if(D == 25) cont <<Christmas <<endl;
  
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:15: error: 'cont' was not declared in this scope; did you mean 'const'?
    6 |   if(D == 22) cont <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
      |               ^~~~
      |               const
a.cc:6:22: error: 'Christmas' was not declared in this scope
    6 |   if(D == 22) cont <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
      |                      ^~~~~~~~~
a.cc:6:39: error: 'Eve' was not declared in this scope
    6 |   if(D == 22) cont <<Christmas <<"" <<Eve <<"" <<Eve <<"" <<Eve <<endl;
      |                                       ^~~
a.cc:7:15: error: 'cont' was not declared in this scope; did you mean 'const'?
    7 |   if(D == 23) cont <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
      |               ^~~~
      |               const
a.cc:7:22: error: 'Christmas' was not declared in this scope
    7 |   if(D == 23) cont <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
      |                      ^~~~~~~~~
a.cc:7:39: error: 'Eve' was not declared in this scope
    7 |   if(D == 23) cont <<Christmas <<"" <<Eve <<"" <<Eve <<endl;
      |                                       ^~~
a.cc:8:15: error: 'cont' was not declared in this scope; did you mean 'const'?
    8 |   if(D == 24) cont <<Christmas <<"" <<Eve <<"" <<endl;
      |               ^~~~
      |               const
a.cc:8:22: error: 'Christmas' was not declared in this scope
    8 |   if(D == 24) cont <<Christmas <<"" <<Eve <<"" <<endl;
      |                      ^~~~~~~~~
a.cc:8:39: error: 'Eve' was not declared in this scope
    8 |   if(D == 24) cont <<Christmas <<"" <<Eve <<"" <<endl;
      |                                       ^~~
a.cc:9:15: error: 'cont' was not declared in this scope; did you mean 'const'?
    9 |   if(D == 25) cont <<Christmas <<endl;
      |               ^~~~
      |               const
a.cc:9:22: error: 'Christmas' was not declared in this scope
    9 |   if(D == 25) cont <<Christmas <<endl;
      |                      ^~~~~~~~~
Language: C++

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


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


Compiler output:
a.cc: In function 'int main()':
a.cc:16:40: error: expected ';' before '}' token
   16 |         cout << "Christmas Eve Eve Eve"
      |                                        ^
      |                                        ;
   17 | }
      | ~
Language: C++

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

int main() {
	int d;
	cin >> d;
	cout >> Christmas;
	for(int i = 0; i < 25 - d; i++) {
		cout << "Eve";
	}
	cout << endl;
}


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

// ABC115_A
#include <iostream>
#include <cstdio>
#include <string>
#include <vector>
#include <iterator>  // std::back_inserter()
#include <tuple>  // std::tuple std::get
#include <set>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <stack>
#include <queue>
#include <algorithm>  // std::copy()
#include <functional>  // std::greater<T>()
#include <utility>  // std::swap()
#include <numeric>  // accumulate(ALL(vec), 0)  0 は初期値
#include <bitset>  // static_cast<std::bitset<8>>
#include <sstream>  // std::stringstream
#include <cmath>
#include <climits>  // INT_MIN
#include <cctype>  // std::isdigit()
#include <iomanip>  // std::setprecision()
using namespace std;

#define ALL(obj) (obj).begin(), (obj).end()
#define REP(i, n) for (ll i=0; i < n; i++)  // 0 ~ n-1
#define REPN(i, n) for (ll i=1; i <= n; i++)  // 1 ~ n
#define MIN(vec) min_element(ALL((vec)))  // イテレータのため、値を取り出すときは * を先頭につける
#define MAX(vec) max_element(ALL((vec)))
#define IDX(vec, element_iter) distance((vec).begin(), element_iter)
#define SUM(vec) accumulate(ALL((vec)), 0LL)  // 0 は初期値
#define COPY(vec1, vec2) copy(ALL(vec1), back_inserter(vec2))  // vec1をvec2にコピーする vec2は空にしておく必要あり
#define zero_pad(num) setfill('0') << std::right << setw(num)
#define space_pad(num) setfill(' ') << std::right << setw(num)

typedef long long ll;

const ll MOD7 = 1000000007;  // 1 000 000 007
const ll MOD9 = 1000000009;  // 1 000 000 009

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

    // input
    ll N;
    cin >> N;
    // vector<ll> vec(N);
    // REP(i, N) cin >> vec[i];
    
    // calculation
    if (D == 25) cout << "Christmas" << "\n";
    else if (D == 24) cout << "Christmas Eve" << "\n";
    else if (D == 23) cout << "Christmas Eve Eve" << "\n";
    else if (D == 22) cout << "Christmas Eve Eve Eve" << "\n";
    
    
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:53:9: error: 'D' was not declared in this scope
   53 |     if (D == 25) cout << "Christmas" << "\n";
      |         ^
Language: C++

#include <iostream>
#include <vector>

using namespace std;
int main(){

	int n, mi;
	int max=0
	int sum=0;
	vector<int> p;

	cin>> n;

	for(int i=0;i<n;i++){
		cin>> p[i];
		sum+=p[i];
		if(max<p[i]){
			mi=i;
			max=p[i]
		}
	}

	sum-=p[mi]/2;

	cout<< sum << "\n";

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected ',' or ';' before 'int'
    9 |         int sum=0;
      |         ^~~
a.cc:16:17: error: 'sum' was not declared in this scope
   16 |                 sum+=p[i];
      |                 ^~~
a.cc:19:33: error: expected ';' before '}' token
   19 |                         max=p[i]
      |                                 ^
      |                                 ;
   20 |                 }
      |                 ~                
a.cc:23:9: error: 'sum' was not declared in this scope
   23 |         sum-=p[mi]/2;
      |         ^~~
Language: C++

#include <iostream>
#include <vector>

using namespace std;
int main(){

	int n, mi;
	int max=0
	int sum=0;
	vector<int> p;

	cin>> n;

	for(int i=0;i<n;i++){
		cin>> p[i];
		sum+=p[i];
		if(max<p[i]) mi=i;
	}

	sum-=p[max]/2;

	cout<< sum << "\n";

}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected ',' or ';' before 'int'
    9 |         int sum=0;
      |         ^~~
a.cc:16:17: error: 'sum' was not declared in this scope
   16 |                 sum+=p[i];
      |                 ^~~
a.cc:20:9: error: 'sum' was not declared in this scope
   20 |         sum-=p[max]/2;
      |         ^~~
Language: C++

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

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

  if(d == 22){
    cout << "Christmas Eve Eve Eve";  
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:11:14: note: to match this '{'
   11 |   if(d == 24){
      |              ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:8:14: note: to match this '{'
    8 |   if(d == 25){
      |              ^
a.cc:20:2: error: expected '}' at end of input
   20 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

include <bits/stdc++.h>

using namespace std;

int main() {
    int D;

    cin >> D;

    if(D == 25) cout << "Christmas";
    if(D == 24) cout << "Christmas Eve";
    if(D == 23) cout << "Christmas Eve Eve";
    if(D == 22) cout << "Christmas Eve Eve Eve";
}

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:8:5: error: 'cin' was not declared in this scope
    8 |     cin >> D;
      |     ^~~
a.cc:10:17: error: 'cout' was not declared in this scope
   10 |     if(D == 25) cout << "Christmas";
      |                 ^~~~
a.cc:11:17: error: 'cout' was not declared in this scope
   11 |     if(D == 24) cout << "Christmas Eve";
      |                 ^~~~
a.cc:12:17: error: 'cout' was not declared in this scope
   12 |     if(D == 23) cout << "Christmas Eve Eve";
      |                 ^~~~
a.cc:13:17: error: 'cout' was not declared in this scope
   13 |     if(D == 22) cout << "Christmas Eve Eve Eve";
      |                 ^~~~
Language: C++

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

int main()
{
	int a;
    cin>>a;
    if(a==25)Christmas
        cout<<"Christmas "<<endl;
    if(a==24)
        cout<<"Christmas Eve"<<endl;
    if(a==23)
        cout<<"Christmas Eve Eve"<<endl;
    if(a==22)
        cout<<"Christmas Eve Eve Eve"<<endl;
    

	
	return 0;
}
	

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: 'Christmas' was not declared in this scope
    9 |     if(a==25)Christmas
      |              ^~~~~~~~~
Language: C

#include <stdio.h>
int main(void){
 int d;
  scanf("%d",&d);
  switch(d){
    case 22:
      printf("Christmas Eve Eve Eve");
      break;
          case 23:
      printf("Christmas Eve Eve");
      break;
          case 24:
      printf("Christmas Eve");
      break;
          case 25:
      printf("Christmas");
      break;
  
return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a;cin>>a;
  cout<<"Chiristmas"<<" Eve"*(25-a);}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:29: error: invalid operands of types 'const char [5]' and 'int' to binary 'operator*'
    5 |   cout<<"Chiristmas"<<" Eve"*(25-a);}
      |                       ~~~~~~^~~~~~~
      |                       |         |
      |                       |         int
      |                       const char [5]
Language: C++

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

int main(){
int AB,BC,AC,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;
    default:
       break;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: break statement not within loop or switch
   11 |             break;
      |             ^~~~~
a.cc:12:3: error: case label '23' not within a switch statement
   12 |   case 23:
      |   ^~~~
a.cc:14:13: error: break statement not within loop or switch
   14 |             break;
      |             ^~~~~
a.cc:15:3: error: case label '24' not within a switch statement
   15 |   case 24:
      |   ^~~~
a.cc:17:13: error: break statement not within loop or switch
   17 |             break;
      |             ^~~~~
a.cc:18:3: error: case label '25' not within a switch statement
   18 |   case 25:
      |   ^~~~
a.cc:20:13: error: break statement not within loop or switch
   20 |             break;
      |             ^~~~~
a.cc:21:5: error: case label not within a switch statement
   21 |     default:
      |     ^~~~~~~
a.cc:22:8: error: break statement not within loop or switch
   22 |        break;
      |        ^~~~~
Language: C++

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

int main(){
int AB,BC,AC,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;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: break statement not within loop or switch
   11 |             break;
      |             ^~~~~
a.cc:12:3: error: case label '23' not within a switch statement
   12 |   case 23:
      |   ^~~~
a.cc:14:13: error: break statement not within loop or switch
   14 |             break;
      |             ^~~~~
a.cc:15:3: error: case label '24' not within a switch statement
   15 |   case 24:
      |   ^~~~
a.cc:17:13: error: break statement not within loop or switch
   17 |             break;
      |             ^~~~~
a.cc:18:3: error: case label '25' not within a switch statement
   18 |   case 25:
      |   ^~~~
a.cc:20:13: error: break statement not within loop or switch
   20 |             break;
      |             ^~~~~
Language: C++

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

int main(){
int AB,BC,AC,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;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: 'Christmas' was not declared in this scope
   10 |       cout<<Christmas Eve Eve Eve;
      |             ^~~~~~~~~
a.cc:11:13: error: break statement not within loop or switch
   11 |             break;
      |             ^~~~~
a.cc:12:3: error: case label '23' not within a switch statement
   12 |   case 23:
      |   ^~~~
a.cc:13:13: error: 'Christmas' was not declared in this scope
   13 |       cout<<Christmas Eve Eve;
      |             ^~~~~~~~~
a.cc:14:13: error: break statement not within loop or switch
   14 |             break;
      |             ^~~~~
a.cc:15:3: error: case label '24' not within a switch statement
   15 |   case 24:
      |   ^~~~
a.cc:17:13: error: break statement not within loop or switch
   17 |             break;
      |             ^~~~~
a.cc:18:3: error: case label '25' not within a switch statement
   18 |   case 25:
      |   ^~~~
a.cc:20:13: error: break statement not within loop or switch
   20 |             break;
      |             ^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:57: error: invalid operands of types 'const char [4]' and 'int' to binary 'operator*'
    3 | int main(){int a,b;cin>>a;b=25-a;cout<<"Christmas"+"Eve"*b;}
      |                                                    ~~~~~^~
      |                                                    |     |
      |                                                    |     int
      |                                                    const char [4]
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define ios ios_base::sync_with_stdio(0) ; cin.tie(0) ; cout.tie(0)
int main()
{
    ios;
    ll n ;
    cin >> n ;
    if(n==24){
        cout <<"Christmas Eve\n";
    }
    else if(n==23){
        cout <<"Christmas Eve Eve";
    }
    else if(n==22){
        cout <<"Christmas Eve Eve Eve"
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:39: error: expected ';' before '}' token
   17 |         cout <<"Christmas Eve Eve Eve"
      |                                       ^
      |                                       ;
   18 |     }
      |     ~
Language: Java


import java.util.Scanner;

public class ABC115Main {

	public static void main(String[] args) {

		ABC115_A();
		// ABC115_B();
		// ABC115_C();
		// ABC115_D();
	}

	private static void ABC115_A() {
		Scanner scanner = null;
		int date = 0;

		try {
			scanner = new Scanner(System.in);
			date = scanner.nextInt();

			switch (date) {
			case 22:
				System.out.println("Christmas Eve Eve Eve");
				break;
			case 23:
				System.out.println("Christmas Eve Eve");
				break;
			case 24:
				System.out.println("Christmas Eve");
				break;
			case 25:
				System.out.println("Christmas");
				break;
			default:
				System.out.println("fail!");
				break;
			}

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC115_B() {
		Scanner scanner = null;
		int lineAB = 0;
		int lineBC = 0;
		int lineCA = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println("");

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC115_C() {
		Scanner scanner = null;
		int lineAB = 0;
		int lineBC = 0;
		int lineCA = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println("");

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}

	private static void ABC115_D() {
		Scanner scanner = null;
		int lineAB = 0;
		int lineBC = 0;
		int lineCA = 0;

		try {
			scanner = new Scanner(System.in);
			lineAB = scanner.nextInt();

			System.out.println("");

		} finally {
			if (scanner != null) {
				scanner.close();
			}
		}
	}
}

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

class TaskA {
	public static void main (String args[]) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		if(a==25)
			System.out.println("Christmas");
		if(a==24)
			System.out.println("Christmas Eve");
		if(a==23)
			System.out.println("Christmas Eve Eve");
		if(a==22)
			System.out.println("Christmas Eve Eve Eve");
		
	}
}


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

import java.util.Scanner;

public class TaskA {
	public static void main (String args[]) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		if(a==25)
			System.out.println("Christmas");
		if(a==24)
			System.out.println("Christmas Eve");
		if(a==23)
			System.out.println("Christmas Eve Eve");
		if(a==22)
			System.out.println("Christmas Eve Eve Eve");
		
	}
}


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

#include <bits/stdc++.h>
using namespace std;
// type alias
typedef long long LL;
typedef pair<int,int> II;
typedef tuple<int,int,int> III;
typedef vector<int> VI;
typedef vector<string> VS;
typedef unordered_map<int,int> MAPII;
typedef unordered_set<int> SETI;
template<class T> using VV=vector<vector<T>>;
// minmax
template<class T> inline T SMIN(T& a, const T b) { return a=(a>b)?b:a; }
template<class T> inline T SMAX(T& a, const T b) { return a=(a<b)?b:a; }
// repetition
#define FORE(i,a,b) for(int i=(a);i<=(b);++i)
#define REPE(i,n)  for(int i=0;i<=(n);++i)
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define REP(i,n)  for(int i=0;i<(n);++i)
#define FORR(x,arr) for(auto& x:arr)
#define SZ(a) int((a).size())
// collection
#define ALL(c) (c).begin(),(c).end()
// DP
#define MINUS(dp) memset(dp, -1, sizeof(dp))
#define ZERO(dp) memset(dp, 0, sizeof(dp))
// stdout
#define println(args...) fprintf(stdout, ##args),putchar('\n');
// debug cerr
template<class Iter> void __kumaerrc(Iter begin, Iter end) { for(; begin!=end; ++begin) { cerr<<*begin<<','; } cerr<<endl; }
void __kumaerr(istream_iterator<string> it) { (void)it; cerr<<endl; }
template<typename T, typename... Args> void __kumaerr(istream_iterator<string> it, T a, Args... args) { cerr<<*it<<"="<<a<<", ",__kumaerr(++it, args...); }
template<typename S, typename T> std::ostream& operator<<(std::ostream& _os, const std::pair<S,T>& _p) { return _os<<"{"<<_p.first<<','<<_p.second<<"}"; }
#define __KUMATRACE__ true
#ifdef __KUMATRACE__
#define dump(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); __kumaerr(_it, args); }
#define dumpc(ar) { cerr<<#ar<<": "; FORR(x,(ar)) { cerr << x << ','; } cerr << endl; }
#define dumpC(beg,end) { cerr<<"~"<<#end<<": "; __kumaerrc(beg,end); }
#else
#define dump(args...)
#define dumpc(ar)
#define dumpC(beg,end)
#endif

// $ cp-batch ChristmasEveEveEve | diff ChristmasEveEveEve.out -
// $ g++ -std=c++14 -Wall -O2 -D_GLIBCXX_DEBUG -fsanitize=address ChristmasEveEveEve.cpp && ./a.out

/*
 
 2/3/2019
 
 10:27-
 
 */

int N;

void solve() {
  string res="Christmas";
  while(25-N>0) {
    res+=" Eve";
    ++N;
  }
  cout<<res<<endl;
}

int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout<<setprecision(12)<<fixed;
  
  cin>>N;
  solve();
  
  return 0;
}


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 <iostream>
#include <string>
2 using namespace std;
3 int main(){
4 int D;
5 cin >> D;
6 string ans;
7 if(D == 25) ans = "Christmas";
8 else if(D == 24) ans = "Christmas Eve";
9 else if(D == 23) ans = "Christmas Eve Eve";
10 else ans = "Christmas Eve Eve Eve";
11 cout << ans << endl;
}

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

#include <iostream>
#include <string>
2 using namespace std;
3 int main(){
4 int D;
5 cin >> D;
6 string ans;
7 if(D == 25) ans = "Christmas";
8 else if(D == 24) ans = "Christmas Eve";
9 else if(D == 23) ans = "Christmas Eve Eve";
10 else ans = "Christmas Eve Eve Eve";
11 cout << ans << endl;

Compiler output:
a.cc:3:1: error: expected unqualified-id before numeric constant
    3 | 2 using namespace std;
      | ^
a.cc:4:1: error: expected unqualified-id before numeric constant
    4 | 3 int main(){
      | ^