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

int main(){
 int k, a, b, state=0;
 scanf("%d", &k);
 scanf("%d%d", &a, &b);
 for(int i=a;a<b;b++){
  if (!(i % k)) state = 1;
 }
 switch(state){
  case 0:
   printf("NG");
  case 1:
   prinf("OK");
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |  scanf("%d", &k);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |  scanf("%d", &k);
      |  ^~~~~
main.c:3:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:4: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |    printf("NG");
      |    ^~~~~~
main.c:10:4: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:4: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:4: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:4: error: implicit declaration of function 'prinf' [-Wimplicit-function-declaration]
   12 |    prinf("OK");
      |    ^~~~~
Language: C

#include <iostream>

int main()
{
  int k, a, b;
  std::cin >> k >> a >> b;
  
  bool isOK = false;
  for(int i = a; i <= b; ++i)
  {
    if(i % k == 0)
    {
      isOK = true;
      break;
    }
  }
  
  std::cout << (isOK? "OK" : "NG") << std::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 <bits/stdc++.h>
using namespace std;

int main(){
    int K, A, B;
    cin >> K;
    cin >> A >> B;

    for(int i=A; i<=B; i++){
        if(i%K==0){
            cout << "OK" << endl;
            return 0;
        }
    }
    cout << "NG" << 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<stdio.h>
#include<math.h>
#include<string.h>
#include<ctype.h>
#include<stdlib.h>
#define STR 100
int main(){
    int k,a,b;
    scanf("%d %d %d",&k,&a,&b);
    for(int i=a;i<b+1;i++){
        if(a%k==0){
            printf("OK");
            return 0
        }
    }
    printf("No");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:21: error: expected ';' before '}' token
   13 |             return 0
      |                     ^
      |                     ;
   14 |         }
      |         ~
Language: C++

int main() {
    long  K, A, B, result = 0;
    cin >> K >> A >> B;
    long long temp=0,cnt=0;

    for (int i = 0 ; result <= B ; i++ ) {
        result += K;
        if (A <= result && result <= B ) {
            cout << "OK" << endl;
            return 0;
        }
    }


    cout << "NG" << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> K >> A >> B;
      |     ^~~
a.cc:9:13: error: 'cout' was not declared in this scope
    9 |             cout << "OK" << endl;
      |             ^~~~
a.cc:9:29: error: 'endl' was not declared in this scope
    9 |             cout << "OK" << endl;
      |                             ^~~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << "NG" << endl;
      |     ^~~~
a.cc:15:21: error: 'endl' was not declared in this scope
   15 |     cout << "NG" << endl;
      |                     ^~~~
Language: Java

import java.io.*;
import java.math.*;
import java.util.*;
public class Q1 {

	public static void main(String[] args) {
		long mod = (long)(1e9+7);
		Scanner input = new Scanner(System.in);
		boolean valid = false;
		int K = input.nextInt();
		int A = input.nextInt();
		int B = input.nextInt();
		for (int i = A; i <= B; i++) {
			if (i%K==0) {
				valid = true;
				break;
			}
		}
		System.out.println(valid?"OK":"NG");
	}
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  	int k;
  	cin>>k;
  	int n,m;
  	cin>>n>>m;
  	int f=0;
  	for(int i=A;i<=B;i++)
  	{
  	    if(i%k==0)
  	    {
  	        f=1;
  	        break;
  	    }
  	}
  	if(f==1)cout<<"OK"<<endl;
  	else cout<<"NG"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:19: error: 'A' was not declared in this scope
   10 |         for(int i=A;i<=B;i++)
      |                   ^
a.cc:10:24: error: 'B' was not declared in this scope
   10 |         for(int i=A;i<=B;i++)
      |                        ^
Language: C

#include "bits/stdc++.h"
using namespace std;
using ll = long long;

int main()
{
	int K,A,B,i;
	string S;
	cin >> K >> A >> B;
	//vector<int> a(N);
	for(i=A;i<=B;++i)
	{
		if (i % 7 == 0)
		{
			cout << "OK" << endl;
			return 0;
		}
	}
	cout << "NG" << 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 a,b,c,d,,n,i,j,k;

    cin >> k >> a >> b;
  
  n=a-b;

    for(i=a;i<=n;i++){
      if(i%k==0){
        cout << "OK" << endl;
        return 0;
      }
    }

    cout << "NG" << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:5:17: error: expected unqualified-id before ',' token
    5 |     int a,b,c,d,,n,i,j,k;
      |                 ^
Language: C

#include<iostream>
using namespace std;

void solving(){
int k,a,b;
cin>>k>>a>>b;
int fl=1;
for(int i=a;i<=b;i++){
    if(i%k==0){fl=0;cout<<"OK\n";break;}
}
if(fl==1)cout<<"NG\n";
}
int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);

    solving();
    return 0;
}

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

#include <algorithm>
#include<iostream>
#include<vector>
#include<deque>
#include<queue>
#include<stack>
#include<list>
#include<map>
#include<set>
#include<string>
#include <sstream>

#include<stdlib.h>
#include<string.h>
#include<math.h>
#include<limits.h>
const int INF = 0x7fffffff;
using lll = long long;
using ull = unsigned long long;
using namespace std;


int main(){
  lll ii,jj,kk;
  vector<int> ret;
  int k,a,b;

  cin >> k >> a >> b;
  bool flg;
  flg = false;
  for(ii=a;ii<=b;ii++){
    if(ii % k == 0){
      flg = true;
    }
  }

  if(flg){
    cout << "OK" << endl;
  }
  else{
    cout << "NG" << endl;
  }
  return 0;
}


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

#include <bits/stdc++.h>
#define IOS ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define ll long long int
#define endl "\n"
#define f(i, a, b) for(ll i=a; i<b; i++)
#define fb(i, a, b) for(ll i=a; i>=b; i--)
#define pb push_back
#define mp make_pair
#define fi first
#define se second
#define vi vector <int>
#define vl vector <long long>
#define pi pair <int, int>
#define sz(x) (int) x.size()
#define M 100005
#define mod 1000000007
using namespace std;

void solve()
{
	int k, a, b;
	cin>>k>>a>>b;
	if(b-a >= k || a%k >= b%k || a%k == 0 || b %k == 0) cout<<"OK\n";
	else cout<<"NG\n";
}

int main()
{
    IOS
    int t = 1;
    //cin>>t;
    f(tno, 1, t+1)
    {
        solve();
    }
    return 0;
}

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

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

const ll maxs = 1e5+5;
const ll lmaxs = 20;
ll mod = 1e9+7;
ll oo = 1e15;

#define IOS ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define I insert
#define endl '\n'

void pre(){
    
}

void solve(){
    ll k;
    cin >> k;
    ll a,b;
    cin >> a >> b;
    ll f= a/k*k;
    if(f < a)
        f += k;
    if(f >= a and f <= b)
        cout << "OK";
    else cout << "NG" ; 
}

int main(){
    IOS;
    pre();
    ll T = 1;
    //cin>>T;
    while(T--){
        solve();   
    }
    return 0;
}

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

#include <iomanip>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cassert>
#include <iostream>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <numeric>
#include <sstream>
#include <bitset>
#define repr(i,a,b) for(int i=a;i<b;i++)
#define rep(i,n) for(int i=0;i<n;i++)
#define invrepr(i,a,b) for(int i=b-1;i>=a;i--)
#define invrep(i,n) invrepr(i,0,n)

using namespace std;
typedef long long ll;
const ll MOD=1e9+7;

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


    ll ans=0;
    ll anss =0;
    ll count=0;
    ll i,j,h;
    ll Q,N,K,P,A,B;
    
    long double a, b;
    long double x;

    vector<ll> aa;
    string S;

    ll flag=0;
    ll temp=0;

    cin  >> K>>A>>B;
    if(A==B && A%K==0){
cout<<"OK"<<endl;
    }
    else if(A%K==B%K){
cout<<"NG"<<endl;
    }else{
        cout<<"OK"<<endl;
    }

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

K = int(input())
A,B = list(map(int, input().split()))

for i in range(A,B+1):
    if i % K == 0:
        print('OK')
        break
    if i == B:
        print('NG')

Compiler output:
a.cc:6:15: warning: multi-character character constant [-Wmultichar]
    6 |         print('OK')
      |               ^~~~
a.cc:9:15: warning: multi-character character constant [-Wmultichar]
    9 |         print('NG')
      |               ^~~~
a.cc:1:1: error: 'K' does not name a type
    1 | K = int(input())
      | ^
Language: C

#include <iostream>
using namespace std;
#include <string>
#include <vector>
#include <algorithm>
#include <map>
typedef long long ll;
#include <cmath>
#include <iomanip>

const int MOD = 1000000007;


ll POWER(ll x,ll y)
{
	ll ret=1;
	ll p=x;
	for (ll i=y;i>0;i/=2)
	{
		if (i%2) ret=(ret*p)%MOD;
		p=(p*p)%MOD;
	}
	return ret;
}
ll gcm(ll a, ll b)
{
	if (b>a) {ll c=a; a=b; b=c;}
	while (b>0)
	{
		ll r=a%b;
		a=b;
		b=r;
	}
	return a;
}


int main(int argc, char *argv[])
{
	int k,a,b;
	cin>>k>>a>>b;
	int x,y;
	x=(a+k-1)/k;
	y=b/k;

	cout<<((x<=y) ? "OK":"NG")<<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<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,k;
  	cin>>k>>a>>b;
  	for(int i=a;i<=b;++i)
      if(i%k==0){
        cout<<"OK";
        return 0;
      }
	}
		cout<<"NG";
		return 0;
}


Compiler output:
a.cc:12:17: error: 'cout' does not name a type
   12 |                 cout<<"NG";
      |                 ^~~~
a.cc:13:17: error: expected unqualified-id before 'return'
   13 |                 return 0;
      |                 ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

/*
#include <iostream>
#include <algorithm>
#include <string>
#include <fstream>
#include <cmath>
#include <cfloat>
#include <numeric>
 */
#include <bits/stdc++.h>

using namespace std;

#define rep(i,n) for (int i = 0; i < (n); i++)


int main(int argc, const char * argv[]) {

    
    int n;
    cin >> n;
    int a,b;
    cin >> a >> b;
    
    for(int i=a; i<b; i++){
        if(i%n==0){
            cout << "OK" << endl;
            return 0;
        }
            
    }

    cout << "NG"
    
    return 0;
}


Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:33:17: error: expected ';' before 'return'
   33 |     cout << "NG"
      |                 ^
      |                 ;
   34 | 
   35 |     return 0;
      |     ~~~~~~
Language: C++

#iostream

int main() {
  int K, A, B;
  
  std::cin >> K;
  std::cin >> A >> B;
  
  for (int i = A; i <= B; i++) {
    if (i % K == 0) {
      std::cout << "OK" << std::endl;
      return 0;
    }
  }
  
  std::cout << "NG" << std::endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iostream
    1 | #iostream
      |  ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:8: error: 'cin' is not a member of 'std'
    6 |   std::cin >> K;
      |        ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #iostream
a.cc:7:8: error: 'cin' is not a member of 'std'
    7 |   std::cin >> A >> B;
      |        ^~~
a.cc:7:8: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:12: error: 'cout' is not a member of 'std'
   11 |       std::cout << "OK" << std::endl;
      |            ^~~~
a.cc:11:12: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:33: error: 'endl' is not a member of 'std'
   11 |       std::cout << "OK" << std::endl;
      |                                 ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #iostream
a.cc:16:8: error: 'cout' is not a member of 'std'
   16 |   std::cout << "NG" << std::endl;
      |        ^~~~
a.cc:16:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:29: error: 'endl' is not a member of 'std'
   16 |   std::cout << "NG" << std::endl;
      |                             ^~~~
a.cc:16:29: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include<stdio.h>
int main(){
int a,b,k,;
scanf("%d", &k);
scanf("%d%d", &a,&b);

for(i=a;i<=b;i++){
if(i%k==0){
printf("OK\n");
return 0;
}
}
printf("NG\n");
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:3:11: error: expected identifier or '(' before ';' token
    3 | int a,b,k,;
      |           ^
main.c:7:5: error: 'i' undeclared (first use in this function)
    7 | for(i=a;i<=b;i++){
      |     ^
main.c:7:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
int K,A,B;
cin>>K>>A>>B;
int a=K*(((A-1)/K)+1);
if(a<=B)
cout<<"OK"<<endl;
else
cout<<"NG"<<endl
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before 'return'
   10 | cout<<"NG"<<endl
      |                 ^
      |                 ;
   11 |    return 0;
      |    ~~~~~~
Language: C++

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

int main() {

  
int k;
int A,B;
cin>>K;
cin>>A>>B;
int f=0;
for(int i=A;i<=B;++i)
{
	if(i%k==0)
	{
		f=1;
		break;
	}
}

if(f==0)
{
	cout<<"NG"<<endl;
}
else
{
	cout<<"OK"<<endl;
}

	return 0;
}

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

/*
 
@author
_      _          _                 _      _
\\    // /\    | | \  |     |    /\ \\    //     
 \\  // /__\   | |_/  |_____|   /__\ \\  //
  \\// /    \  | | \  |     |  /    \ \\//
   \/ /      \ | |_/  |     | /      \ \/
@ Indian Institute of Technology Bhilai

With practice comes perfection,
with knowledge comes wisdom.
Incorporate wisdom in you, practice will harvest better results.
Always learn from others, your method is good but someone's even better.
Results take time, run for wisdom, for innovation, for getting better.
Points are mere objects, either you solve first or you solve better.
Seek for betterment, for quality, pace is important but cannot outstand
the quality you persist.
Times are bad just as now but it'll improve, this is my passion and I promise 
I won't let it go. I'll build myself again like a fighter gets back up after 
being thrown to the ground.
I'll learn. I bet that. I promise that.
*/
 
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ul;
#define rep(i,n) for(ll i=0; i<n; i++)
#define rep1(i,n) for(ll i=1; i<=n; i++)
#define pb push_back
#define fi first
#define se second
#define all(v) v.begin(), v.end()
#define alla(arr,n) arr, arr+n
#define yes cout<<"YES\n"
#define no cout<<"NO\n"
#define fsync ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
const ll maxx =  1e9+7;

bool compare(const pair<ll,ll> &a, const pair<ll,ll> &b){
    return a.fi>b.fi;
}

ll inline power(ll a, ll b, ll p){
    a %= p;
    ll ans = 1;
    while(b>0){
        if(b & 1)
            ans = (ans*a)%p;
        a = (a*a)%p;
        b >>= 1;
    }
    return ans;
}

ll inv(ll n, ll p){
    return power(n,p-2, p);
}

bool inline isPrime(ll n) { 
    if (n <= 1)  return false; 
    if (n <= 3)  return true; 
    if (n%2 == 0 || n%3 == 0) return false; 
    for (ll i=5; i*i<=n; i=i+6) 
        if (n%i == 0 || n%(i+2) == 0) 
           return false; 
    return true; 
}

template<class T>
void printv(T &v, ll n){
    if(n==-1)
        n = v.size();
    rep(i,n)
        cout << v[i] << " ";
    cout << "\n";
}

void solve(){
    ll k,a,b;
    cin>>k>>a>>b;
    if(k%a == 0 || k%b == 0){
        cout << "OK\n";
        return;
    }
    if(k/a<(k/b)){
        cout << "OK\n";
        return;
    }
    return "NG\n";
}

int main(){
    fsync
    ll test=1;
    // cin >> test;
    while(test--){
        solve();
    }
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:91:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
   91 |     return "NG\n";
      |            ^~~~~~
Language: Java

import java.io.*;
import java.util.StringTokenizer;


public class ACWeLoveGolf {

    public static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        public FastScanner(String s) {
            try {
                br = new BufferedReader(new FileReader(s));
            } catch (FileNotFoundException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
        }

        public FastScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String nextToken() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(nextToken());
        }

        long nextLong() {
            return Long.parseLong(nextToken());
        }

        double nextDouble() {
            return Double.parseDouble(nextToken());
        }
    }

    public static void main(String[] args) {
        FastScanner fs = new FastScanner();

        int k = fs.nextInt();
        int a = fs.nextInt();
        int b = fs.nextInt();

        for (int i = a; i <= b; ++i) {
            if (i % k == 0) {
                System.out.println("OK");
                return;
            }
        }

        System.out.println("NG");
    }

}


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

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

int main() {
  int K , A, B ;
  cin >> K >> A >> B;
  if((B-A)/K>=1){
    cout << "Yes" << endl;
  }else{
    cout << "No << endl;
  }

}

Compiler output:
a.cc:10:13: warning: missing terminating " character
   10 |     cout << "No << endl;
      |             ^
a.cc:10:13: error: missing terminating " character
   10 |     cout << "No << endl;
      |             ^~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:11:3: error: expected primary-expression before '}' token
   11 |   }
      |   ^
Language: C

#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

using namespace std;
using namespace __gnu_pbds;

#define DEBUG
#ifdef DEBUG
#define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
	template <typename Arg1>
	void __f(const char* name, Arg1&& arg1)
	{
		cerr << name << " = " << arg1 << endl;
	}
	template <typename Arg1, typename... Args>
	void __f(const char* names, Arg1&& arg1, Args&&... args)
	{
		const char* comma = strchr(names + 1, ','); cerr.write(names, comma - names) << " = " << arg1 << " || ";
		__f(comma+1, args...);
	}
#else
#define debug(...)
#endif

template <class Ch, class Tr, class Container>
basic_ostream <Ch, Tr> & operator << (basic_ostream <Ch, Tr> & os, Container const& x) {
    os << "{ ";
    for(auto& y : x) os << y << " ; ";
    return os << "}";
}

template <class X, class Y>
ostream & operator << (ostream & os, pair <X, Y> const& p) {
	return os << "[ " << p.first << ", " << p.second << "]" ;
}

#define FAST_IO std::ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define ll long long int
#define pb push_back
#define mp make_pair
#define ld long double
#define sz(a) (ll)(a).size()
#define endl "\n"

// priority_queue<ll, vector<ll>, less<ll>>pq;     // Max Heap
// priority_queue<ll, vector<ll>, greater<ll>>pq;  // Min Heap

typedef tree<ll,null_type,less<ll>,rb_tree_tag,tree_order_statistics_node_update> ordered_set;
//K-th smallest
//cout << k << "kth (1 based indexing) smallest: " << *A.find_by_order(k - 1) << endl;
//NO OF ELEMENTS < X
//cout << "No of elements less than " << X << " are " << A.order_of_key(X) << endl;

int main()
{
	FAST_IO;

 	ll k, a, b;
 	cin >> k >> a >> b;
 	if(b - (b % k) >= a) cout << "OK" << endl;
 	else cout << "NG" << endl;   
    return 0;
}

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

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

int main(void) {
    int k, a, b;
    cin >> k >> a >> b;
    for (int i = a; i < b + 1; i++) {
        if (i % 7 == 0) {
            cout << "OK";
            return 0;
    }
    cout << "NG";
}

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

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

int main(){
    int A,B,K;
    cin>>K>>A>>B;
    for(int i=A;i<=B;i++){
        if(i%K==0){
            cout <<"OK"<<endl;
            return 0;
        }
    }
    cout<<"NG"<<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 <iostream>

int main()
{
    int K, A, B;
    std::cin >> K >> A >> B;

    if ((A - 1) / K == B / K) {
        std::cout << "NG" << std::endl;
    } else {
        std::cout << "OK" << std::endl;
    }

    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.*;
public class Main{

  static long maxx(int[] arr,int ind,int k){
  	if(ind==arr.length-1){
    	return 0;
    }
    if(aa[ind]!=-1){return aa[ind];}
    long maxs=0;
    for(int j=1;j<=k;j++){
      if(ind+j>=arr.length){break;}
    	maxs=Math.max( maxs, maxx(arr,ind+j,k )+Math.abs(arr[ind]-arr[ind+j] )  );
    }
    return aa[ind]=maxs;
  }
  
  public static void main(String[] args){
  
    Scanner s=new Scanner(System.in);
    int n=s.nextInt();
    int k=s.nextInt();
    int ss=s.nextInt();
    if(  (int)(k/n) == (int)(ss/n)  ){
    System.out.println("NG");}else{System.out.println("OK");}
  
  }
  
}

Compiler output:
Main.java:8: error: cannot find symbol
    if(aa[ind]!=-1){return aa[ind];}
       ^
  symbol:   variable aa
  location: class Main
Main.java:8: error: cannot find symbol
    if(aa[ind]!=-1){return aa[ind];}
                           ^
  symbol:   variable aa
  location: class Main
Main.java:14: error: cannot find symbol
    return aa[ind]=maxs;
           ^
  symbol:   variable aa
  location: class Main
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
vector<int> input(int N) {
  vector<int> vec(N);
  for (int i = 0; i < N; i++) {
    cin >> vec.at(i);
  }
  return vec;
}

int main() {
  int k,a,b;
  cin >> k >> a >> b;
  if(k<=b-a+1){
    cout << "OK" << endl;
  }else{
    cout << "NG" << endl;
}

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

#include<bits/stdc++.h>
using namespace std;
#define rep(i,j,n) for(int i=(int)(j);i<(int)(n);I++)
#define REP(i,j,n) for(int i=(int)(j);i<=(int)(n);I++)
#define per(i,j,n) for(int i=(int)(j);(int)(n)<=i;i--)
#define int long long
#define ll long long
#define ALL(a) (a).begin(),(a).end()
#define pb push_back
#define mp make_pair
#define endl "\n"
const int MOD=1e9+7;
//const int MOD=998244353;
const int INF=(1ll<<62)-1;
signed main(){
  int K,A,B; cin>>K>>A>>B;
  REP(i,A,B){
    if(i%K==0){
      cout<<"OK"<<endl;
      return 0;
    }
  }
  cout<<"NG"<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:51: error: 'I' was not declared in this scope
    4 | #define REP(i,j,n) for(int i=(int)(j);i<=(int)(n);I++)
      |                                                   ^
a.cc:17:3: note: in expansion of macro 'REP'
   17 |   REP(i,A,B){
      |   ^~~
Language: C

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> P;

int main(){
  int K, A ,B;
  cin >> K >> A >> B;

  for (int i = A; i <= B; i++) {
      if (i % K == 0) {
          cout << "OK" << endl;
          return 0;
      }
  }
  cout << "NG" << 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 <iostream>
#include <cstdio>
#include <cstring>
#include <climits>
#include <string>
#include <algorithm>
#include <cmath>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <unordered_map>
#include <set>
#include <unordered_set>
#include <sstream>
#include <numeric>
// #include <boost/multiprecision/cpp_dec_float.hpp>
// #include <boost/multiprecision/cpp_int.hpp>

///////////////////////////////////////////////////////////////
// namespace
///////////////////////////////////////////////////////////////
using namespace std;
// namespace mp = boost::multiprecision;

///////////////////////////////////////////////////////////////
// types
///////////////////////////////////////////////////////////////
using ll = long long int;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
// using mpi = mp::cpp_int;
// using mpf = mp::number<mp::cpp_dec_float<1024>>;

///////////////////////////////////////////////////////////////
// mod https://qiita.com/drken/items/3b4fdf0a78e7a138cd9a
///////////////////////////////////////////////////////////////
// ll MOD = 1000000007;
//
// ll mod(long long val) {
//     long long res = val % MOD;
//     if (res < 0) res += MOD;
//     return res;
// }
//
// ll modinv(ll a) {
//     ll b = MOD, u = 1, v = 0;
//     while (b) {
//         ll t = a / b;
//         a -= t * b; swap(a, b);
//         u -= t * v; swap(u, v);
//     }
//     u %= MOD;
//     if (u < 0) u += MOD;
//     return u;
// }
//
// const int MAX = -1;
// ll fac[MAX], finv[MAX], inv[MAX];
// void com_init() {  // initialize nCk table with O(N)
//     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){  // nCk
//     if (n < k) return 0;
//     if (n < 0 || k < 0) return 0;
//     return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
// }


int main() {
    int k, a, b; cin >> k >> a >> b;
    for (int i = a; i <= b; ++i) {
        if (i % k == 0) {
            cout << "OK" << endl;
            return 0;
        }
    }
    cout << "NG" << 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<bits/stdc++.h>
using namespace std;

void solving(){
int k,a,b;
cin>>k>>a>>b;
int fl=1;
for(int i=a;i<=b;i++){
    if(i%k==0){fl=0;cout<<"OK\n";break;}
}
if(fl==1)cout<<"NG\n";
}
int main(){
    ios::sync_with_stdio(0);
    cin.tie(0);

    solving();
    return 0;
}

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

#include <iostream>

using namespace std;

int main() {
	int k,a,b;
    bool flag=false;
	cin >> k >> a >> b;
    for(int i=a;i<=b;i++){
    if(i%k==0){
    flag=true;
    }
    if(flag){
    cout<<"OK"<<endl;
    }else{
    cout<<"NG"<<endl;
    }
}

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

#include <iostream>

int main() {
  using namespace std;
  int k,a,b;
  cin >> k >> a >> b;
  for(int i=0; i<1000; i++) {
    if(a <= k*i && k*i <= b) {
      cout << "OK" << endl;
      return;
    }
  }
  cout << "NG" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:7: error: return-statement with no value, in function returning 'int' [-fpermissive]
   10 |       return;
      |       ^~~~~~
Language: C

#include <bits/stdc++.h>

using namespace std;

int main() {
  int k,a, b;
  cin >> k >> a >> b;
  for(int i=k; i <= b; i+=k) {
    if(a <= i && i <= b){ cout << "OK" << endl; return 0;}
  }
  cout << "NG" << 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>
using namespace std;


int main(){
	int k,a,b;
	cin >> k >> a >> b;
	if(a <= k*(b/k)){
	cout << "OK" << endl;
	}else{
		cout << "NG" << 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>
using namespace std;
#define rep(i, n) for(int i=0; i<n; i++)
typedef long long ll;
typedef pair<int, int> P;
 
int main(){
  int k;
  cin >> k;
  int a, b;
  cin >> a >> b;

  for(int i=a; i<=b; i++){
    if(i%k==0){
      cout << "OK" << endl;
      return 0;
    }
  }
  
  cout << "NG" << endl;
  return 0;
}

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

#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cassert>
#include <functional>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <stack>
using namespace std;
using llong = long long;

llong k, a, b;

int main() {
    cin >> k >> a >> b;n

    for (int i = a; i <= b; i++) {
        if (i % k == 0) {
            cout << "OK" << endl;
            return 0;
        }
    }
    cout << "NG" << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:24: error: 'n' was not declared in this scope; did you mean 'yn'?
   20 |     cin >> k >> a >> b;n
      |                        ^
      |                        yn
a.cc:22:21: error: 'i' was not declared in this scope
   22 |     for (int i = a; i <= b; i++) {
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define CoDeFoRcEs_and_ChIlL ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
typedef long long ll;
#define fl(i,a,b) for(ll i=a;i<b;i++)
#define rfl(i,a,b) for(ll i=a;i>b;i--)
#define pb push_back
#define mp make_pair
#define test ll t;cin>>t;while(t--)#include<bits/stdc++.h>
using namespace std;
#define CoDeFoRcEs_and_ChIlL ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL);
typedef long long ll;
#define fl(i,a,b) for(ll i=a;i<b;i++)
#define rfl(i,a,b) for(ll i=a;i>b;i--)
#define pb push_back
#define mp make_pair
#define test ll t;cin>>t;while(t--)
#define lld long double
#define vpp vector<pair<ll,ll>>
#define pii pair<ll,ll>
#define ff first
#define ss second
#define endl '\n'
#define trace(x) cerr<<#x<<": "<<x<<" "<<endl;
const ll M =1000000007;
const double pi  =acos(-1);
const int N = 5e2 + 10;
int main()
{  
    CoDeFoRcEs_and_ChIlL;
    ll k,a,b,f=0;
  cin>>k>>a>>b;
  fl(i,a,b+1)
  {
if(i%k==0)f=1;}
  if(f)cout<<"OK";
    else cout<<"NG";
} 
#define lld long double
#define vpp vector<pair<ll,ll>>
#define pii pair<ll,ll>
#define ff first
#define ss second
#define endl '\n'
#define trace(x) cerr<<#x<<": "<<x<<" "<<endl;
const ll M =1000000007;
const double pi  =acos(-1);
const int N = 5e2 + 10;
int main()
{  
    CoDeFoRcEs_and_ChIlL;
    ll k,a,b,f=0;
  cin>>k>>a>>b;
  fl(i,a,b+1)
  {
if(i%k==0)f=1;]
  if(f)cout<<"OK";
    else cout<<"NG";
} 

Compiler output:
a.cc:17:9: warning: "test" redefined
   17 | #define test ll t;cin>>t;while(t--)
      |         ^~~~
a.cc:9:9: note: this is the location of the previous definition
    9 | #define test ll t;cin>>t;while(t--)#include<bits/stdc++.h>
      |         ^~~~
a.cc:46:10: error: redefinition of 'const ll M'
   46 | const ll M =1000000007;
      |          ^
a.cc:25:10: note: 'const ll M' previously defined here
   25 | const ll M =1000000007;
      |          ^
a.cc:47:14: error: redefinition of 'const double pi'
   47 | const double pi  =acos(-1);
      |              ^~
a.cc:26:14: note: 'const double pi' previously defined here
   26 | const double pi  =acos(-1);
      |              ^~
a.cc:48:11: error: redefinition of 'const int N'
   48 | const int N = 5e2 + 10;
      |           ^
a.cc:27:11: note: 'const int N' previously defined here
   27 | const int N = 5e2 + 10;
      |           ^
a.cc:49:5: error: redefinition of 'int main()'
   49 | int main()
      |     ^~~~
a.cc:28:5: note: 'int main()' previously defined here
   28 | int main()
      |     ^~~~
a.cc: In function 'int main()':
a.cc:56:15: error: expected primary-expression before ']' token
   56 | if(i%k==0)f=1;]
      |               ^
a.cc:58:5: error: 'else' without a previous 'if'
   58 |     else cout<<"NG";
      |     ^~~~
a.cc:59:2: error: expected '}' at end of input
   59 | }
      |  ^
a.cc:50:1: note: to match this '{'
   50 | {
      | ^
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
    ios_base::sync_with_stdio(false),cin.tie(NULL),cout.tie(NULL);
    int k,a,b;
    cin>>k>>a>>b;
    if(b/k - (a-1)/k > 0)
    {
        cout<<"OK";
    }
    else
    {
        cout<<"NG";
    }
    
    return 0;
}

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

#include <bits/stdc++.h>

using namespace std;
typedef long long LL;
typedef pair<int,int> pii;

#define pb push_back
#define eb emplace_back
#define mp make_pair
#define fi first
#define se second
#define debug(x)  do{cerr<<#x<<": "<<x<<"\n";}while(0)
#define debugv(x) do{cerr<<#x<<": ";for(auto&e: (x))cerr<<e<<" ";cerr<<"\n";}while(0)
#define all(x) (x).begin(), (x).end()
#define rsort(x) sort((x).rbegin(), (x).rend())
#define fori(i, n) for (int i = 0; i < (int)(n); ++i)
#define ford(i, n, e) for (int i = (int)(n); i >= (int)(e); --i)
#define fore(i, a, b) for (int i = (int)(a); i <= (int)(b); ++i)
template<typename T> bool mmax(T &m, const T q) { if (m < q) {m = q; return true;} else return false; }
template<typename T> bool mmin(T &m, const T q) { if (m > q) {m = q; return true;} else return false; }
#define RETURN(x) do{cout << (x) << '\n'; return 0;}while(0)

const int MOD = 1e9+7;
const int MAXN = 5e5+3;
const int INF = 1e9;

int main(int argc, char **argv) {
#ifdef OJ
    freopen("input.txt", "rt", stdin);
    //freopen("output.txt", "wt", stdout);
#endif
    ios::sync_with_stdio(false);
    cin.tie(0);

    //int ntest; cin >> ntest; while(ntest--)
    {
        int k,a,b; cin >> k >> a >> b;
        int i = b/k*k;
        if(i >= a && i <= b) cout << "OK\n";
        else cout << "NG\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

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

int main(int argc, char *argv[]) { ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);

  int k,a,b;cin>>k>>a>>b;
  for(int i=a;i<=b;i++){
    if(i%k==0){
      cout<<"OK"<<endl;
      return 0;
    }
  }
      cout<<"NG"<<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 rep(i,a,b) for(int i=a;i<b;i++)
#define drep(i,a,b) for(int i=a;i>=b;i--)
#define fore(i,a) for(auto &i:a)
#define all(x) (x).begin(),(x).end()
using namespace std;
void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); }
typedef long long ll; const int inf = INT_MAX / 2; const ll infl = 1LL << 60;
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; }

//---------------------------------------------------------------------------------------------------

void _main() {
    int K, A, B;
    cin >> K;
    cin >> A >> B;
    bool res = false;
    rep(i, A, B + 1) {
        if (i % K == 0) {
            res = true;
            break;
        }
    }
    if (res) cout << "OK" << endl;
    else cout << "NG" << 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 <algorithm>
#include <array>
#include <cmath>
#include <deque>
#include <iostream>
#include <set>
#include <string>

using namespace std;

int main() {
  int k, a, b;

  cin >> k >> a >> b;

  bool flag = false;

  for (int i = a; i <= b; i++) {
    if (i % k == 0) {
      cout << "OK" << endl;
      flag = true;
      break;
    }
  }

  if (!flag) {
    cout << "NG" << endl;
  }

  return 0;
}

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

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

int main(){
  int k,a,b;
  cin >> k >> a >>b;
  int c,d;
  c = b/k;
  d = c * k;
  if(a<=d&&d<=b) cout << "OK";
  if(d<a||b<d) cout <<"NG;
}


Compiler output:
a.cc:12:23: warning: missing terminating " character
   12 |   if(d<a||b<d) cout <<"NG;
      |                       ^
a.cc:12:23: error: missing terminating " character
   12 |   if(d<a||b<d) cout <<"NG;
      |                       ^~~~
a.cc: In function 'int main()':
a.cc:13:1: error: expected primary-expression before '}' token
   13 | }
      | ^
Language: C

#include <ext/pb_ds/assoc_container.hpp>
#include <bits/stdc++.h>
using namespace std;
using namespace __gnu_pbds;
template <class c, class cmp = less<c> > using ordered_set = tree<c, null_type, cmp, rb_tree_tag, tree_order_statistics_node_update>;
#define IOS ios_base::sync_with_stdio(false);cin.tie(NULL); 

#define ld long double


#define TRACE
#ifdef TRACE
#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
  cerr << name << " : " << arg1 << std::endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
  const char* comma = strchr(names + 1, ',');cerr.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...);
}
#else
#define trace(...) 1
#endif
template<class T> ostream& operator<<(ostream &os, vector<T> V) {os << "[ "; for(auto v : V) os << v << " "; return os << "]";}
template<class L, class R> ostream& operator<<(ostream &os, pair<L,R> P) {return os << "(" << P.first << "," << P.second << ")";}
template <typename T,typename U>pair<T,U> operator+(const pair<T,U> & l,const std::pair<T,U> & r) { return {l.first+r.first,l.second+r.second};}

typedef long long int ll;
#define int ll
#define endl '\n'
const ll mod =1e9+7;
const ll MAX_NODES =200001;
const ll MAX_LOG =50;
const ll inf = 1e18+123;
const int maxn = 2000001;
int32_t main()
{

   IOS
  int k,a,b;
  cin>>k>>a>>b;
  if(a%k == 0)
    {
      cout<<"OK"<<endl;
      return 0;
    }
  int mul = a+(k-a%k);
   if(mul<=b){
     cout<<"OK"<<endl;
   }
   else{
     cout<<"NG";
   }
  
} 


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

import java.util.*;
class Main{
    static Scanner sc=new Scanner(System.in);
    public static void main(String[] args){
        int N = sc.nextInt();
        int A = sc.nextInt();
        int B = sc.nextInt();
        if((B-A+1)>=K)
        System.out.println("OK");
        else
            System.out.println("NG");
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
        if((B-A+1)>=K)
                    ^
  symbol:   variable K
  location: class Main
1 error
Language: C++

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

#define int long long

int32_t main(){ 

    ios::sync_with_stdio(0);
    cin.tie(0);

    int k,a,b;
    for(int i=a;i<=b;i++){
        if(i%k==0){
            cout << "OK\n"
            return 0;
        }
    }
    cout << "NG\n";
    
    return 0;
} 

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:14:27: error: expected ';' before 'return'
   14 |             cout << "OK\n"
      |                           ^
      |                           ;
   15 |             return 0;
      |             ~~~~~~
Language: C

#include<cstdio>
#include<cmath>
#include<climits>
#include<algorithm>
#include<sstream>
#include<iostream>
#include<string>
#include<vector>
#include<queue>
#include<stack>
#include<unordered_set>
#include<unordered_map>
#include<set>
#include<map>
#include<list>

using namespace std;

#define in(s) cin >> s
#define out(s) cout << s << endl
#define rep(i,n) for(int i=0; i<n; i++)
#define rept(i,a,b) for(int i=a; i<b; i++)
#define ll long long
#define MOD 1000000007

#define IMIN INT_MIN;
#define IMAX INT_MAX;


int main(){
    int K, A, B;
    in(K); in(A); in(B);
    bool flag = false;
    for (int i=A; i<=B; i++) {
        if (i % K == 0) {
            flag = true;
        }
    }
    cout << ((flag)? "OK":"NG") << endl;

	return 0;
}


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

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

int main() {
  int k, a, b;
  cin >> k >> a >> b;
  bool res = false;
  for (int i = a, i <= b; i++) {
    if (i % k == 0) {
      res = true;
    }
  }
  if (res) {
    cout << "OK" << endl;
  }
  else {
    cout << "NG" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: expected ';' before '<=' token
    8 |   for (int i = a, i <= b; i++) {
      |                    ^~~
      |                    ;
a.cc:8:21: error: expected primary-expression before '<=' token
    8 |   for (int i = a, i <= b; i++) {
      |                     ^~
Language: C

#include <bits/stdc++.h>
#define ll long long int
#define endl "\n"
using namespace std;
#define M 1000000007
#define pb push_back
#define rep(i, a, b) for(int i = a; i <= b; i++)
ll mod = 998244353;


int main()
{
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
	int t; t = 1;
	//cin >> t;
	while(t--)
	{	
		ll k, a, b;
		cin >> k >> a >> b;
		if(a%k == 0 || b%k == 0)
			cout << "OK" << endl;
		else if(abs(a-b) >= k)
			cout << "OK" << endl;
		else
			cout << "NG" << 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>
using namespace std;

int main(){
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int k,a,b;
  cin >> k >> a >> b; 
  cout << (b/k == a/k && || (a % k) == 0) ? "OK" : "NG";
  cout << "\n";
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:26: error: expected primary-expression before '||' token
   10 |   cout << (b/k == a/k && || (a % k) == 0) ? "OK" : "NG";
      |                          ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int k,a,b; cin>>k>>a>>b;
bool fl=false;
  for(int i=a; i<=b; ++i)if(i%k==0)fl=true;

  if(fl)cout<<"OK"<<endl;
  else cout<<"NG"<<Endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:20: error: 'Endl' was not declared in this scope
   10 |   else cout<<"NG"<<Endl;
      |                    ^~~~
Language: C

#include<functional>
#include<algorithm>
#include<iostream>
#include<iomanip>
#include<cstring>
#include<cstdlib>
#include<utility>
#include<string>
#include<cstdio>
#include<vector>
#include<bitset>
#include<cmath>
#include<ctime>
#include<queue>
#include<deque>
#include<stack>
#include<map>
#include<set>
using namespace std;
const int inf=2147483647,dx[]={-1,0,1,0},dy[]={0,-1,0,1};// 上 左 下 右
const int N=100005,M=1000005,K=200005,mod=1000000007;
const long long llinf=9223372036854775807ll;
//int & long long
int k,a,b;
int main(){
	cin>>k>>a>>b;
	for(int i=a;i<=b;i++)
		if((i%k==0))
		{
			cout<<"OK";
			return 0;
		}
	cout<<"NG";
	return 0;
}

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