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

        #include <bits/stdc++.h>
        using namespace std;
        #define int long long int
        #define pb push_back
        #define mk make_pair
        #define ft first
        #define sc second
        #define ppb pop_back
        #define sz size
        #define forn(i,a,n) for(i=a;i<n;i++)
        #define M 998244353 
        #define inf 2e18
 
        bool check(int n,int k){
            while(n%k==0){
                n=n/k;
            }
            return n%k==1;
        }
        
        signed main() {
 
 
        ios_base::sync_with_stdio(false);
        cin.tie(NULL);
        cout.tie(NULL);
        
        int n;
        cin>>n;
        int ans=0;
        for(int i=1;i<=n;i++){
            if(i%3!=0&&i%5!=0){
                ans+=i;
            }
        }
        cout<<ans;
 
 
        return 0;
    }

Compiler output:
main.c:1:18: 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;

signed main(){
  int n;cin>>n;
  int ans=0;
  for(int i=0;i<=n;i++)if(i%3&&i%5)ans+=i;
  cout<<ans<<endl;
}


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

#include <bits/stdc++.h>
#define rep(i,n) for(int (i)=0;(i)<(int)(n);(i)++)
#define repeq(i,n) for(int (i)=0;(i)<=(int)(n);(i)++)
#define rep1(i,x,n) for(int (i)=(x);(i)<(int)(n);(i)++)
#define rep1eq(i,x,n) for(int (i)=(x);(i)<=(int)(n);(i)++)
#define rrep(i,x) for(int i=((int)(x)-1);i>=0;i--)
using namespace std;
using ll = long long;
using Int = long long;

const int MOD = 1000000007;
const ll INF = numeric_limits<ll>::max();
const int inf = 1e8;
typedef pair<int,int> P;
typedef std::priority_queue<int> IntPrioQueue;
typedef std::priority_queue<int, std::vector<int>, std::greater<int> > IntReversePrioQueue;

//少数点表示
//cout << std::fixed << std::setprecision(14) << 値

int main(){
    cin.tie( 0 ); ios::sync_with_stdio( false );
    int n;
    cin >> n;
    ll ans=0;
    rep1eq(i,1,n){
        if(i%3!=0 && i%5!=0) ans+=i;
    }

    cout << ans <<endl;
    return 0;

}

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

#include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define FOR(i,a,b) for (int i=(a);i<(b);++i)
#define REP(a,b) for(int a=0;a<(b);++a)
#define REP1(i,n) for(int i=1;i<=(n);++i)
#define debug(x) cerr<<#x<<": "<<x<<'\n'
#define all(x) (x).begin(),(x).end()
#define YES() printf("YES\n")
#define NO() printf("NO\n")
#define isYES(x) printf("%s\n",(x) ? "YES" : "NO")
#define Yes() printf("Yes\n")
#define No() printf("No\n")
#define isYes(x) printf("%s\n",(x) ? "Yes" : "No")
#define SZ(x) ((int)(x).size())
#define pb push_back
#define mp make_pair
#define INF (1<<29)
#define Sp(p) cout<<setprecision(25)<< fixed<<p<<endl
#define vi vector<int>
#define vl vector<ll>
#define vii vector< vector<int> >
#define vll vector< vector<ll> >
#define vs vector<string>
#define pii pair<int,int>
#define pis pair<int,string>
#define psi pair<string,int>
#define pll pair<ll,ll>
#define X first
#define Y second
using namespace std;
typedef pair<int, int> P;
typedef pair<ll, ll> LP;
typedef pair<int, P> PP;
typedef pair<ll, LP> LPP;


template<class T=int>
T in(){T x;cin>>x;return (x);}
template<class T>
void print(T& x){cout<<x<<'\n';}

const int MOD =(int)1e9+7;
const int mod =(int)1e9+7;
const int MAX =510000;
ll fac[MAX],finv[MAX],inv[MAX];
void COMint(){
    fac[0]=fac[1]=1;
    finv[0]=finv[1]=1;
    inv[1]=1;
    for(int i=2;i<MAX;i++){
        fac[i]=fac[i-1]*i%MOD;
        inv[i]=MOD-inv[MOD%i]*(MOD/i)%MOD;
        finv[i]=finv[i-1]*inv[i]%MOD;
    }
}
ll COM(int n,int k){
    if(n<k) return 0;
    if(n<0||k<0)return 0;
    return fac[n]*(finv[k]*finv[n-k]%MOD)%MOD;
}
ll gcd(ll a,ll b){
    if(b==0)return a;
    if(a>b){
        swap(a,b);
    }
    return gcd(a,b%a);
}
ll lcm(ll a,ll b){
    ll g;g=gcd(a,b);
    return a*b/g;
}
bool compare_by_b(pair<int, int> a, pair<int, int> b) {
    if(a.second != b.second){
        return a.second < b.second;
    }else{
        return a.first < b.first;
    }
}

bool compare_by_a(pair<int, int> a, pair<int, int> b) {
    if(a.first != b.first){
        return a.first < b.first;
    }else{
        return a.second < b.second;
    }
}
template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}

ll RS(ll N,ll P,ll M){
    if(P==0){
        return 1;
    }else{
        if(P%2==0){
            ll t=RS(N,P/2,M);
            return t*t%M;
        }else{
            return N*RS(N,P-1,M)%M;
        }
    }
}
int main() {
    ios::sync_with_stdio(false);
    cin.tie(0);
    int N=in();
    ll ans=0;
    REP1(i,N){
        if(i%3!=0&&i%5!=0)ans+=i;
    }
    cout<<ans<<endl;
}


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

