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

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

  int N;
  cin >> N;
  int x=N*800
  cin >> x;
  int y=N/15*20
  cin >> y;

  cout << x-y << endl;
 


Compiler output:
a.cc:5:3: error: 'cin' does not name a type
    5 |   cin >> N;
      |   ^~~
a.cc:7:3: error: expected ',' or ';' before 'cin'
    7 |   cin >> x;
      |   ^~~
a.cc:9:3: error: expected ',' or ';' before 'cin'
    9 |   cin >> y;
      |   ^~~
a.cc:11:3: error: 'cout' does not name a type
   11 |   cout << x-y << endl;
      |   ^~~~
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n  = Integer.parseInt(in.nextLine());
		int mealPrice = 800;
		int discount = 200;
		int discountPoint = 15;
		
		int x = n * mealPrice;
		int y = (n / discountPoint) * discount;
		System.out.println(x - y);
	}


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

public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int n  = Integer.parseInt(in.nextLine());
		int mealPrice = 800;
		int discount = 200;
		int discountPoint = 15;
		
		int x = n * mealPrice;
		int y = (n / discountPoint) * discount;
		System.out.println(x - y);
	}

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

#include <iostream>

using namespace std;

int main(void){

    int a;

    cin >> a;

    int b==a/15

    cout << "800*a-200*b" << endl;
    
    return 0;
    }


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: expected initializer before '==' token
   11 |     int b==a/15
      |          ^~
Language: C++

#include<iostream> 
using namespace std; 
  
