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

#include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define inf 1000000005
#define all(a) (a).begin(), (a).end()
#define ms(a,x) memset(a, x, sizeof(a))
#define mod 1000000007
#define sz(a) ((ll)(a).size())

template<class T> int getbit(T s, int i) { return (s >> i) & 1; }
template<class T> T onbit(T s, int i) { return s | (T(1) << i); }
template<class T> T offbit(T s, int i) { return s & (~(T(1) << i)); }
template<class T> int cntbit(T s) { return __builtin_popcount(s);}
#define Rep(i,n) for(int i = 0; i < (n); ++i)
#define Repd(i,n) for(int i = (n)-1; i >= 0; --i)
#define For(i,a,b) for(int i = (a); i <= (b); ++i)
#define Ford(i,a,b) for(int i = (a); i >= (b); --i)

typedef unsigned long long ull;
typedef long long ll;
typedef long double ld;
#define eps 1e-9
typedef pair<int, int> II;
typedef pair<ll, ll> LL;
template<class T> T gcd(T a, T b){ T r; while (b != 0) { r = a % b; a = b; b = r; } return a;}
template<class T> T lcm(T a, T b) { return a / gcd(a, b) * b; }
#define PI (2 * acos((ld)0))
#define linf (1ll << 60)
#define y1 y32432
#define y0 y435346

#define maxn 500005

string s;
int a[maxn];
int f[maxn][30];
int nex[maxn][22];
int n, m;
int q, l, r;

void solve(){
//    freopen("in.txt", "r", stdin);
//    freopen("out.txt", "w", stdout);
    ios::sync_with_stdio(0);
    cin.tie(0);
    m = 'z' - 'a' + 1;
    cin >> s;
    n = sz(s);
    For(i, 1, n){
    	a[i] = s[i - 1] - 'a';
    }
    ms(f, 0x3f);
    Ford(i, n, 1){
    	f[i][a[i]] = i + 1;
    	For(j, a[i], m - 1){
    		if(f[i][j] > n) f[i][j + 1] = n + 1;
    		else{
    			f[i][j + 1] = f[f[i][j]][j];
    		}
    	}
    	For(j, 0, a[i] - 1){
    		if(f[i][m] > n) f[i][j] = n + 1;
    		else f[i][j] = f[f[i][m]][j];
    	}
    }

    For(i, 1, n) nex[i][0] = f[i][m];
    For(t, 0, 20) For(i, 1, n){
    	if(nex[i][t] > n) nex[i][t + 1] = n + 1;
    	else nex[i][t + 1] = nex[nex[i][t]][t];
    }


    cin >> q;
    Rep(run, q){
    	cin >> l >> r;
    	r++;
    	int run = l;
    	Ford(i, 20, 0) {
    		if(run > r) break;
    		if(run == r){
    			break;
    		}
    		if(nex[run][i] <= r){
    			run = nex[run][i];
    		}
    	}
    	if(run == r) cout << "Yes\n";
    	else cout << "No\n";
    }

}