#include <iostream>
using namespace std;

int main() {
	int n,sum=0;
	cin>>n;
	for(int i=1;i<=n;i++){
		if(i%5!=0&&i%3!=0)sum+=i;
	}
	cout<<sum<<endl;
	
}


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

#include <math.h>
#include <algorithm>
#include <set>
#include <iostream>
#include <vector>
#include <queue>
#include <map>
#include <string>
#include <cstring>
#include <functional>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <random>
#include <chrono>
#include <climits>
#include <bitset>
using namespace std ;
#define ld long double
#define int long long
#define ii pair<int,int>
#define FAST_IO ios_base::sync_with_stdio(false) ;cin.tie(NULL);cout.tie(NULL); clock_t beg = clock()
#define dbg(x) cerr << #x << " is " << x << endl;
#define ms(x,a) memset(x,(int)(a),sizeof(x))
#define all(x) (x).begin(), (x).end()
#define sz(x) ((int)(x).size())
#define vi vector<int >
#define pb push_back
#define endl '\n'
#define ff first
#define ss second
//const int N = 3e5+7 ;
//const int INF = 1e18 ;
//const int MOD = 1e9 + 7 ;


void solve(){
	int n ;
	cin >> n ;
	int cnt = 0 ;
	for(int i = 1 ; i <= n ; i++){
		if(i%3==0) ;
		else if(i%5 == 0) ;
		else cnt += i ;
	}
	cout << cnt << endl ;
}

int32_t main(){
	FAST_IO ;
	int t = 1 ;
//	cin >> t ;
	while(t--){
		solve() ;
	}
    cerr << "\nExecution time: " << (clock() - beg) / 1000 << '\n';
}


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

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

signed main(void)
{
	int n;
	long long ans;
	cin >> n;
	ans = 0;
	rep(i, n)
	{
		if (i % 3 != 0 && i % 5 != 0)
			ans += i;
	}
	cout << ans << endl;
	return 0;
}


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

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main() {
	ll n;
	ll sum=0;
	cin>>n;
	for(int i=1;i<=n;i++){
		if(i%3&&i%5)sum+=i;
	}
	cout<<sum;
	return 0;
}


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

#include <bits/stdc++.h>
 
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl "\n"
#define rep(i, n) for(int i = 0; i < (int)(n); i++)
#define rrep(i, n) for(int i = ((int)(n)-1); i >= 0; i--)
#define all(x) (x).begin(), (x).end()
#define fill(x, y) memset(x, y, sizeof(x))
 
using namespace std;
 
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; }
 
typedef long long ll;
typedef vector<int> vi;
typedef pair<int,int> P;
 
const int INF = 1e9;
const int MOD = 1e9+7;
const double EPS = 1.0e-12;
const double PI = acos(-1.0);

int main() {
	int n;
	cin >> n;
	ll sum = 0;
	for(int i = 1; i < n; i++){
		if(i%3!=0 && i%5!=0) sum += i;
	}
	cout << sum << endl;
	return 0;
}

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

#include <algorithm>
#include <cmath>
#include <iostream>
#include <iterator>
#include <map>
#include <queue>
#include <unordered_map>
#include <vector>

using namespace std;

#define ll long long
#define el '\n'
#define rep(i, a, b) for (int i = a; i < b; i++)
#define repi(i, a, b) for (int i = a; i >= b; i--)
#define VI vector<int>
#define VII vector<pair<int, int>>
#define PII pair<int, int>
#define MP make_pair
// #define log(fmt, ...) printf(fmt, ##__VA_ARGS__)
#define log(fmt, ...)
// #define check(...) assert(##__VA_ARGS__)
#define check(...)

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

    int n;
    cin >> n;
    ll ans = 0;
    rep(i, 1, n + 1) {
        if (i % 3 == 0 || i % 5 == 0) {
            continue;
        }
        log("%d ", i);
        ans += (ll)i;
    }
    cout << ans;
}


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

#include <iostream>

using namespace std;

int main()
{
    int n;
    long long sum=0;
    cin >> n;
    for(int i=1;i<=n;i++)
    {
        if(i%3==0 || i%5==0)
            continue;
        sum+=i;
    }
    cout << sum << endl;
    return 0;
}


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

#include<iostream>

using namespace std;

int main(){
  int N;
  cin >> N;
  int fizz = 3;
  int buzz = 5;
  int fizzbuzz = 15;
  double fizzsum = 0;
  double buzzsum = 0;
  double fizzbuzzsum =0;
  int fizzstate = N/fizz;
  int buzzstate = N/buzz;
  int fizzbuzzstate = N/fizzbuzz;
  double ans;

  for(int i=1;i<=N;i++){
    ans +=i;
  }


  for(int i=1;i<=buzzstate;i++){
    buzzsum += buzz*i;
  }
  for(int i=1;i<=fizzstate;i++){
    fizzsum += fizz*i;
  }
  for(int i=1;i<=fizzbuzzstate;i++){
    fizzbuzzsum += fizzbuzz*i;
  }
  
  cout << ans - fizzsum - buzzsum + fizzbuzzsum << endl;






}

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

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


int16_t main(){
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int n;
	cin >> n;
	long long sum = 0;
	for(int i=1; i<=n; ++i){
		if(i%3 && i%5)
			sum += i;
	}
	
	cout << sum << "\n";
}