int main ()
{
 int x,z,a,b;
  cin>>x;
  z=x*800;
  if (x>15){
    a=x/15;
  b=z-(a*200);
    cout<<b;
  else
    cout<<z;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: expected '}' before 'else'
   13 |   else
      |   ^~~~
a.cc:9:12: note: to match this '{'
    9 |   if (x>15){
      |            ^
Language: Java

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

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

        System.out.println(800 * n - (n/15 *200));
    
        }        
    }



Compiler output:
Main.java:10: error: cannot find symbol
        n = sc.nextInt();
        ^
  symbol:   variable n
  location: class Main
Main.java:12: error: cannot find symbol
        System.out.println(800 * n - (n/15 *200));
                                 ^
  symbol:   variable n
  location: class Main
Main.java:12: error: cannot find symbol
        System.out.println(800 * n - (n/15 *200));
                                      ^
  symbol:   variable n
  location: class Main
3 errors
Language: C++

#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cmath>
#include<string>

using namespace std;

inline int read(){
    int s=0,w=1,ch=getchar();
    while(ch<'0'||ch>'9')if(ch=='-')w=-1,ch=getchar();
    while(ch>='0'&&ch<='9')s=s*10+ch-'0',ch=getchar();
    return s*w;
}

inline void write(int x)
{
    char F[16]={};int cnt=0;
    if(x==0)
	{
	    putchar('0');
	    return;
	}
    if(x<0)putchar('-');
    while(x)
    {
        F[cnt++]=x%10+'0';
        x/=10;
    }
    while(cnt>0)putchar(F[--cnt]);
}

void freopen_init(){
	freopen(".in","r",stdin);freopen(".out","w",stdout);}

int main()
{
	//freopen_init();
	int reads=read()
	write(reads*800-reads/15*200);
	
	putchar('\n');
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:9: error: expected ',' or ';' before 'write'
   41 |         write(reads*800-reads/15*200);
      |         ^~~~~
Language: Java

#include <string>
#include <vector>
#include <stdlib.h>
#include <iostream>

int main(int argc, char** argv) {
    int n;
    std::cin >> n;
    int spent = n * 800;
    int tmpn = n;
    int discountFactor = 0;
    while (tmpn > 15){
        tmpn /= 15;
        discountFactor++;
    }
    std::cout << spent - 200*discountFactor << std::endl;
    return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <string>
^
Main.java:2: error: illegal character: '#'
#include <vector>
^
Main.java:3: error: illegal character: '#'
#include <stdlib.h>
^
Main.java:4: error: illegal character: '#'
#include <iostream>
^
Main.java:8: error: class, interface, enum, or record expected
    std::cin >> n;
    ^
Main.java:9: error: unnamed classes are a preview feature and are disabled by default.
    int spent = n * 800;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:12: error: class, interface, enum, or record expected
    while (tmpn > 15){
    ^
Main.java:14: error: class, interface, enum, or record expected
        discountFactor++;
        ^
Main.java:15: error: class, interface, enum, or record expected
    }
    ^
Main.java:17: error: class, interface, enum, or record expected
    return 0;
    ^
Main.java:18: error: class, interface, enum, or record expected
}
^
11 errors
Language: Java

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

int main(int argc, char** argv) {
    int n;
    std::cin >> n;
    int spent = n * 800;
    int tmpn = n;
    int discountFactor = 0;
    while (tmpn > 15){
        tmpn /= 15;
        discountFactor++;
    }
    std::cout << spent - 200*discountFactor << std::endl;
    return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <stdio.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <stdio.h>
         ^
Main.java:2: error: illegal character: '#'
#include <string>
^
Main.java:3: error: illegal character: '#'
#include <vector>
^
Main.java:4: error: illegal character: '#'
#include <stdlib.h>
^
Main.java:5: error: illegal character: '#'
#include <iostream>
^
Main.java:9: error: class, interface, enum, or record expected
    std::cin >> n;
    ^
Main.java:10: error: unnamed classes are a preview feature and are disabled by default.
    int spent = n * 800;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:13: error: class, interface, enum, or record expected
    while (tmpn > 15){
    ^
Main.java:15: error: class, interface, enum, or record expected
        discountFactor++;
        ^
Main.java:16: error: class, interface, enum, or record expected
    }
    ^
Main.java:18: error: class, interface, enum, or record expected
    return 0;
    ^
Main.java:19: error: class, interface, enum, or record expected
}
^
13 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:4: error: 'retrun' was not declared in this scope
    9 |    retrun 0;
      |    ^~~~~~
Language: C++

#include<bits/stdc++.h>
sing namespace std;
int n,x,y;
int main()
{
    cin>>n;
    x=n*800;
    y=(n/15)*200;
    cout<<x-y<<endl;
    return 0;
}

Compiler output:
a.cc:2:1: error: 'sing' does not name a type
    2 | sing namespace std;
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     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:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<x-y<<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:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout<<x-y<<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()
{
  ios_bas::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  int n;
  cin >> n;
  
  cout << n * 800 - int(n/15) * 200 << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'ios_bas' has not been declared
    6 |   ios_bas::sync_with_stdio(0); cin.tie(0); cout.tie(0);
      |   ^~~~~~~
Language: C++

#include <algorithm>
#include <assert.h>
#include <bitset>
#include <cfloat>
#include <complex>
#include <deque>
#include <fstream>
#include <functional>
#include <iomanip>
#include <iostream>
#include <limits.h>
#include <list>
#include <map>
#include <math.h>
#include <queue>
#include <random>
#include <set>
#include <stack>
#include <string>
#include <string.h>
#include <time.h>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#define rep(i,n) for(int i=0;i<n;i++)
#define REP(i,n) for(int i=1;i<=n;i++)
#define ll long long
using namespace std;

int y{

    if(n < 15){
        return 0;
    }else if(15 <= n <30){
        return 1;
    }else if(30 <= n <45){
        return 2;
    }else if(45 <= n <60){
        return 3;
    }else if(60 <= n <75){
        return 4;
    }else if(75 <= n <= 100){
        return 5;
    }
}


int main(){

    int n;
    cin >> n;

    int x = 800 * n;
    int y();

    cout << x - y <<endl;
    
}

Compiler output:
a.cc:32:5: error: expected primary-expression before 'if'
   32 |     if(n < 15){
      |     ^~
a.cc:32:5: error: expected '}' before 'if'
a.cc:30:6: note: to match this '{'
   30 | int y{
      |      ^
a.cc:34:6: error: expected unqualified-id before 'else'
   34 |     }else if(15 <= n <30){
      |      ^~~~
a.cc:36:6: error: expected unqualified-id before 'else'
   36 |     }else if(30 <= n <45){
      |      ^~~~
a.cc:38:6: error: expected unqualified-id before 'else'
   38 |     }else if(45 <= n <60){
      |      ^~~~
a.cc:40:6: error: expected unqualified-id before 'else'
   40 |     }else if(60 <= n <75){
      |      ^~~~
a.cc:42:6: error: expected unqualified-id before 'else'
   42 |     }else if(75 <= n <= 100){
      |      ^~~~
a.cc:45:1: error: expected declaration before '}' token
   45 | }
      | ^
a.cc: In function 'int main()':
a.cc:54:10: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   54 |     int y();
      |          ^~
a.cc:54:10: note: remove parentheses to default-initialize a variable
   54 |     int y();
      |          ^~
      |          --
a.cc:54:10: note: or replace parentheses with braces to value-initialize a variable
a.cc: At global scope:
a.cc:54:11: error: 'int y()' redeclared as different kind of entity
   54 |     int y();
      |           ^
a.cc:30:5: note: previous declaration 'int y'
   30 | int y{
      |     ^
a.cc: In function 'int main()':
a.cc:56:15: error: invalid operands of types 'int' and 'int()' to binary 'operator-'
   56 |     cout << x - y <<endl;
      |             ~ ^ ~
      |             |   |
      |             int int()
Language: C++

#include <iostream>
#include <string>
 
int main() {
  int a,b,c;
  std::cin>>a;

  cout << (a*800)-(a/15)*200;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << (a*800)-(a/15)*200;
      |   ^~~~
      |   std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;


int main()
{
    int t,n,d=0,n1,i=0;
    cin>>n;
    d=n/15;
    sum=(n*800)-(d*200);
    cout<<sum;
    
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'sum' was not declared in this scope
   11 |     sum=(n*800)-(d*200);
      |     ^~~
Language: C

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



Compiler output:
main.c: In function 'main':
main.c:10:8: warning: missing terminating " character
   10 | printf("%d',k);
      |        ^
main.c:10:8: error: missing terminating " character
   10 | printf("%d',k);
      |        ^~~~~~~~
main.c:11:1: error: expected expression before 'return'
   11 | return 0;
      | ^~~~~~
main.c:11:10: error: expected ';' before '}' token
   11 | return 0;
      |          ^
      |          ;
   12 | }
      | ~
Language: C++

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

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

}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: expected initializer before '>>' token
    4 |         int n,cin>>n;
      |                  ^~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesace'
    2 | using namesace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   int n;cin>>n;cout<<(n*800-n/15*200)<<endl;
      |         ^~~
      |         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:4:16: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 |   int n;cin>>n;cout<<(n*800-n/15*200)<<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:4:40: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    4 |   int n;cin>>n;cout<<(n*800-n/15*200)<<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<stdio.h>
int main (void) {
 
  int eatCount;
  int count = 15;
  int yen = 800;
  int reyen = 200;
  
  do {
  printf(eatCount:); scanf("%d", &eatCount);
  } while (eatCount < 1 && eatCount > 100);
  printf("%d", (eatCount * yen) - (eatCount / count * reyen) );
 
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:18: error: expected ')' before ':' token
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |         ~        ^
      |                  )
main.c:10:10: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |          ^~~~~~~~
      |          |
      |          int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#inclede<stdio.h>
int main (void) {

  int eatCount;
  int count = 15;
  int yen = 800;
  int reyen = 200;
  
  do {
  printf(eatCount:); scanf("%d", &eatCount);
  } while (eatCount < 1 && eatCount > 100);
  printf("%d", (eatCount * yen) - (eatCount / count * reyen) );

return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclede; did you mean #include?
    1 | #inclede<stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:10:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |   ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | #inclede<stdio.h>
main.c:10:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |   ^~~~~~
main.c:10:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:18: error: expected ')' before ':' token
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |         ~        ^
      |                  )
main.c:10:10: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |          ^~~~~~~~
      |          |
      |          int
main.c:10:10: note: expected 'const char *' but argument is of type 'int'
main.c:10:22: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   10 |   printf(eatCount:); scanf("%d", &eatCount);
      |                      ^~~~~
main.c:10:22: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:22: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
main.c:10:22: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:12:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   12 |   printf("%d", (eatCount * yen) - (eatCount / count * reyen) );
      |   ^~~~~~
main.c:12:3: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

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

int main(){

  int N, a;
  cin >> N;
  
  a = N / 15
    
  cout << 800 * N - a * 200 << endl;

}
  
  

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

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

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

Compiler output:
a.cc:3:9: error: 'vector' does not name a type
    3 | typedef vector<int> vi;
      |         ^~~~~~
a.cc:4:9: error: 'vector' does not name a type
    4 | typedef vector<vector<int>> vvi;
      |         ^~~~~~
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<queue>
#include<map>
#include<math.h>
#include<iomanip>
#include<set>
#include<numeric>
#include<cstring>
#include<cstdio>
#include<functional>
#include<bitset>
#include<limits.h>
#include<cassert>
#include<iterator>
#include<complex>
#include<stack>
#include<sstream>
using namespace std;
typedef  long long int lint;
typedef pair<int, int> P;
typedef pair<lint, lint> LLP;
typedef pair<char, char>CP;
#define rep(i, n) for (int i = 0; i < n; i++)
#define repr(i, n) for (int i = n; i >= 0; i--)
#define sort(v) sort((v).begin(), (v).end())
#define reverse(v) reverse((v).begin(), (v).end())
#define upper(v,hoge) upper_bound(v.begin(),v.end(),hoge)
#define lower(v,hoge) lower_bound(v.begin(),v.end(),hoge)
#define llower(v,hoge) *lower_bound(v.begin(), v.end(), hoge)
#define lupper(v,hoge) *upper_bound(v.begin(), v.end(), hoge)
/*
vector<char>al(26);
al = {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
vector<char>AL(26);
AL = {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
vector<char>NUM(10);
	NUM = { '0','1','2' ,'3' ,'4' ,'5' ,'6' ,'7' ,'8' ,'9' };
*/



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


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

#include "bits/stdc++.h"

#define fi first
#define se second
#define all(x) x.begin(), x.end()
using namespace std;
using ull = unsigned long long;
using ll = long long;

struct __INIT {
    __INIT() {
        cin.tie(nullptr);
        ios::sync_with_stdio(false);
        cout << fixed << setprecision(15);
    }
} __init;

int main() {
    ull N, M;
    cin >> N >> M;
    ll sum = 0;
    if(M <= 1){
        sum = 0;
    }if(2 * N > M){
        sum = min(M / 2, N)
    }else{
        sum = N;
        M -= 2 * N;
        sum += M / 4;
    }
    cout << sum << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:28: error: expected ';' before '}' token
   25 |         sum = min(M / 2, N)
      |                            ^
      |                            ;
   26 |     }else{
      |     ~
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
#include <iomanip>
#include <map>
#include <cstdlib>
#include <cctype>
#include <ctype.h>
#define ll long long
char toupper(char c);
char toupper(char c)
{
    return (c - 0x20);
}
ll GetDigit(ll num)
{
    int n;
    cin >> n;
    cout << n * 800 - n / 15 * 200 << endl;
    return 0;
}


Compiler output:
a.cc: In function 'long long int GetDigit(long long int)':
a.cc:19:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   19 |     cin >> n;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:20:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   20 |     cout << n * 800 - n / 15 * 200 << 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:20:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   20 |     cout << n * 800 - n / 15 * 200 << endl;
      |                                       ^~~~
      |                                       std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: expected ';' before 'printf'
    6 |   y=N/15*200
      |             ^
      |             ;
    7 |   printf("%d", x-y);
      |   ~~~~~~
Language: C++

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

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

import java.util.*;

public class A_55{

	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:3: error: class A_55 is public, should be declared in a file named A_55.java
public class A_55{
       ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main(){
    int n;
    cin>>n;
    int sum=0,
    for(int i=1; i<=n; i++){
        sum+=800;
        if(i%15==0) sum-=200;
    }
    cout<<sum<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: expected unqualified-id before 'for'
    7 |     for(int i=1; i<=n; i++){
      |     ^~~
a.cc:7:18: error: 'i' was not declared in this scope
    7 |     for(int i=1; i<=n; i++){
      |                  ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;y;
    cin>>a;
    if(a<15)
    {
        cout<<a*800;
    }
    else if(a==15)
    {
        cout<<(a*800)-200;
    }
    else if(a>15)
    {
        y=a/15;
        cout<<(a*800)-(y*200);
    }


    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: 'y' was not declared in this scope
    5 |     int a,b;y;
      |             ^
Language: Java

#include<iostream>
#include<string>
#include<math.h>
#include<algorithm>
#define rep(i,n)for(int i=0;i<n;i++)
using namespace std;

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


Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include<string>
^
Main.java:3: error: illegal character: '#'
#include<math.h>
^
Main.java:4: error: illegal character: '#'
#include<algorithm>
^
Main.java:5: error: illegal character: '#'
#define rep(i,n)for(int i=0;i<n;i++)
^
Main.java:5: error: class, interface, enum, or record expected
#define rep(i,n)for(int i=0;i<n;i++)
                            ^
Main.java:5: error: class, interface, enum, or record expected
#define rep(i,n)for(int i=0;i<n;i++)
                                ^
Main.java:10: error: not a statement
	cin >> a;
	    ^
Main.java:11: error: not a statement
	cout << a * 800 - a / 15 * 200 << endl;
	                               ^
Main.java:8: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
10 errors
Language: C++

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<iomanip>
#include<math.h>
#include<iomanip>
#include<cstdio>
	using namespace std;
	int main()
	{
		int N, x, y,sum;
		cin >> N;
		sum = 800 * N;
		y = N / 15;
		sum -= 200y;
		cout << sum;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:24: error: unable to find numeric literal operator 'operator""y'
   16 |                 sum -= 200y;
      |                        ^~~~
Language: C++

#include <iostream>
#include <math.h>
using namespace std;
int main() {
  float n;
  cin >> n;
  cashback = floor(n/15) * 200
  cout << n*800 - cashback << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cashback' was not declared in this scope
    7 |   cashback = floor(n/15) * 200
      |   ^~~~~~~~
Language: Java

import java.util.Scanner;

public class Restaurant {

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

		int x = (n - (n % 15)) / 15;
		int amount = 800 * n - 200 * x;
		System.out.println(amount);
	}
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    scanf("%d",&n);
    printf("%d\n"(n*800)-200);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expression cannot be used as a function
    7 |     printf("%d\n"(n*800)-200);
      |            ~~~~~~^~~~~~~
Language: C++

#include <iostream>
#include <iomanip>
#include <string>
#include <stack>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <map>
#include <set>
#include <queue>
#include <list>
using namespace std;
using pii  = pair<int,int>;
using ll=long long;
using ld=long double;
#define pb push_back
#define mp make_pair
#define stpr setprecision
#define rep(i,n) for(ll i=0;i<(n);++i)
#define REP(i,a,b) for(ll i=(a);i<(b);++i)
#define crep(i) for(char i='a';i<='z';++i)
#define psortsecond(A,N) sort(A,A+N,[](const pii &a, const pii &b){return a.second<b.second;});
#define ALL(x) (x).begin(),(x).end()
#define debug(v) cout<<#v<<":";for(auto x:v){cout<<x<<' ';}cout<<endl;
#define endl '\n'
int ctoi(const char c){
  if('0' <= c && c <= '9') return (c-'0');
  return -1;
}
ll gcd(ll a,ll b){return (b == 0 ? a : gcd(b, a%b));}
ll lcm(ll a,ll b){return a*b/gcd(a,b);}
constexpr ll MOD=1000000007;
constexpr ll INF=1000000011;
constexpr ll MOD2=998244353;
constexpr ll LINF = 1001002003004005006ll;
constexpr ld EPS=10e-8;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
template<typename T> istream& operator>>(istream& is,vector<T>& v){for(auto&& x:v)is >> x;return is;}
template<typename T,typename U> istream& operator>>(istream& is, pair<T,U>& p){ is >> p.first; is >> p.second; return is;}
template<typename T,typename U> ostream& operator>>(ostream& os, const pair<T,U>& p){ os << p.first << ' ' << p.second; return os;}
template<class T> ostream& operator<<(ostream& os, vector<T>& v){
    for(auto i=begin(v); i != end(v); ++i){
        if(i !=begin(v)) os << ' ';
        os << *i;
    }
    return os;
}




int main() {
    ll N;
    cin >> N;
    cout << N*800-((N)/15)*200 << endl;
｝


Compiler output:
a.cc: In function 'int main()':
a.cc:60:1: error: '\U0000ff5d' was not declared in this scope
   60 | ｝
      | ^~
a.cc:60:3: error: expected '}' at end of input
   60 | ｝
      |   ^
a.cc:56:12: note: to match this '{'
   56 | int main() {
      |            ^
Language: C++

#include <iostream>
#include <iomanip>
#include <string>
#include <stack>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <map>
#include <set>
#include <queue>
#include <list>
using namespace std;
using pii  = pair<int,int>;
using ll=long long;
using ld=long double;
#define pb push_back
#define mp make_pair
#define stpr setprecision
#define rep(i,n) for(ll i=0;i<(n);++i)
#define REP(i,a,b) for(ll i=(a);i<(b);++i)
#define crep(i) for(char i='a';i<='z';++i)
#define psortsecond(A,N) sort(A,A+N,[](const pii &a, const pii &b){return a.second<b.second;});
#define ALL(x) (x).begin(),(x).end()
#define debug(v) cout<<#v<<":";for(auto x:v){cout<<x<<' ';}cout<<endl;
#define endl '\n'
int ctoi(const char c){
  if('0' <= c && c <= '9') return (c-'0');
  return -1;
}
ll gcd(ll a,ll b){return (b == 0 ? a : gcd(b, a%b));}
ll lcm(ll a,ll b){return a*b/gcd(a,b);}
constexpr ll MOD=1000000007;
constexpr ll INF=1000000011;
constexpr ll MOD2=998244353;
constexpr ll LINF = 1001002003004005006ll;
constexpr ld EPS=10e-8;
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
template<typename T> istream& operator>>(istream& is,vector<T>& v){for(auto&& x:v)is >> x;return is;}
template<typename T,typename U> istream& operator>>(istream& is, pair<T,U>& p){ is >> p.first; is >> p.second; return is;}
template<typename T,typename U> ostream& operator>>(ostream& os, const pair<T,U>& p){ os << p.first << ' ' << p.second; return os;}
template<class T> ostream& operator<<(ostream& os, vector<T>& v){
    for(auto i=begin(v); i != end(v); ++i){
        if(i !=begin(v)) os << ' ';
        os << *i;
    }
    return os;
}




int main() {
    ll N；
    cin >> N;
    cout << N*800-((N)/15)*200 << endl;
｝

Compiler output:
a.cc: In function 'int main()':
a.cc:58:5: error: expected initializer before 'cin'
   58 |     cin >> N;
      |     ^~~
a.cc:59:13: error: 'N' was not declared in this scope
   59 |     cout << N*800-((N)/15)*200 << endl;
      |             ^
a.cc:60:1: error: '\U0000ff5d' was not declared in this scope
   60 | ｝
      | ^~
a.cc:60:3: error: expected '}' at end of input
   60 | ｝
      |   ^
a.cc:56:12: note: to match this '{'
   56 | int main() {
      |            ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define len(v) ll(v.size())
#define fi first
#define se second

template <class T>
void cout_vec(const vector<T> &vec){
  for(auto itr:vec) cout<<itr<<' ';
  cout<<endl;
}

typedef pair<ll,ll> P;
const ll mod=1e9+7;
const ll inf=1e15;

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
}#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
#define rep(i, n) for (ll i = 0; i < n; i++)
#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define len(v) ll(v.size())
#define fi first
#define se second

template <class T>
void cout_vec(const vector<T> &vec){
  for(auto itr:vec) cout<<itr<<' ';
  cout<<endl;
}

typedef pair<ll,ll> P;
const ll mod=1e9+7;
const ll inf=1e15;

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin>>n;
  int x=0,y=0;
  FOR(i,1,n+1){
	x+=800;
    if(i%15==0) y+=200;
  }
  cout<<x-y<<endl;
}

Compiler output:
a.cc:24:2: error: stray '#' in program
   24 | }#include<bits/stdc++.h>
      |  ^
a.cc:24:3: error: 'include' does not name a type
   24 | }#include<bits/stdc++.h>
      |   ^~~~~~~
a.cc:35:6: error: redefinition of 'template<class T> void cout_vec(const std::vector<_Tp>&)'
   35 | void cout_vec(const vector<T> &vec){
      |      ^~~~~~~~
a.cc:12:6: note: 'template<class T> void cout_vec(const std::vector<_Tp>&)' previously declared here
   12 | void cout_vec(const vector<T> &vec){
      |      ^~~~~~~~
a.cc:41:10: error: redefinition of 'const ll mod'
   41 | const ll mod=1e9+7;
      |          ^~~
a.cc:18:10: note: 'const ll mod' previously defined here
   18 | const ll mod=1e9+7;
      |          ^~~
a.cc:42:10: error: redefinition of 'const ll inf'
   42 | const ll inf=1e15;
      |          ^~~
a.cc:19:10: note: 'const ll inf' previously defined here
   19 | const ll inf=1e15;
      |          ^~~
a.cc:44:5: error: redefinition of 'int main()'
   44 | int main(){
      |     ^~~~
a.cc:21:5: note: 'int main()' previously defined here
   21 | int main(){
      |     ^~~~
Language: C++

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

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

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

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

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: expected ';' before 'return'
    8 |     cout << n*800 - n%15*200
      |                             ^
      |                             ;
    9 | 
   10 |     return 0;
      |     ~~~~~~
Language: C++

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

int n;
int x,y;
cin>>n;
cout<<n*800-(n%15)*200
}

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>n;
      | ^~~
a.cc:7:1: error: 'cout' does not name a type
    7 | cout<<n*800-(n%15)*200
      | ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

#include<iostream>
using namespace;
int main(){
  int n;
  cin >> n;
   

  int x, y;
  x = n * 800;
  y = (n/15) * 200;
  
  cout << x - y;


  return 0;
}

Compiler output:
a.cc:2:16: error: expected identifier before ';' token
    2 | using namespace;
      |                ^
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 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:12:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |   cout << x - y;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits\stdc++.h>
using namespace std;
int sum,n;
int main()
{
	cin>>n;
	sum=n*800;
	while(n>=15){sum-=200;n-=15;}
	printf("%d\n",sum);
	return 0;
}

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

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

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


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

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

int main() {
  int n;
  cin >> n;
  
  int pay;
  pay = n*800 - n/15*200
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected ';' before 'return'
    9 |   pay = n*800 - n/15*200
      |                         ^
      |                         ;
   10 |   return 0;
      |   ~~~~~~
Language: C++

#include <Cstdio>

int n, cost;

int main(){
	scanf("%d", &n);
	cost = 800*n;
	cost -= n/15*200;
	printf("%d\n", cost);
	return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:34: error: expected primary-expression before '.' token
    6 |     cout<<n*800-200*(n/15)<<endl;.
      |                                  ^
a.cc:7:5: error: expected unqualified-id before 'return'
    7 |     return 0;
      |     ^~~~~~
Language: C++

#include<iostream>
int main(int n=0){
    std::cin>>n;
    std::cout<<n*800-200*(n/15)<<endl;.
    return 0;
}

Compiler output:
a.cc:2:5: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
    2 | int main(int n=0){
      |     ^~~~
a.cc: In function 'int main(int)':
a.cc:4:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    4 |     std::cout<<n*800-200*(n/15)<<endl;.
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:4:39: error: expected primary-expression before '.' token
    4 |     std::cout<<n*800-200*(n/15)<<endl;.
      |                                       ^
a.cc:5:5: error: expected unqualified-id before 'return'
    5 |     return 0;
      |     ^~~~~~
Language: C++

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

int main() {
  int128_t S;
  cin>>S;
  int128_t G=1;
  for(int i=0; i<S; i++){
    G*=(i+1);
}
cout<<G%(1e9+7)<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'int128_t' was not declared in this scope; did you mean 'int8_t'?
    5 |   int128_t S;
      |   ^~~~~~~~
      |   int8_t
a.cc:6:8: error: 'S' was not declared in this scope
    6 |   cin>>S;
      |        ^
a.cc:7:11: error: expected ';' before 'G'
    7 |   int128_t G=1;
      |           ^~
      |           ;
a.cc:9:5: error: 'G' was not declared in this scope
    9 |     G*=(i+1);
      |     ^
a.cc:11:7: error: 'G' was not declared in this scope
   11 | cout<<G%(1e9+7)<<endl;
      |       ^
Language: C++

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


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

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


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

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

const int MOD = 1000000007;
const int INF = 1e9;

//long long
using ll = long long;

//出力系
#define print(x) cout << x << endl
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
 
// begin() end()
#define all(x) (x).begin(),(x).end()

//for
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define REPR(i,n) for(int i=n, i##_len=(n); i>=0; i--)
#define FOR(i,a,b) for(int i=(a), i##_len=(b); i<i##_len; ++i)

//最大公約数 
 ll gcd(ll a,ll b){
 if(b == 0) return a;
 return gcd(b,a%b);
 }

//最小公倍数
 ll lcm(ll a,ll b){
 ll g = gcd(a,b);
 return a / g * b; // Be careful not to overflow  if(a < b) return gcd(b, a);
  unsigned r;
  while ((r=a%b)) {
    a = b;
    b = r;
  }
  return b;
} 




int main() {
int N;
cin >> N;
int ge = 200 * (N / 15)

int ans = N * 800 - ge;

print(ans);

}

Compiler output:
a.cc: In function 'int main()':
a.cc:51:1: error: expected ',' or ';' before 'int'
   51 | int ans = N * 800 - ge;
      | ^~~
a.cc:53:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
   53 | print(ans);
      |       ^~~
a.cc:11:26: note: in definition of macro 'print'
   11 | #define print(x) cout << x << endl
      |                          ^
Language: C++

#include<iostream>
using namespace std;


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


}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: expected ',' or ';' before 'cout'
   11 |   cout << 800*n - 200*m << endl;
      |   ^~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:9: error: stray '\343' in program
    7 |   y = (N<U+3000>/ 15) * 200;
      |         ^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:11: error: stray '\343' in program
    7 |     y = (N<U+3000>/ 15) * 200;
      |           ^~~~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:11: error: stray '\343' in program
    7 |     y = (N<U+3000>/ 15) * 200;
      |           ^~~~~~~~
Language: C

#include <stdio.h>

int main (void){
  int x=0;
  int y=0;
  int i,n;
  scanf("%d",%n);
  
  
  for(i=1;i<=n;i++){
    x=x+800:
    if(i%15==0)
      y=y+200;
  }
  
  printf("%d\n",x-y);
}
      
  

Compiler output:
main.c: In function 'main':
main.c:7:14: error: expected expression before '%' token
    7 |   scanf("%d",%n);
      |              ^
main.c:11:12: error: expected ';' before ':' token
   11 |     x=x+800:
      |            ^
      |            ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected unqualified-id before ';' token
    5 |     int a,b,;
      |             ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int A,B;
    cin >> N;
    cout << N * 800 - (n/15)*200 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'N' was not declared in this scope
    6 |     cin >> N;
      |            ^
a.cc:7:24: error: 'n' was not declared in this scope
    7 |     cout << N * 800 - (n/15)*200 << endl;
      |                        ^
Language: C++

#include <iostream>
using namespace std;

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

    return 0;

}


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

#include <bits/stdc++.h>

using namespace std;

int main() {
	int n=0,x=0,ans=0;
	cin>>n;
	if(n>=15)
	x=((n/15)*200);
	ans=x-y;
	cout<<"ans";

else{
	x=n*800;
	ans=x;
	cout<<"ans";
}
	
	
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'y' was not declared in this scope
   10 |         ans=x-y;
      |               ^
a.cc:13:1: error: 'else' without a previous 'if'
   13 | else{
      | ^~~~
Language: C++

 #include <bits/stdc++.h>

using namespace std;

int main() {
	int n=0,x=0,ans=0;
	cin>>n;
	if(n>=15)
	x=((n/15)*200);
	ans=x-y;
	cout<<"ans";
}
else{
	x=n*800;
	ans=x;
	cout<<"ans";
}
	
	
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'y' was not declared in this scope
   10 |         ans=x-y;
      |               ^
a.cc: At global scope:
a.cc:13:1: error: expected unqualified-id before 'else'
   13 | else{
      | ^~~~
a.cc:21:9: error: expected unqualified-id before 'return'
   21 |         return 0;
      |         ^~~~~~
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
	int n=o,x=0,y=0,ans=0;
	scanf("%d",&n);
	if(n>=15){
		x=n*800;
		y=((n/15)*200);
		ans=x-y;
		printf("%d",ans);
	}
	else{
		x=n*800;
		ans=x;
		printf("%d",ans);
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:15: error: 'o' was not declared in this scope
    4 |         int n=o,x=0,y=0,ans=0;
      |               ^
a.cc:7:17: error: 'x' was not declared in this scope
    7 |                 x=n*800;
      |                 ^
a.cc:8:17: error: 'y' was not declared in this scope
    8 |                 y=((n/15)*200);
      |                 ^
a.cc:9:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |                 ans=x-y;
      |                 ^~~
      |                 abs
a.cc:13:17: error: 'x' was not declared in this scope
   13 |                 x=n*800;
      |                 ^
a.cc:14:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |                 ans=x;
      |                 ^~~
      |                 abs