int main()
{
	solve();
    return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:81:13: error: redeclaration of 'int run'
   81 |         int run = l;
      |             ^~~
a.cc:78:9: note: 'int run' previously declared here
   78 |     Rep(run, q){
      |         ^~~
a.cc:17:26: note: in definition of macro 'Rep'
   17 | #define Rep(i,n) for(int i = 0; i < (n); ++i)
      |                          ^
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class Main2 {

    private static String input = "";

    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        input = scanner.nextLine();
        int countOfQuerries = Integer.parseInt(scanner.nextLine());

        ArrayList<String> rawQuerries = new ArrayList<>();
        for (int i = 0; i < countOfQuerries; i++) {
            rawQuerries.add(scanner.nextLine());
        }

        for (int i = 0; i < countOfQuerries; i++) {
            String[] pair = rawQuerries.get(i).split(" ");
            int from = Integer.parseInt(pair[0]) - 1;
            int to = Integer.parseInt(pair[1]) - 1;
            String finalString = convert(from, to);
            if (finalString.isEmpty()) {
                System.out.println("Yes");
            } else {
                System.out.println("No");
            }
        }
    }

    private static String convert(int from, int to) {

        char[] characters = input.toCharArray();
        ArrayList<Character> charList = new ArrayList<>();
        for (int i = from; i <= to; i++) {
            charList.add(characters[i]);
        }
        charList = replace(charList, 0);

        String result = "";
        for (Character c : charList) result += c;
        return result;

    }

    private static ArrayList<Character> replace(ArrayList<Character> input, int from) {
        ArrayList<Character> characters = input;
        if (characters.size() - from >= 2) {
            if (characters.get(from).equals(characters.get(from + 1))) {
                char keyChar = characters.get(from);
                characters.remove(from);
                characters.remove(from);
                if (keyChar != 'z') {
                    keyChar++;
                    characters.add(from, keyChar);
                }
                return replace(characters, 0);
            } else {
                return replace(characters, ++from);
            }

        } else {
            return input;
        }
    }
}


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

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

int n;
int ver[1001] , nxt[2001] , to[2001] , tot;
void addedge(int from , int t)
{nxt[++tot] = ver[from];to[tot] = t;ver[from] = tot;}

const int mod = 1000000007;

int siz[1001];

map<pair<int,int> , int> f[1001];

int mid;

void dfs(int o)
{
	siz[o] = 1;
	map<pair<int,int> , int> g;
	f[o][make_pair(0 , 0)] = 1;
	for(int i = ver[o] ; i ; i = nxt[i])
	{
		if(!siz[to[i]])
		{
			dfs(to[i]);
			for(auto x : f[o])
				for(auto y : f[to[i]])
				{
					if(x.first.first + y.first.second + 1 <= mid && x.first.second + y.first.first <= mid)
					{
						make_pair<int,int> res = make_pair(max(x.first.first , y.first.first) , max(x.first.second , y.first.second + 1));
						g[res] += (long long)x.second * y.second % mod;
						if(g[res] >= mod)
							g[res] -= mod;
					}
					if(x.first.first + y.first.second <= mid && x.first.second + y.first.first + 1 <= mid)
					{
						make_pair<int,int> res = make_pair(max(x.first.first , y.first.first + 1) , max(x.first.second , y.first.second));
						g[res] += (long long)x.second * y.second % mod;
						if(g[res] >= mod)
							g[res] -= mod;
					}
				}
			f[o] = g;
			g.clear();
			siz[o] += siz[to[i]];
		}
	}
}

int main()
{
	scanf("%d" , &n);
	for(int i = 1 ; i < n ; i++)
	{
		int a , b;scanf("%d%d" , &a , &b);
		addedge(a , b);
		addedge(b , a);
	}
	int ll = 0 , rr = n - 1;
	while(ll + 1 < rr)
	{
		mid = (ll + rr) >> 1;
		for(int i = 1 ; i <= n ; i++)
		{
			siz[i] = 0;
			f[i].clear();
		}
		dfs(1);
		if(f[1].size() > 0)
			rr = mid;
		else ll = mid;
	}
	mid = rr;
	for(int i = 1 ; i <= n ; i++)
		siz[i] = 0 , f[i].clear();
	dfs(1);
	int ans = 0;
	for(auto x : f[1])
	{
		ans = (ans + x.second) % mod;
	}
	printf("%d\n" , ans);
	return 0;
}


Compiler output:
a.cc: In function 'void dfs(int)':
a.cc:32:67: error: expected ';' before 'res'
   32 |                                                 make_pair<int,int> res = make_pair(max(x.first.first , y.first.first) , max(x.first.second , y.first.second + 1));
      |                                                                   ^~~~
      |                                                                   ;
a.cc:33:51: error: 'res' was not declared in this scope
   33 |                                                 g[res] += (long long)x.second * y.second % mod;
      |                                                   ^~~
a.cc:39:67: error: expected ';' before 'res'
   39 |                                                 make_pair<int,int> res = make_pair(max(x.first.first , y.first.first + 1) , max(x.first.second , y.first.second));
      |                                                                   ^~~~
      |                                                                   ;
a.cc:40:51: error: 'res' was not declared in this scope
   40 |                                                 g[res] += (long long)x.second * y.second % mod;
      |                                                   ^~~
Language: C++

#include <iostream> 

int main () {
	int n, rest, divRes;
  
  	std::in >> n;
  
  	rest = n % 15;
  	divRes = (n - rest) / 15
      
    std::out << n * 800 - divRes * 200 << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 'in' is not a member of 'std'; did you mean 'min'?
    6 |         std::in >> n;
      |              ^~
      |              min
a.cc:9:33: error: expected ';' before 'std'
    9 |         divRes = (n - rest) / 15
      |                                 ^
      |                                 ;
   10 | 
   11 |     std::out << n * 800 - divRes * 200 << std::endl;
      |     ~~~
Language: C

#include<stdio.h>

int main(){
    int n;
    scanf("%d",&n);

    int sum=800*n-200*(n/15);
    printf("%d\n",sum);
    return
}

Compiler output:
main.c: In function 'main':
main.c:10:1: error: expected expression before '}' token
   10 | }
      | ^
Language: C

#include<bits/stdc++.h>
using namespace std;
typedef long long int  ll;
typedef vector<int> vi;
typedef pair<int,int> pi;
#define txt freopen("ip.txt", "r", stdin); freopen("op.txt", "w", stdout)
#define a3 INT_MAX
#define i3 INT_MIN
#define a6 INT64_MAX
#define i6 INT64_MIN
#define F first
#define S second
#define PB push_back
#define MP make_pair
#define fo(i,n) for(i=0;i<n;i++)
#define Fo(i,k,n) for(i=k;k<n?i<n:i>n;k<n?i+=1:i-=1)
#define quickie ios_base::sync_with_stdio(false); cin.tie(NULL);
#define div2(a) (!(a&1))
#define deb(x) cout<<(#x)<<" "<<(x)<<"\n";
#define newl cout<<"\n" 
#define all(s) s.begin(),s.end()
#define pi 3.14159265358979323846
#define fp(x) fixed<<setprecision(x)<<
template<class T>
T mod(T a){
    if(a < 0){
        a += 1000000007;
    }
    return a%1000000007; 
}
template<class T>
T addmod(T a, T b){
    return (mod(a) + mod(b)) % 1000000007;
}
template<class T>
T prodmod(T a, T b){
    return (mod(a) * mod(b)) % 1000000007;
}
template<class T>
T bin_exp(T a, T b)
{
    T res = 1;
    T temp = 1;
    if (b <= 1)
        return a;
    if (b %2 == 0)
        res = bin_exp(a * a, b / 2);
    else
    {
        res *= a;
        temp = bin_exp(a, --b);
    }
    return res * temp;
}
template<class T>
T bin_expmod(T a, T b)
{
    T res = 1;
    T temp = 1;
    if (b <= 1)
        return a;
    if (b %2 == 0)
        res = bin_expmod(prodmod(a,a), b / 2);
    else
    {
        res = prodmod(a,res);
        temp = bin_exp(a, --b);
    }
    return prodmod(res , temp);
}

template<class T>
int digit(T a)
{
    vector<long long> dig = {
        0,
        9,
        99,
        999,
        9999,
        99999,
        999999,
        9999999,
        99999999,
        999999999,
        9999999999,
        99999999999,
        999999999999,
        9999999999999,
        99999999999999,
        999999999999999,
        9999999999999999,
        99999999999999999,
        999999999999999999,
        INT64_MAX};
    auto it = lower_bound(dig.begin(), dig.end(), a);
    int idx = (it - dig.begin());
    return idx;
}
template<class T>
int sumAllInts(T n){
    int a = 1;
    int su = 0;
    while(n){
        su += n%10;
        n/=10;
    }
    return su;
}
template<class T>
void split(char c,T s){
    int n = s.size();
    int i = 0;
    while ((cout<<s[i],i+=1) && (i<n) && (cout<<c<<' '));
}
void solve(){
    long long int N;
    cin>>N;
    cout<<(800*N)-((N/15)*200)<<endl;
}
int main(){
    quickie;
    
    int t=1;
    while(t--){
        solve(); 
        newl; 
    } 
    return 0;
}

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

#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
using namespace std;
int main() {
	int n;
	cin >> n;
	cout << n * x + n / 15;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:21: error: 'x' was not declared in this scope
    9 |         cout << n * x + n / 15;
      |                     ^
Language: C++

include<iostream>
using namespace std;

int main()
{
  int n;cin>>n;
  cout<<800*n - (n/15)*200<<endl;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |   int n;cin>>n;
      |         ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<800*n - (n/15)*200<<endl;
      |   ^~~~
a.cc:7:29: error: 'endl' was not declared in this scope
    7 |   cout<<800*n - (n/15)*200<<endl;
      |                             ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin >> x;
  cout << x*800-x/15*200
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: expected ';' before '}' token
    6 |   cout << x*800-x/15*200
      |                         ^
      |                         ;
    7 | }
      | ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x;
  cin x;
  cout << x*800-x/15*200
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: expected ';' before 'x'
    5 |   cin x;
      |      ^~
      |      ;
a.cc:6:25: error: expected ';' before '}' token
    6 |   cout << x*800-x/15*200
      |                         ^
      |                         ;
    7 | }
      | ~
Language: C++

# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

N = INT()
print(N * 800 - 200 * (N // 15))


Compiler output:
a.cc:1:3: error: invalid preprocessing directive ##
    1 | # # Make IO faster
      |   ^
a.cc:2:3: warning: #import is a deprecated GCC extension [-Wdeprecated]
    2 | # import sys
      |   ^~~~~~
a.cc:2:10: error: #import expects "FILENAME" or <FILENAME>
    2 | # import sys
      |          ^~~
a.cc:3:3: error: invalid preprocessing directive #input
    3 | # input = sys.stdin.readline
      |   ^~~~~
a.cc:5:3: error: invalid preprocessing directive ##
    5 | # # get single (or) multiple str
      |   ^
a.cc:6:3: error: invalid preprocessing directive #X
    6 | # X = input()
      |   ^
a.cc:8:3: error: invalid preprocessing directive ##
    8 | # # get single int
      |   ^
a.cc:9:3: error: invalid preprocessing directive #N
    9 | # N = int(input())
      |   ^
a.cc:10:3: error: invalid preprocessing directive ##
   10 | # # get multiple int (e.g., 2)
      |   ^
a.cc:11:3: error: invalid preprocessing directive #X
   11 | # X, Y = map(int, input().split())
      |   ^
a.cc:12:3: error: invalid preprocessing directive ##
   12 | # # get multiple int (e.g., 2) for N lines
      |   ^
a.cc:13:3: error: invalid preprocessing directive #XY
   13 | # XY = [list(map(int, input().split())) for _ in range(N)]
      |   ^~
a.cc:15:3: error: invalid preprocessing directive #from
   15 | # from IPython import embed; embed(); exit();
      |   ^~~~
a.cc:17:3: error: invalid preprocessing directive #\U00005168\U000090e8\U00005165\U0000308a
   17 | # 全部入り
      |   ^~~~~~~~
a.cc:36:13: warning: multi-character character constant [-Wmultichar]
   36 | INF = float('inf')
      |             ^~~~~
a.cc:18:1: error: 'import' does not name a type
   18 | import sys, re
      | ^~~~~~
a.cc:18:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C

#include<stdio.h>
int main(void){
    int N = 0;
    int x = 0,y = 0;
    scanf("%d",&N);
    x = N * 800;
    y = 200*"N / 15";
    printf("%d",x-y);
    return 0;

}


Compiler output:
main.c: In function 'main':
main.c:7:12: error: invalid operands to binary * (have 'int' and 'char *')
    7 |     y = 200*"N / 15";
      |            ^
      |            |
      |            char *
Language: C++

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

int n, bayar;

int main () {
cin >> n;
bayar=800*n-200*(n/15)
cout << bayar << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:23: error: expected ';' before 'cout'
    8 | bayar=800*n-200*(n/15)
      |                       ^
      |                       ;
    9 | cout << bayar << endl;
      | ~~~~
Language: C++

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

int x, y, n, bayar;

int main () {
cin >> n;
x=800;
y=200;
bayar=(x*n)-y
cout << bayar << endl;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: expected ';' before 'cout'
   10 | bayar=(x*n)-y
      |              ^
      |              ;
   11 | cout << bayar << endl;
      | ~~~~
Language: Java


import java.util.*;

public class Main{
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int x = 800 * n;
        int y = (n - (n % 15)) / 15;
        System.out.printlnn(x - y);
    }
}

Compiler output:
Main.java:11: error: cannot find symbol
        System.out.printlnn(x - y);
                  ^
  symbol:   method printlnn(int)
  location: variable out of type PrintStream
1 error
Language: C++

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

int main(){
  int A;
  cin >> A;
 B = A / 15;
  cout << 800 * A - 200 * B << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:2: error: 'B' was not declared in this scope
    7 |  B = A / 15;
      |  ^
Language: C++

/**
 * auther: moririn_cocoa
 */
// #pragma GCC target("avx")  // CPU 処理並列化
// #pragma GCC optimize("O3")  // CPU 処理並列化
// #pragma GCC optimize("unroll-loops")  // 条件処理の呼び出しを減らす
// #define BEGIN_STACK_EXTEND(size) void * stack_extend_memory_ = malloc(size);void * stack_extend_origin_memory_;char * stack_extend_dummy_memory_ = (char*)alloca((1+(int)(((long long)stack_extend_memory_)&127))*16);*stack_extend_dummy_memory_ = 0;asm volatile("mov %%rsp, %%rbx\nmov %%rax, %%rsp":"=b"(stack_extend_origin_memory_):"a"((char*)stack_extend_memory_+(size)-1024));
// #define END_STACK_EXTEND asm volatile("mov %%rax, %%rsp"::"a"(stack_extend_origin_memory_));free(stack_extend_memory_)

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
#include <stdio.h>
#include <stdlib.h>
using namespace std;

#define rep(i,n) for(int i=0;i<(n);i++)
#define per(i,a,n) for (int i=n-1;i>=a;i--)
#define pb push_back
#define mp make_pair
#define eb emplace_back
#define all(x) (x).begin(),(x).end()
#define SZ(x) ((int)(x).size())
#define fi first
#define se second

int main(int argc, char* argv[]) {
  
  int N;
  
  cin >> N;
  
  if ( N < 15 ) {
    
    cout << N * 800 << endl;
  }
  
  else if ( 15 <= N && N < 30 ) {
    
    cout << N * 800 - 200 << endl;
  }
  
  else if ( 30 <= N && N < 45 ) {
    
    cout << N * 800 - 400 << endl;
  }
  
  else if ( 45 <= N && N < 60 ) {
    
    cout << N * 800 - 600 << endl;
  }
  
  else if ( 60 <= N && N < 75 ) {
    
    cout << N * 800 - 800 << endl;
  }
  
  else if ( 75 <= N && N < 90 ) {
    
    cout << N * 800 - 1000 << endl;
  }
  
  else {
    
    cout << N * 800 - 1200 << endl;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:84:2: error: expected '}' at end of input
   84 | }
      |  ^
a.cc:43:34: note: to match this '{'
   43 | int main(int argc, char* argv[]) {
      |                                  ^
Language: C++

/**
 * auther: moririn_cocoa
 */
// #pragma GCC target("avx")  // CPU 処理並列化
// #pragma GCC optimize("O3")  // CPU 処理並列化
// #pragma GCC optimize("unroll-loops")  // 条件処理の呼び出しを減らす
// #define BEGIN_STACK_EXTEND(size) void * stack_extend_memory_ = malloc(size);void * stack_extend_origin_memory_;char * stack_extend_dummy_memory_ = (char*)alloca((1+(int)(((long long)stack_extend_memory_)&127))*16);*stack_extend_dummy_memory_ = 0;asm volatile("mov %%rsp, %%rbx\nmov %%rax, %%rsp":"=b"(stack_extend_origin_memory_):"a"((char*)stack_extend_memory_+(size)-1024));
// #define END_STACK_EXTEND asm volatile("mov %%rax, %%rsp"::"a"(stack_extend_origin_memory_));free(stack_extend_memory_)

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
#include <stdio.h>
#include <stdlib.h>
using namespace std;

#define rep(i,n) for(int i=0;i<(n);i++)
#define per(i,a,n) for (int i=n-1;i>=a;i--)
#define pb push_back
#define mp make_pair
#define eb emplace_back
#define all(x) (x).begin(),(x).end()
#define SZ(x) ((int)(x).size())
#define fi first
#define se second

int main(void) {
  
  int N;
  
  cin >> N;
  
  if ( N < 15 ) {
    
    cout << N * 800 << endl;
  }
  
  else if ( 15 <= N < 30 ) {
    
    cout << N * 800 - 200 << endl;
  }
  
  else if ( 30 <= N < 45 ) {
    
    cout << N * 800 - 400 << endl;
  }
  
  else if ( 45 <= N < 60 ) {
    
    cout << N * 800 - 600 << endl;
  }
  
  else if ( 60 <= N < 75 ) {
    
    cout << N * 800 - 800 << endl;
  }
  
  else if ( 75 <= N < 90 ) {
    
    cout << N * 800 - 1000 << endl;
  }
  
  else {
    
    cout << N * 800 - 1200 << endl;
    
    return 0;
}


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

/**
 * auther: moririn_cocoa
 */
// #pragma GCC target("avx")  // CPU 処理並列化
// #pragma GCC optimize("O3")  // CPU 処理並列化
// #pragma GCC optimize("unroll-loops")  // 条件処理の呼び出しを減らす
// #define BEGIN_STACK_EXTEND(size) void * stack_extend_memory_ = malloc(size);void * stack_extend_origin_memory_;char * stack_extend_dummy_memory_ = (char*)alloca((1+(int)(((long long)stack_extend_memory_)&127))*16);*stack_extend_dummy_memory_ = 0;asm volatile("mov %%rsp, %%rbx\nmov %%rax, %%rsp":"=b"(stack_extend_origin_memory_):"a"((char*)stack_extend_memory_+(size)-1024));
// #define END_STACK_EXTEND asm volatile("mov %%rax, %%rsp"::"a"(stack_extend_origin_memory_));free(stack_extend_memory_)

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
#include <stdio.h>
#include <stdlib.h>
using namespace std;

#define rep(i,n) for(int i=0;i<(n);i++)
#define per(i,a,n) for (int i=n-1;i>=a;i--)
#define pb push_back
#define mp make_pair
#define eb emplace_back
#define all(x) (x).begin(),(x).end()
#define SZ(x) ((int)(x).size())
#define fi first
#define se second

int main(int argc, char* argv[]) {
  
  int N;
  
  cin >> N;
  
  if ( N < 15 ) {
    
    cout << N * 800 << endl;
  }
  
  else if ( 15 <= N < 30 ) {
    
    cout << N * 800 - 200 << endl;
  }
  
  else if ( 30 <= N < 45 ) {
    
    cout << N * 800 - 400 << endl;
  }
  
  else if ( 45 <= N < 60 ) {
    
    cout << N * 800 - 600 << endl;
  }
  
  else if ( 60 <= N < 75 ) {
    
    cout << N * 800 - 800 << endl;
  }
  
  else if ( 75 <= N < 90 ) {
    
    cout << N * 800 - 1000 << endl;
  }
  
  else {
    
    cout << N * 800 - 1200 << endl;
    
    return 0;
}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:84:2: error: expected '}' at end of input
   84 | }
      |  ^
a.cc:43:34: note: to match this '{'
   43 | int main(int argc, char* argv[]) {
      |                                  ^
Language: C++

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

int main() {
  int N;
  cin>>N;
  int sum =800*N-200(N/15);
  cout<<sum<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expression cannot be used as a function
    7 |   int sum =800*N-200(N/15);
      |                  ~~~^~~~~~
Language: Java

import java.util.Scanner;

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

    Scanner sc = new Scanner ( System.in );
    
    int N = sc.nextInt();
    
    x = 800 * N;
    y = 200 * (N / 15);
  
    System.out.println(x-y);   
  }
}

Compiler output:
Main.java:4: error: ',', ')', or '[' expected
  public static void main ( String[] args {
                                         ^
1 error
Language: Java

import java.util.*;

public class Main{
	
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
  	int sc.nextInt(),x=0,y=0;
    for(int i=1;i<n;i++){
      x+=800;
      if(i%15==0){
        y+=200;
      }
    }
    System.out.println(x-y);
  }
}


Compiler output:
Main.java:7: error: ';' expected
  	int sc.nextInt(),x=0,y=0;
  	      ^
Main.java:7: error: ';' expected
  	int sc.nextInt(),x=0,y=0;
  	                ^
Main.java:7: error: ';' expected
  	int sc.nextInt(),x=0,y=0;
  	                    ^
3 errors
Language: C++

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

int main() {
  int N, x, y;
  cin >> N;
  
  x = N*800
  y = N/15*200
  
  cout << x-y << endl;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected ';' before 'y'
    8 |   x = N*800
      |            ^
      |            ;
    9 |   y = N/15*200
      |   ~
Language: C

#include<stdio.h>

int main(void)
{
  int N;
  int x=800*N;
  int y=N/15;
  int z=0;
  printf("何食分食べましたか？");
    scanf("%d",&N);
  if(N<1&&N>100){
    printf("１～100で入力しください。");
  }
  else(y<1){
    printf("z=x¥n",z);
  }
  else(y>=1&&2<y){
    printf("z=x-200",z);
  }
  else(y>=2&&3<y){
    printf("z=x-400",z);
  }
  else(y>=3&&4<y){
    printf("z=x-600",z);
  }
  else(y>=4&&5<y){
    printf("z=x-800",z);
  }
  else(y>=5&&6<y){
    printf("z=x-1000",z);
  }
  else(y>=6&&7<y){
    printf("z=x-1200",z);
  }
  return(0);
}


Compiler output:
main.c: In function 'main':
main.c:14:12: error: expected ';' before '{' token
   14 |   else(y<1){
      |            ^
      |            ;
Language: C

#include<stdio.h>
int main(){
    int N, x, y;

    scanf("%d",&N);

    x = 800*N;
    y = N/15*200;


    printf("%d",&(x-y));

    return 0;    
}

Compiler output:
main.c: In function 'main':
main.c:11:17: error: lvalue required as unary '&' operand
   11 |     printf("%d",&(x-y));
      |                 ^
Language: C

#include<stdio.h>
int main(){
    int N, x, y, A;

    scanf("%d",N);

    A = 800*N-N/15*200;

    printf("%d",A);

    return0;    
}

Compiler output:
main.c: In function 'main':
main.c:11:5: error: 'return0' undeclared (first use in this function)
   11 |     return0;
      |     ^~~~~~~
main.c:11:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C

include<stdio.h>
int main(){
    int N, x, y, A;

    scanf("%d",N);

    A = 800*N-N/15*200;

    printf("%d",A);

    return0;    
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: Java


package javaapplication127;
import java.util.*;

public class JavaApplication127 {

  
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int cost = n*800;
        int ref = (n/15)*200;
        int y = cost-ref;
        System.out.println(y);
    }
    
}


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

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

int main(){
  int N;
  cin >> N;
  
  int a=N/15;
  
  cout << N*800-a*200 <, endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: expected primary-expression before ',' token
   10 |   cout << N*800-a*200 <, endl;
      |                        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define ll long long int
#define rep(i, n) for(int i = 0; i < n; i++)
#define sort(v) sort((v).begin(), (v).end())
using vi = vector<int>;
const int MOD = 1e9+7;
 
bool IsPrime(int num){
    if (num < 2) return false;
    else if (num == 2) return true;
    else if (num % 2 == 0) return false; // 偶数はあらかじめ除く
    double sqrtNum = sqrt(num);
    for (int i = 3; i <= sqrtNum; i += 2) { if (num % i == 0) return false; }
    return true;
}
 
int main() {
	int N;
  	cin N;
  	int x,y;
  	x = 800*N;
  	y = 200*(N/15);
    cout << x-y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:12: error: expected ';' before 'N'
   21 |         cin N;
      |            ^~
      |            ;
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define ll long long int
#define rep(i, n) for(int i = 0; i < n; i++)
#define sort(v) sort((v).begin(), (v).end())
using vi = vector<int>;
const int MOD = 1e9+7;

bool IsPrime(int num){
    if (num < 2) return false;
    else if (num == 2) return true;
    else if (num % 2 == 0) return false; // 偶数はあらかじめ除く
    double sqrtNum = sqrt(num);
    for (int i = 3; i <= sqrtNum; i += 2) { if (num % i == 0) return false; }
    return true;
}

int main() {
	int N;
  	cin N;
  	int x,y;
  	x = 800*N;
  	y = 200*(N/15)
    cout << x-y << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:12: error: expected ';' before 'N'
   21 |         cin N;
      |            ^~
      |            ;
a.cc:24:23: error: expected ';' before 'cout'
   24 |         y = 200*(N/15)
      |                       ^
      |                       ;
   25 |     cout << x-y << endl;
      |     ~~~~
Language: Java

import java.util.*;

public class Main {
    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        System.out.println(800 * n - 200 * (n / 15);
    }
}

Compiler output:
Main.java:7: error: ')' or ',' expected
        System.out.println(800 * n - 200 * (n / 15);
                                                   ^
1 error
Language: C++

#include <cstdio>
#include <cstring>
#include <cmath>
#include <utility>
#include <iostream>
#include <functional>
#include <bitset>
#include <algorithm>
#include <vector>
#include <forward_list>
#include <set>
#include <map>
#include <queue>
#include <deque>
#include <stack>
#include <numeric>
#define ll long long int
#define rep(i,n) for(int i=0;i<(n);i++)
using namespace std;
int mx4[] = {0,1,0,-1};
int my4[] = {1,0,-1,0};


//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

int main(){
    int n; cin >> n;
    int o = n / 15;
    int x = 800 * n; 
    int y = o * 200;
    cour << x - y << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:5: error: 'cour' was not declared in this scope
   31 |     cour << x - y << endl;
      |     ^~~~
Language: Java

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		System.out.println(N*800-N/15*200);
	}
}

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

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

int main() {
  int N;
  cin >>N;
  int x,y;
  x = 800*N;
  y = (N/15)*200
  cout << x-y << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 'cout'
    9 |   y = (N/15)*200
      |                 ^
      |                 ;
   10 |   cout << x-y << endl;
      |   ~~~~
Language: C++

#include <bits/stdc++.h>

int main() {
  int N;
  cin >> N;
  
  int a = N / 15;
  
  cout << 800 * N - 200 * a << endl;
}

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 >> N;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << 800 * N - 200 * a << 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:9:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout << 800 * N - 200 * a << 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 << n*800 - (n/15)*200;
  	return 0;
}



Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | 
    5 | int main()
      | ~~~
Language: C

#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
cout<<n*800-(n/15)*200<<endl;
}

#include<stdio.h>
int main(void){
  int n;
  scanf("%d",&n);
  int ans=n*800-(n/15)*200;
  printf("%d",ans);
  return 0;
}

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

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

int main() {
  
  int n,
  cin >> n;
  
  cout << 800 * n -  ( n / 15 ) * 200 << endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: expected initializer before '>>' token
    7 |   cin >> n;
      |       ^~
Language: Java

import java.util.*;
class Main{
  public static void main(String[] args){
    Scanner stdIn.new Scanner(System.in);
    int n=stdIn.nextInt();
    int y=(n/15)*200;
    int x=n*800;
    System.out.println(x-y);
  }
}
    

Compiler output:
Main.java:4: error: ';' expected
    Scanner stdIn.new Scanner(System.in);
                 ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int n, int s;
  cin >> n;
  s = n * 800 - n * 200 / 15;
  cout << s;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected unqualified-id before 'int'
    5 |   int n, int s;
      |          ^~~
a.cc:7:3: error: 's' was not declared in this scope
    7 |   s = n * 800 - n * 200 / 15;
      |   ^
Language: C++

import sys
sys.setrecursionlimit(10**6)
from math import floor,ceil,sqrt,factorial,log
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from operator import itemgetter
from fractions import gcd
mod = 10 ** 9 + 7
inf = float('inf')
ninf = -float('inf')
 
#整数input
def ii(): return int(sys.stdin.readline().rstrip()) #int(input())
def mii(): return map(int,sys.stdin.readline().rstrip().split())
def limii(): return list(mii()) #list(map(int,input().split()))
def lin(n:int): return [ii() for _ in range(n)]
def llint(n: int): return [limii() for _ in range(n)]
#文字列input
def ss(): return sys.stdin.readline().rstrip() #input()
def mss(): return sys.stdin.readline().rstrip().split()
def limss(): return list(mss()) #list(input().split())
def lst(n:int): return [ss() for _ in range(n)]
def llstr(n: int): return [limss() for _ in range(n)]

#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？
#本当に貪欲法か？ DP法では？？

n=ii()

print(n*800-(n//15)*200)

Compiler output:
a.cc:12:13: warning: multi-character character constant [-Wmultichar]
   12 | inf = float('inf')
      |             ^~~~~
a.cc:13:15: warning: multi-character character constant [-Wmultichar]
   13 | ninf = -float('inf')
      |               ^~~~~
a.cc:15:2: error: invalid preprocessing directive #\U00006574\U00006570input
   15 | #整数input
      |  ^~~~~~~~~
a.cc:16:53: error: stray '#' in program
   16 | def ii(): return int(sys.stdin.readline().rstrip()) #int(input())
      |                                                     ^
a.cc:18:33: error: stray '#' in program
   18 | def limii(): return list(mii()) #list(map(int,input().split()))
      |                                 ^
a.cc:21:2: error: invalid preprocessing directive #\U00006587\U00005b57\U00005217input
   21 | #文字列input
      |  ^~~~~~~~~~~
a.cc:22:48: error: stray '#' in program
   22 | def ss(): return sys.stdin.readline().rstrip() #input()
      |                                                ^
a.cc:24:33: error: stray '#' in program
   24 | def limss(): return list(mss()) #list(input().split())
      |                                 ^
a.cc:28:2: error: invalid preprocessing directive #\U0000672c\U00005f53\U0000306b\U00008caa\U00006b32\U00006cd5\U0000304b\U0000ff1f
   28 | #本当に貪欲法か？ DP法では？？
      |  ^~~~~~~~~~~~~~~~
a.cc:29:2: error: invalid preprocessing directive #\U0000672c\U00005f53\U0000306b\U00008caa\U00006b32\U00006cd5\U0000304b\U0000ff1f
   29 | #本当に貪欲法か？ DP法では？？
      |  ^~~~~~~~~~~~~~~~
a.cc:30:2: error: invalid preprocessing directive #\U0000672c\U00005f53\U0000306b\U00008caa\U00006b32\U00006cd5\U0000304b\U0000ff1f
   30 | #本当に貪欲法か？ DP法では？？
      |  ^~~~~~~~~~~~~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

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

int main(){
    int n;
    cin >> n;
    int ans ＝ n*800 - (n/15)*200;
    cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected initializer before '\U0000ff1d'
    7 |     int ans ＝ n*800 - (n/15)*200;
      |             ^~
a.cc:8:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
    8 |     cout << ans << endl;
      |             ^~~
      |             abs
Language: C++

#include<iostream>
#include<math>

using namespace std;

int main()
{
    int a;
    cin >> a ;

    cout << ((800*a)-((a*200)/15)) << endl ;
    return 0;

}

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

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


#define f(i,a,b) for(int i=(int)(a);i<=(int)(b);i++)
#define char_f(i,a) for(int i=(int)(a);(char)s[i]!='\0';i++)
#define rf(i,a,b) for(int i=(int)(b);i>=(int)(a);i--)
#define llf(i,a,b) for(long long int i=(long long int)(a);i<=(long long int)(b);i++)
#define llrf(i,a,b) for(long long int i=(long long int)(b);i>=(long long int)(a);i--)



#define ll long long
#define fi first
#define se second
#define pb push_back
#define pop pop_back
#define mem(ara) memset((ara),0,sizeof(ara))
#define memn(ara) memset((ara),-1,sizeof(ara))
#define b begin()
#define e end()
#define em emplace
#define eb emplace_back





#define si set<int>
#define sd set<double>
#define sll set<long long int>
#define ss set<string>
#define sc set<char>

#define pii pair<int,int>
#define pli pair<long long int,int>
#define pil pair<int,long long int>
#define pll pair<long long int,long long int>
#define pci pair<char,int>
#define pic pair<int,char>
#define pcl pair<char,long long int>
#define plc pair<long long int,char>

#define pss pair<string,string>
#define pcc pair<char,char>

#define pis pair<int,string>
#define psi pair<string,int>
#define pls pair<long long int,string>
#define psl pair<string,long long int>
#define pdd pair<double,double>
#define pcs pair<char,string>
#define psc pair<string,char>



#define vi  vector<int>
#define vll vector<long long int>
#define vd vector<double>
#define vs vector<string>
#define vc vector<char>
#define vii vector<pii>



#define mod 1000000007
#define mx (1<<30)-1
#define llmx (1ll<<62)
#define n_size 100005
#define g_size 10000005
double PI=acos(-1);



///unsigned int uMAX=4294967295;
///unsigned ll int ullMAX=18446744073709551615;



int arr[g_size];





int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);

	int n,m,T,res;

	int maxi=mx,mini=-mx,count=0;

    	int i,j,k;

	string s1,s2;

	char s[100000];

	int ara1[n_size],ara2[n_size];

	cin>>n;

	cout<<(n*800)-(n/15)*200<<endl;



}


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

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


#define f(i,a,b) for(int i=(int)(a);i<=(int)(b);i++)
#define char_f(i,a) for(int i=(int)(a);(char)s[i]!='\0';i++)
#define rf(i,a,b) for(int i=(int)(b);i>=(int)(a);i--)
#define llf(i,a,b) for(long long int i=(long long int)(a);i<=(long long int)(b);i++)
#define llrf(i,a,b) for(long long int i=(long long int)(b);i>=(long long int)(a);i--)



#define ll long long
#define fi first
#define se second
#define pb push_back
#define pop pop_back
#define mem(ara) memset((ara),0,sizeof(ara))
#define memn(ara) memset((ara),-1,sizeof(ara))
#define b begin()
#define e end()
#define em emplace
#define eb emplace_back





#define si set<int>
#define sd set<double>
#define sll set<long long int>
#define ss set<string>
#define sc set<char>

#define pii pair<int,int>
#define pli pair<long long int,int>
#define pil pair<int,long long int>
#define pll pair<long long int,long long int>
#define pci pair<char,int>
#define pic pair<int,char>
#define pcl pair<char,long long int>
#define plc pair<long long int,char>

#define pss pair<string,string>
#define pcc pair<char,char>

#define pis pair<int,string>
#define psi pair<string,int>
#define pls pair<long long int,string>
#define psl pair<string,long long int>
#define pdd pair<double,double>
#define pcs pair<char,string>
#define psc pair<string,char>



#define vi  vector<int>
#define vll vector<long long int>
#define vd vector<double>
#define vs vector<string>
#define vc vector<char>
#define vii vector<pii>



#define mod 1000000007
#define mx (1<<30)-1
#define llmx (1ll<<62)
#define n_size 100005
#define g_size 10000005
double PI=acos(-1);



///unsigned int uMAX=4294967295;
///unsigned ll int ullMAX=18446744073709551615;



int arr[g_size];





int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);

	int n,m,T,res;

	int maxi=mx,mini=-mx,count=0;

    	int i,j,k;

	string s1,s2;

	char s[100000];

	int ara1[n_size],ara2[n_size];

	cin>>n;

	cout<<(n*800)-(n/15)*200<<endl;



}


Compiler output:
a.cc:72:11: error: 'acos' was not declared in this scope
   72 | double PI=acos(-1);
      |           ^~~~
Language: C++

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


#define f(i,a,b) for(int i=(int)(a);i<=(int)(b);i++)
#define char_f(i,a) for(int i=(int)(a);(char)s[i]!='\0';i++)
#define rf(i,a,b) for(int i=(int)(b);i>=(int)(a);i--)
#define llf(i,a,b) for(long long int i=(long long int)(a);i<=(long long int)(b);i++)
#define llrf(i,a,b) for(long long int i=(long long int)(b);i>=(long long int)(a);i--)



#define ll long long
#define fi first
#define se second
#define pb push_back
#define pop pop_back
#define mem(ara) memset((ara),0,sizeof(ara))
#define memn(ara) memset((ara),-1,sizeof(ara))
#define b begin()
#define e end()
#define em emplace
#define eb emplace_back





#define si set<int>
#define sd set<double>
#define sll set<long long int>
#define ss set<string>
#define sc set<char>

#define pii pair<int,int>
#define pli pair<long long int,int>
#define pil pair<int,long long int>
#define pll pair<long long int,long long int>
#define pci pair<char,int>
#define pic pair<int,char>
#define pcl pair<char,long long int>
#define plc pair<long long int,char>

#define pss pair<string,string>
#define pcc pair<char,char>

#define pis pair<int,string>
#define psi pair<string,int>
#define pls pair<long long int,string>
#define psl pair<string,long long int>
#define pdd pair<double,double>
#define pcs pair<char,string>
#define psc pair<string,char>



#define vi  vector<int>
#define vll vector<long long int>
#define vd vector<double>
#define vs vector<string>
#define vc vector<char>
#define vii vector<pii>



#define mod 1000000007
#define mx (1<<30)-1
#define llmx (1ll<<62)
#define n_size 100005
#define g_size 10000005
double PI=acos(-1);



///unsigned int uMAX=4294967295;
///unsigned ll int ullMAX=18446744073709551615;



int arr[g_size];





int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(nullptr);
	cout.tie(nullptr);

	int n,m,T,res;

	int maxi=mx,mini=-mx,count=0;

    	int i,j,k;

	string s1,s2;

	char s[100000];

	int ara1[n_size],ara2[n_size];

	cin>>n;

	cout<<(n*800)-(n/15)*200<<endl;



}


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

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		int y = 200 * (N / 15);
		int x = 800 * N ;
		int receivedPrice = x - y;
		
		System.out.println(receivedPrice);

	}
}


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

public class Restaurant {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int N = sc.nextInt();
		
		int y = 200 * (N / 15);
		int x = 800 * N ;
		int receivedPrice = x - y;
		
		System.out.println(receivedPrice);

	}
}


Compiler output:
Main.java:1: error: class Restaurant is public, should be declared in a file named Restaurant.java
public class Restaurant {
       ^
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Restaurant
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Restaurant
3 errors
Language: C++

#include <bits/stdc++.h>
#define FOR(i, a, n) for(int (i) = (int)(a); (i) < (int)(n); ++(i))
#define FORe(i, a, n) for(int (i) = (int)(a); (i) <= (int)(n); ++(i))
#define rFOR(i, a, n) for(int (i) = (int)(n)-1; (i) >= (int)(a); --(i))
#define REP(i, n) FOR((i), 0, (n))
#define REPe(i, n) FORe((i), 0, (n))
#define rREP(i, n) rFOR((i), 0, (n))
#define all(v) (v).begin(), (v).end()
using namespace std;
using ll = long long;
using P = pair<int,int>;

int main() {
  int n;
  cin >> n;
  int x = 800*n;
  int y += n/15*200;
  cout << x-y << endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:9: error: expected initializer before '+=' token
   17 |   int y += n/15*200;
      |         ^~
a.cc:18:13: error: 'y' was not declared in this scope
   18 |   cout << x-y << endl;
      |             ^