Compiler output:
a.cc:5:1: error: '::main' must return 'int'
    5 | int16_t main(){
      | ^~~~~~~
Language: C++

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


int8_t main(){
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
	int n;
	cin >> n;
	long long sum = 0;
	for(int i=1; i<=n; ++i){
		if(i%3 && i%5)
			sum += i;
	}
	
	cout << sum << "\n";
}

Compiler output:
a.cc:5:1: error: '::main' must return 'int'
    5 | int8_t main(){
      | ^~~~~~
Language: C++

                    #include<stdio.h>
                     
                    int main(void)
                    {
                     int n,i;
                     long long sum=0;
                      scanf("%d",&n);
                      
                      for(i=1;i<=n;i++)
                      {
                        if(n%3!=0&&n%5!0)
                          sum+=n;
                      }
                        
                      printf("%lld",sum);
                      
                      return 0;
                    }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:39: error: expected ')' before '!' token
   11 |                         if(n%3!=0&&n%5!0)
      |                           ~           ^
      |                                       )
Language: C++

                #include<stdio.h>
                 
                int main(void)
                {
                 int n,i;
                 long long sum=0;
                  scanf("%d",&n);
                  
                  for(i=1;i<=n;i++)
                  {
                    if(n%3!=0&&n%5!0)
                      sum+=n;
                  }
                    
                  printf("%d",sum);
                  
                  return 0;
                }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:35: error: expected ')' before '!' token
   11 |                     if(n%3!=0&&n%5!0)
      |                       ~           ^
      |                                   )
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int N;
  cin >> N;
  int sum=0;
  for(i=1;i<=N;i++){
    if(i%3!=0 && i%5!=0){
      sum+=i;
    }
  }
  cout << sum << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'i' was not declared in this scope
    7 |   for(i=1;i<=N;i++){
      |       ^
Language: C

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


int main(){
    long long sum=0;
    long long N;
    cin >> N;
    for(long long i=1;i<N;i++){
        if((i%3==0)||(i%5==0)){
            continue;
        }
        sum+=i;
    }


    cout << sum << endl;
}

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

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


int main(){
    long long sum=0;
    long long N;
    cin >> N;
    for(long long i=1;i<N;i++){
        if((i%3==0)||(i%5==0)){
            continue;
        }
        sum+=i;
    }


    cout << sum << endl;
}

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

#include<iostream>
using namespace std;

int sum(long long a){
  long long r;
  r=a*(a+1)/2;
  return r;
}




int main()
{
	long long ans
    int a;
	cin >> a;
  ans=sum(a)+15*sum(a/15)-3*sum(a/3)-5*sum(a/5);
	cout << ans << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:5: error: expected initializer before 'int'
   16 |     int a;
      |     ^~~
a.cc:17:16: error: 'a' was not declared in this scope
   17 |         cin >> a;
      |                ^
a.cc:18:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
   18 |   ans=sum(a)+15*sum(a/15)-3*sum(a/3)-5*sum(a/5);
      |   ^~~
      |   abs
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  long long sum = 0;
  for (int i = 1; i <= N; i++) {
    if !(i % 3 == 0 || i % 5 == 0 || i % 15 == 0) {
      sum += i;
    }
  cout << sum << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: expected '(' before '!' token
   10 |     if !(i % 3 == 0 || i % 5 == 0 || i % 15 == 0) {
      |        ^
      |        (
Language: C++

#include<iostream>
using namespace std;

int sum(int a){
  int i,r=0;
  for (i = 1; i =< a; i++) {
    r+=i;
  }
  return r;
}




int main()
{
	int ans;
	cin >> a;
  ans=sum(a)+15*sum(a/15)-3*sum(a/3)-5*sum(a/5);
	cout << ans << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int sum(int)':
a.cc:6:18: error: expected primary-expression before '<' token
    6 |   for (i = 1; i =< a; i++) {
      |                  ^
a.cc: In function 'int main()':
a.cc:18:16: error: 'a' was not declared in this scope
   18 |         cin >> a;
      |                ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  long long sum = 0;
  for (int i = 1; i <= N; i++) {
    if ((!(i % 3) == 0) || (!(i % 5) == 0)) || (!(i % 15) == 0)) {
      sum += i;
    }
  cout << sum << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:45: error: expected primary-expression before '||' token
   10 |     if ((!(i % 3) == 0) || (!(i % 5) == 0)) || (!(i % 15) == 0)) {
      |                                             ^~
Language: C

#define _USE_MATH_DEFINES
#include <iostream>
#include <algorithm>
#include <queue>
#include <stack>
#include <deque>
#include <climits>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
//#include <tuple>

#define INF INT_MAX>>1 
#define SIZE 100010
#define MOD 1000000007
#define rep(i, n) for(int i=0; i<(int)(n); i++)
#define rep2(i, from, to) for(int i=(from); i<(int)(to); i++)
#define all(obj) (obj).begin(), (obj).end()
#define lpair pair<ll, ll>
#define vint vector<ll>
#define vinput(name) for(int i=0; i<(int)(name.size()); i++) cin >> name[i];
#define voutput(name) for(int i=0; i<(int)(name.size()); i++) cout << name[i] << endl;
typedef long long ll;

using namespace std;

ll ans = 0;

int main(void){
	int n; cin >> n;
	rep(i, n+1){
		if(i % 3 != 0 && i % 5 != 0) ans += i;
	}


	cout << ans << endl;
	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main(){
unsigned long int n,i;
unsigned long int sum = 0;
cin >> n;
 
while(n != 0){
  i++;
  if(i % 3 != 0 || i % 5 != 0)
    sum += 1;
  n++  
}
 
cout << sum;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: expected ';' before '}' token
   13 |   n++
      |      ^
      |      ;
   14 | }
      | ~
Language: C++

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

int main () {
  int n;
  cin >> n;
  
  long long sum = 0;
  for (int i = 1; i <= n; ++i) {
    if (i % 3 == 0 or i % 5 == 0) {
      continue;
    }
    sum += i
  }
  cout << sum;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: expected ';' before '}' token
   13 |     sum += i
      |             ^
      |             ;
   14 |   }
      |   ~
Language: C

#include <bits/stdc++.h>
#define ll long long

using namespace std;

int main() {
    ll sum = 0;
    int n;
    cin >> n;
    while (n > 0) {
        if (n % 5 != 0 && n % 3 != 0) {
            sum += n;
        }
        n--;
    }
    cout << sum << endl;
    return 0;
}

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

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

int main() {
  int N;
  cin >> N;
  
  long long sum = 0;
  for (int i = 1; i <= N; i++) {
    if (((i % 3) != 0) && ((i % 5) != 0)
      sum += i;
  cout << sum << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:41: error: expected ';' before 'sum'
   10 |     if (((i % 3) != 0) && ((i % 5) != 0)
      |                                         ^
      |                                         ;
   11 |       sum += i;
      |       ~~~                                
a.cc:12:22: error: expected ')' before ';' token
   12 |   cout << sum << endl;
      |                      ^
      |                      )
a.cc:10:8: note: to match this '('
   10 |     if (((i % 3) != 0) && ((i % 5) != 0)
      |        ^
Language: C++

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

int main() {
  int N;
  cin >> N;
  
  long long sum = 0;
  for (int i = 1; i <= N; i++) {
    if (((i % 3) != 0) && ((i % 5) != 0) {
      sum += i;
    }
  cout << sum << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:41: error: expected ';' before '{' token
   10 |     if (((i % 3) != 0) && ((i % 5) != 0) {
      |                                         ^~
      |                                         ;
a.cc:13:22: error: expected ')' before ';' token
   13 |   cout << sum << endl;
      |                      ^
      |                      )
a.cc:10:8: note: to match this '('
   10 |     if (((i % 3) != 0) && ((i % 5) != 0) {
      |        ^
Language: C

#include <stdio.h>

int main()
{
    int n, a = 0, i;

    scanf("%d", &n);

    for( i = 1; i < n+1; i++ )
    {
        if( i % 3 == 0 ) continue;
        else if( i % 5 == 0 ) continue;
        else if( i % 3 != 0 || i % 5 != 0 )
            {
                a += i;
            }
    }
    puts("%d", a);
       return 0;
}

Compiler output:
main.c: In function 'main':
main.c:18:5: error: too many arguments to function 'puts'
   18 |     puts("%d", a);
      |     ^~~~
In file included from main.c:1:
/usr/include/stdio.h:714:12: note: declared here
  714 | extern int puts (const char *__s);
      |            ^~~~
Language: C

#include <iostream>
#include <string>
#include <cmath>
#include<algorithm>
#include<stack>
#include<queue>
#include<map>
#include<set>
#include<iomanip>
#define _USE_MATH_DEFINES
#include <math.h>
#include <functional>
using namespace std;

#define rep(i,x) for(ll i=0;i<x;i++)
#define repn(i,x) for(ll i=1;i<=x;i++)

typedef long long ll;
const ll INF = 1e17;
const ll MOD = 1000000007;
const ll MAX = 4000001;

ll max(ll a, ll b) {
	if (a > b) { return a; }
	return b;
}

ll min(ll a, ll b) {
	if (a > b) { return b; }
	return a;
}

ll gcd(ll a, ll b) {
	if (b == 0) { return a; }
	if (a < b) { return gcd(b, a); }
	return gcd(b, a % b);
}

ll lcm(ll a, ll b) {
	return a / gcd(a, b) * b;
}

struct edge {
	ll ind;
	ll fr;
	ll to;
	ll d;
};

class mint {
    long long x;
public:
    mint(long long x = 0) : x((x% MOD + MOD) % MOD) {}
    mint operator-() const {
        return mint(-x);
    }
    mint& operator+=(const mint& a) {
        if ((x += a.x) >= MOD) x -= MOD;
        return *this;
    }
    mint& operator-=(const mint& a) {
        if ((x += MOD - a.x) >= MOD) x -= MOD;
        return *this;
    }
    mint& operator*=(const  mint& a) {
        (x *= a.x) %= MOD;
        return *this;
    }
    mint operator+(const mint& a) const {
        mint res(*this);
        return res += a;
    }
    mint operator-(const mint& a) const {
        mint res(*this);
        return res -= a;
    }
    mint operator*(const mint& a) const {
        mint res(*this);
        return res *= a;
    }

    mint operator^(const ll& t)const {
        if (!t) return 1;
        mint a = pow(t >> 1);
        a *= a;
        if (t & 1) a *= *this;
        return a;
    }

    mint pow(ll t) const {
        if (!t) return 1;
        mint a = pow(t >> 1);
        a *= a;
        if (t & 1) a *= *this;
        return a;
    }
    // for prime MOD
    mint inv() const {
        return pow(MOD - 2);
    }
    mint& operator/=(const mint& a) {
        return (*this) *= a.inv();
    }
    mint operator/(const mint& a) const {
        mint res(*this);
        return res /= a;
    }

    friend ostream& operator<<(ostream& os, const mint& m) {
        os << m.x;
        return os;
    }
};

//////////////////////////

int main() {
    
    ll N;
    cin >> N;

    ll ans = 0;

    repn(i, N) {
        if (i % 3 != 0 && i % 5 != 0) { ans += i; }
    }

    cout << ans;
    
    system("PAUSE");
}

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;
  
  long long sum = 0;
  for (int i = 1; i <= N; i++) {
    if (i % 3 == 0 || i % 5 == 0 || i % 15 == 0) {
      continue;
    } else {
      sum += i;
    }
  cout << sum << endl;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  long long sum = 0;
  for (int i = 0; i =< N; i++){
    if (((i % 3) != 0) && ((i % 5) != 0))
      sum += i;
  }
  cout << sum << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected primary-expression before '<' token
    8 |   for (int i = 0; i =< N; i++){
      |                      ^
Language: Java

package atCoder20200410;

import java.util.Scanner;

public class B {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		long N = scan.nextLong();
		long sum = 0;

		for (int i = 0; i < N; i++) {
			if (i % 3 != 0 && i % 5 != 0) {
				sum += i;
			}
		}
		System.out.println(sum);
	}

}


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

#include<stdio.h>

int main(void)
{
	int N, sum;
	scanf("%d", &N);
	
	for (i = 1; i <= N; i++) {
		if (i % 3 == 0 || i% 5 == 0) {
			sum +=i;
		}
	}
	printf("%d", sum);
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:14: error: 'i' undeclared (first use in this function)
    8 |         for (i = 1; i <= N; i++) {
      |              ^
main.c:8:14: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

{
	int N, sum;
	scanf("%d", &N);
	
	for (i = 1; i <= N; i++) {
		if (i % 3 == 0 || i% 5 == 0) {
			sum +=i;
		}
	}
	printf("%d", sum);
	return 0;
}

Compiler output:
main.c:3:1: error: expected identifier or '(' before '{' token
    3 | {
      | ^
Language: C

#include<stdio.h>
int main(void){
  int p[10000000]={0},N,i,ans=0;
  scanf_s("%d",&N);
  for(i=1;i<N;i=i+1){
    if(i%3==0||i%5==0){
    }else{p[i]=i;}
  }
  for(i=0;i<N;i=i+1){
    ans+=p[i];
  }
  printf("%d\n",ans);
}


Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   scanf_s("%d",&N);
      |   ^~~~~~~
      |   scanf
Language: C

#include<stdio.h>
int main(void){
  int p[10000000]={0},N,i,ans=0;
  scanf("%d"&N);
  for(i=1;i<N;i=i+1){
    if(i%3==0||i%5==0){
    }else{p[i]=i;}
  }
  for(i=0;i<N;i=i+1){
    ans+=p[i];
  }
  printf("%d\n",ans);
}


Compiler output:
main.c: In function 'main':
main.c:4:13: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   scanf("%d"&N);
      |         ~~~~^
      |         |
      |         char *
Language: C

#include<stdio.h>
int main(void){
  int p[10000000]={0},N,i,ans=0;
  scanf("%d"&N);
  for(i=1;i<N;i=i+1){
    if(i%3==0||i%5==0){
    }else{p[i]=i;}
  }
  for(i=0;i<N;i=i+1){
    ans+=p[i];
  }
  printf("%d"\n,ans);
}


Compiler output:
main.c: In function 'main':
main.c:4:13: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   scanf("%d"&N);
      |         ~~~~^
      |         |
      |         char *
main.c:12:14: error: stray '\' in program
   12 |   printf("%d"\n,ans);
      |              ^
main.c:12:14: error: expected ')' before 'n'
   12 |   printf("%d"\n,ans);
      |         ~    ^~
      |              )
Language: C

#include<stdio.h>
int main(void){
  int p[10000000]={0},N,i,ans=0;
  scanf_s("%d"&N);
  for(i=1;i<N;i=i+1){
    if(i%3==0||i%5==0){
    }else{p[i]=i;}
  }
  for(i=0;i<N;i=i+1){
    ans+=p[i];
  }
  printf("%d"\n,ans);
}


Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   scanf_s("%d"&N);
      |   ^~~~~~~
      |   scanf
main.c:4:15: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   scanf_s("%d"&N);
      |           ~~~~^
      |           |
      |           char *
main.c:12:14: error: stray '\' in program
   12 |   printf("%d"\n,ans);
      |              ^
main.c:12:14: error: expected ')' before 'n'
   12 |   printf("%d"\n,ans);
      |         ~    ^~
      |              )
Language: C


#include<bits/stdc++.h>


using namespace std;

using ll   = long long;
using ii   = pair   < int , int >;
using i3   = pair   < int , ii  >;
using li   = pair   < ll  , int >;
using lii  = pair   < ll  , ii  >;
using pll  = pair   < ll  , ll  >;
using vi   = vector < int       >;
using vl   = vector < ll        >;
using vii  = vector < ii        >;
using vli  = vector < li        >;
using vpll = vector < pll       >;
using vi3  = vector < i3        >;
using vlii = vector < lii       >;


const int N = 2e5 + 5;
const ll INF = 1e17 + 7;
const double eps = 1e-9 , PI = acos(-1);



int n , m;


void solve(int testCase){

    ll ans = 0;
    scanf("%d" , &n);

    for(int i = 1 ; i <= n ; i ++){
            if(i%3 == 0 || i%5 == 0) continue;
            ans += 1ll * i;
    }

    printf("%lld\n" , ans);


}

main(){

    int t = 1;
    // scanf("%d" , &t);

    for(int testCase = 1 ; testCase <= t ; testCase ++){
            solve(testCase);
    }

    return 0;
}


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

#include<stdio.h>
int main(void){
  int p[10000000]=0,N,i,ans=0;
  puts("%d"&N);
  for(i=1;i<N;i=i+1){
    if(i%3==0||i%5==0){
    }else{p[i]=i;}
  }
  for(i=0;i<N;i=i+1){
    ans+=p[i]
  }
  printf("%d",&ans);
}

Compiler output:
main.c: In function 'main':
main.c:3:19: error: invalid initializer
    3 |   int p[10000000]=0,N,i,ans=0;
      |                   ^
main.c:4:12: error: invalid operands to binary & (have 'char *' and 'int')
    4 |   puts("%d"&N);
      |        ~~~~^
      |        |
      |        char *
main.c:10:14: error: expected ';' before '}' token
   10 |     ans+=p[i]
      |              ^
      |              ;
   11 |   }
      |   ~
Language: C

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

int main() {
  int N;
  cin >> N;
  long long ans = 0;
  for (int i = 1; i <= N; ++i)
    if (i % 3 != 0 && i % 5 != 0)
      ans += i;
  cout << ans << endl;
}

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

#include <iostream>
#include <vector>
#include <limits.h>
#include <algorithm>
#include <string>
#include <math.h>
#include <limits.h>
#include <queue>
#include <map>
#include <set>
#include <iomanip>
#include <bitset>
#include <cassert>
#include <random>
#include <functional>
#include <stack>
#include <iomanip>
#include <cassert>
//#include <boost/multiprecision/cpp_int.hpp>
#include <complex>
#include <cstdio>
#include <list>
#include <bitset>

//< in.txt > out.txt
using namespace std;
//std::ios::sync_with_stdio(false);
//std::cin.tie(0);
const long long MOD = 1e9 + 7;
typedef long long LL;
typedef long double LD;
typedef pair<LL, LL> PLL;
typedef pair<LD, LL> pdl;
typedef pair<LD, LD> pdd;
typedef vector<LL> VLL;
typedef vector<VLL> VVLL;
typedef unsigned long long ULL;
//typedef boost::multiprecision::cpp_int bigint;

int main() {
	std::ios::sync_with_stdio(false);
	std::cin.tie(0);
	LL N;
	cin >> N;
	LL sum = 0;
	for (LL n = 1; n <= N; n++) {
		if (n % 3 != 0 && n % 5 != 0)sum += n;
	}
	cout << sum << "\n";
	return 0;
}


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

import java.util.Scanner;

public class FizzBuzz {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        long res = 0;

        for(int i = 0; i < n; i++) {
            if(i % 3 == 0 || i % 5 == 0) continue;
            res += i;
        }

        System.out.print(res);
    }
}


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

#include<iostream>
#include<cstdint>

inline int64_t sum(int64_t x) { return x*(x+1)/2; }

int main() {
  int64_t N; std::cin >> N;
  std::cout << sum(N) - 3*sum(N/3) - 5*sum(N/5) + sum(N/15) << std::endl;
  return 0;
}


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

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <queue>
#include <cmath>
#include <stdlib.h>
#define ll long long
#define MOD_P 1000000007
using namespace std;



int main()
{
	int n;
	ll int sum = 0LL;
	cin >> n;

	for (int i = 1; i <= n; i++) {
		if (i % 3 && i % 5) {
			sum += (ll int)i;
		}
	}

	printf("%lld", sum);

	return 0;
}

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

#include<iostream>
#include<algorithm>
#include<vector>
#include<string>
using namespace std;
int main(){
  long long i,n,sum = 0;
  cin >> n;
  for ( i = 0; i <= n; i++){
    if (i % 3 != 0 && i % 5 != 0){
      sum += i;
    }
  }
  cout << sum << '\n';
  return 0; 
}

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

// When you are hungry for something and you're determined and you're focused 
// and you're committed to something it's hard to surrender, isn't it?

#include <bits/stdc++.h>
using namespace std;
#define all(x) (x).begin(), (x).end()
#define endl "\n"
#define ll long long 
#define int ll
#define mod 1000000007
#define mod1 1000000006
#define modi 998244353
#define setbit(x) __builtin_popcount(x)
#define fff(i,n) for(int i=0;i<n;i++)
#define ff first
#define ss second
#define pb push_back
vector<ll> vi[300005];
int color[100005];
ll pa[500005];
ll si[500005];
#define pb push_back
bool visi[1000005]={false};
bool is[100005];
ll fac[10000001];
ll prime[400005];
ll bit[100005];
const long double eps = 1.0e-14;      // allowable error
#define fio ios_base::sync_with_stdio(false); cin.tie(NULL);
 
 
void fact(){
    fac[0]=1;
    for(int i=1;i<=10000000;i++){
        fac[i]=(fac[i-1]*i)%mod;
    }
    return ;
}
void sieve(){
    prime[0]=0;
    prime[1]=0;
    for(int i=2;i<400005;i++){
        prime[i]=1;
    }
    for(int i=2;i*i<400005;i++){
        if(prime[i]==1){
            for(int j=i*i;j<400005;j+=i){
                prime[j]=0;
            }
        }
    }
    
}
 
ll power(ll n , ll p ){
    if(p==0)
        return 1;
    
    ll res = power((n*n)%mod,p/2);
    if(p%2==1)
        res = (n*res)%mod;
    
    return res;
}
 
 
void upd(ll i,ll val,ll n) {
    for(;i<=n;i+=i&(-i))
        bit[i]+=val;
}
 
ll qry(ll i) {
    ll sum=0;
    for(;i>0;i-=i&(-i))
        sum+=bit[i];
    return sum;
}
 
 
ll fin(ll u) {
    if(pa[u]==u)
        return u;
    return fin(pa[u]);
}
 
void uni(ll u,ll v) {
    ll p1=fin(u);
    ll p2=fin(v);
    if(p1==p2)
        return;
    if(si[p1]<si[p2])
        swap(p1,p2);
    si[p1]+=si[p2];
    pa[p2]=p1;
    return;
}
 
int32_t main() {
    fio
    
    cout << fixed << setprecision(15);
    int n;cin >> n;
    //string s;cin >> s;
    
    int ans=0;
    fff(i,n+1) {
        if(i%3!=0 and i%5!=0)
        ans+=i;
    }
    
    cout << ans;
    
    
	return 0;
    
}

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

#include <bits/stdc++.h>

using namespace std;
#define ll long long
#define ld long double

ll sum(ll n) {
    return n*(n+1)/2;
}

int main()
{
    ios_base::sync_with_stdio(0),cin.tie(NULL),cout.tie(NULL);
    ll n;
    cin >> n;    
    ll res = sum(n) - sum(n/3)*3 - sum(n/5)*5+sum(n/15)*15;
    cout << res << endl;
}


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

#include <iostream>
#include <vector>
#include <algorithm>
#include <map>
#include <numeric>
#include <string>
#include <cstdio>
#include <cstring>
#include <queue>
#include <stack>
#include <set>
#include <cmath>
#include <bitset>

typedef long long ll;
typedef unsigned long long ull;
using namespace std;

#define FALSE printf("false\n");
#define TRUE printf("true\n");
#define all(x) (x).begin(),(x).end()
#define rep(i,n) for(int (i) = 0;(i) < ((int)(n));++(i))
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define UNIQUE(v) v.erase( unique(v.begin(), v.end()), v.end() );
#define test(a) cout<<"line:"<<__LINE__<<"["<<(#a)<<": "<<(a)<<"]"<<endl

const int INF = 1e9+7;
const ll INFL = 9*1e18;

const int dx[4] = { 1, 0, -1, 0 };
const int dy[4] = { 0, 1, 0, -1 };

// const int dx[8] = {1, 1, 0,-1,-1,-1, 0, 1};
// const int dy[8] = {0, 1, 1, 1, 0,-1,-1,-1};

#define SUM(vec) accumulate(all(vec),0LL) // 配列の中身を全部足す
template<typename T>void print(T&& x){cout<<x<<endl;}// 改行付き出力
ll inline digit(ll num){int tmp = 0;while(num){tmp++;num/=10;}return tmp;} // 桁数
template<typename T>inline T digitSum(T num){T sum = 0;while(num){sum+=num%10;num/=10;}return sum;} // 各桁の和
template<typename T>inline T gcd(T a,T b){if(b == 0)return a;return gcd(b,a%b);} // 最大公約数
template<typename T>inline T lcm(T a, T b){T g = gcd(a,b);return a/g*b;} // 最小公倍数
template<typename T>inline T power(T a,T b){T tmp=1;rep(i,b){tmp*=a;}return tmp;} // 累乗
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
int ctoi(char c){return c-'0';}

// TODO: write
int main() {
  int n;cin>>n;
  ll ans = 0;
  rep(i,n){
    if(i%3 != 0 && i%5 != 0)ans+=i;
  }
  print(ans);
  return 0;
}


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

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

int main() {
	int n; cin >> n;
	long long ans = 0;
	for (int i = 1; i <= n; i++) {
		if (i % 3 == 0 || i % 5 == 0) continue;
		ans += i; 
	}
	cout << ans;
}

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

#include <bits/stdc++.h>

typedef long long   ll;
typedef long double ld;
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll n;
    cin >> n;
    ll ans=0;
    for(ll i = 0; i < n; i++) {
        if(i%3!=0&&i%5!=0) ans+=i;
    }
    cout << ans << "\n";

    return 0;
}

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

N = int(input())
ans = 0
for i in range(1, N+1):
    if i % 3 == 0 or i % 5 == 0:
        continue
    ans += i
print(ans)


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

#define _USE_MATH_DEFINES
#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false); cin.tie(0);
  int n;
  cin >> n;
  long long ans = 0;
  for (int i = 1; i <= n; i++) {
    if (i % 3 != 0 && i % 5 != 0) ans += i;
  }
  cout << ans << endl;
  return 0;
}

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

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

void debug_out() { cerr << endl; } 
template <typename Head, typename... Tail>
void debug_out(Head H, Tail... T) {
  cerr << " " << to_string(H);
  debug_out(T...);
} 
#ifdef LOCAL
#define bug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define bug(...) 42
#endif
 
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
     int n;
     cin>>n;
      int sum=0;
     for(int i=1;i<=n;i++){
     	if(i%3!=0&&i%5!=0)sum+=i;
     }
     cout<<sum<<endl;
}

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

/*---> 12 April 2020 <--- > 23:49:31 <---*/
// #pragma GCC optimize("Ofast")
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
// #pragma GCC optimize("unroll-loops")
// #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("O3")
//#pragma GCC target ("sse4")
#include <bits/stdc++.h>
//#include <ext/pb_ds/tree_policy.hpp>
//#include <ext/pb_ds/assoc_container.hpp>
//using namespace __gnu_pbds;
using namespace std;
//template <class T> using Tree = tree<T, null_type, less<T>, rb_tree_tag,tree_order_statistics_node_update>;
#define int long long
#define F first
#define S second
#define mod 1000000007
#define inf (int)1e18+5
#define sz(x) (int)x.size()
#define PI 3.141592653589793238510
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()
#define __ ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define vi vector<int>
#define vpii vector<pair<int,int> > 
#define vvi vector<vector<int> >
#define PRINT_TIME cerr << "Time elapsed: " << 1.0 * clock() / CLOCKS_PER_SEC << " s." <<endl;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename   enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
    *this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
typedef long double ld;
typedef pair<int,int> pii;
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
const int N=1e5+5;

int32_t main(){__
    int n;
    cin>>n;
    int ans=0;
    for(int i=1;i<=n;i++){
        if(i%15==0 || i%3==0 || i%5==0)
            continue;
        ans+=i;
    }
    cout<<ans<<"\n";
return 0;
}

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

//Author: AnandRaj uux
#include <bits/stdc++.h>
using namespace std;

typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef vector<int> vi;
typedef vector<vi> vvi;
typedef vector<pii> vpii;
typedef pair<ll,ll> pll;
typedef vector<ll> vl;
typedef vector<vl> vvl;
typedef vector<pll> vpll; 

#define fastio ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define test() int t;cin>>t;while(t--)
#define forn(i,f,n) for(int i=f;i<f+n;i++)
#define rforn(i,l,n) for(int i=l;i>l-n;i--)
#define all(v) v.begin(),v.end()
#define prin(V) for(auto v:V) cout<<v<<" ";cout<<endl
#define take(V,f,n) for(int i=f;i<f+n;i++) cin>>V[i]
#define what(x) cerr<<#x<<" = "<<x<<endl
#define KStest() int t,t1;cin>>t;t1=t;while(t--)
#define KScout cout<<"Case #"<<t1-t<<": "

const int MOD = 1e9+7,MAX = 1e5+5;
/////////////////FastExp///////////////////
ll powN(ll a,ll p)
{
	if(p==0) return 1;
	ll z=powN(a,p/2);
	z=(z*z)%MOD;
	if(p%2) z=(z*a)%MOD;
	return z;
}
/////////////////FastExp///////////////////
//////////////////Sieve////////////////////
vector<bool> is_prime(MAX+1, true);
void Sieve()
{
	is_prime[0] = is_prime[1] = false;
	int i,j;
	for (i = 2; i*i <= MAX; i++) 
	{
    	if (is_prime[i]) 
    	{
        	for (j = i * i; j <= MAX; j += i)
            {
				is_prime[j] = false;
    		}
    	}
	}
}
//////////////////Sieve////////////////////

int main()
{
	int n;
	cin>>n;
	ll sum=0;
	for(int i=1;i<=n;i++)
	{
		if(n%3&&n%5) sum+=n;
	}
	cout<<sum<<endl;
}		

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

#include <bits/stdc++.h>
#include <math.h>
 
#define rep(i, n) for(int i = 0; (int)(i) < n; i++)
 
using namespace std;
 
int main() {
  int n;
  long long ans = 0;
  cin >> n;
  for(int i = 1; i <= n; i++){
    if(i % 3 == 0 || i % 5 == 0) continue;
    ans += i;
  }
  cout << ans << endl;
    
}

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

#include <bits/stdc++.h>
#include <string>
#define ft first
#define sc second
#define pt(sth) cout << sth << "\n"
#define chmax(a, b) (a)=max(a, b)
#define chmin(a, b) (a)=min(a, b)
#define moC(a, s, b) (a)=((a)s(b)+MOD)%MOD
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pll;
static const ll INF=1e18;
static const ll MAX=101010;
static const ll MOD=1e9+7;


/*
 for(i=0; i<N; i++)
   cin >> a[i];
*/



int main() {
  ll i, j, k;
  
  ll N;
  cin >> N;
  
  ll ans=0;
  for(i=1; i<=N; i++) {
    if(i%3&&i%5) ans+=i;
  }
  pt(ans);
  
  
}




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

#include <iostream>

using namespace std;

typedef long long ll

int main()
{
    int n;
    ll sum = 0; 
    cin >> n;

    for (int i=1, i<=n; i++) {
        if (i%3!=0 && i%5!=0) {
            sum += i;
        }
    }
    
    cout << sum;
    
    return 0;
}


Compiler output:
a.cc:7:1: error: expected initializer before 'int'
    7 | int main()
      | ^~~
Language: C

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

int main(void){
    int n;
    cin >> n;
    ll sum = 0;
    rep1(i,n) {
        if (i % 5 != 0 && i % 3 != 0) {
            sum += i;
        }
    }
    cout << sum << endl;
    return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define pb push_back
#define ff first
#define ss second
#define rep(i,a,n) for(int i=a;i<n;i++)
#define M 1000000007
ll power(ll x, ll y, ll p)
{
    int res = 1;
    x = x % p;
    while (y > 0)
    {   if (y & 1)
        res = (res*x) % p;
        y = y>>1;
        x = (x*x) % p;
    }
    return res;
}
int main()
{
	IOS;
	int n;
	cin>>n;
	ll ans=0;
	for(int i=1;i<=n;i++)
	{
		if(i%3!=0&&i%5!=0)
		ans+=i;
	}
	cout<<ans;
}


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