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

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
#include<math.h>
#include<limits>
#include<list>
#include <stdio.h>
using namespace std;
using ll = long long;
#define rep(i,n) for(int i = 0;i < (n); ++i)
#pragma GCC optimize("Ofast")



int main() {
	int d, s, t;
	cin >> d >> s >> t;
	if (s * t <= ) {
		cout << "Yes" << endl;
	}
	else cout << "No" << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:22: error: expected primary-expression before ')' token
   20 |         if (s * t <= ) {
      |                      ^
Language: Java

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int d = sc.nextInt();
		int t = sc.nextInt();
		int s = sc.nextInt();

		if(d/s <= t) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}

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

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
        int b = sc.nextInt();
        int c = sc.nextInt();      
		
      	if(a / c <= b){
          System.out.println("Yes");
        }else{
          System.out.println("No");
        }
 
      	
 
    }
}

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

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

int main()
{
  int d,t,s;
  cin>>d>>t>>s;
  if(t*s >= d)	cout<<"Yes\n";
  else	cout<<"No\n";
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incluyde; did you mean #include?
    1 | #incluyde<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>d>>t>>s;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incluyde<bits/stdc++.h>
a.cc:8:17: error: 'cout' was not declared in this scope
    8 |   if(t*s >= d)  cout<<"Yes\n";
      |                 ^~~~
a.cc:8:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |   else  cout<<"No\n";
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

// Shinchan Loves Coding :)))
#include<bits/stdc++.h>
#include<map>
#include<set>
#include<stack>
using namespace std;

#define night_rider ios::sync_with_stdio(false);cin.tie(NULL);
#define int long long int
#define double long double
#define en "\n"
#define fi first
#define se second
#define MP make_pair
#define PB push_back
#define all(v) v.begin(),v.end()
#define allr(v) v.rbegin(),v.rend()
#define toUpper(x) transform(x.begin(), x.end(), x.begin(),::toupper);
#define toLower(x) transform(x.begin(), x.end(), x.begin(),::tolower);
typedef vector<int> vi;
typedef vector<vector<int>> vii;
typedef pair<int,int> pi;
typedef vector<pair<int,int>> pii;
bool secdes(const pair<int,int>&a , const pair<int,int>&b){if(a.se==b.se){return a.fi>b.fi;}else{return a.se>b.se;}}//second descending !
bool sir(const pair<int,int>&a , const pair<int,int>&b){if(a.fi==b.fi){return a.se>b.se;}else{return a.first>b.first;}}//first descending !
bool bysec(const pair<int,int>&a , const pair<int,int>&b){if(a.se==b.se){return a.fi<b.fi;} else{return a.se<b.se;}}//second ascending !

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/

const int no=3e6+5;
const int modulo=1e9+7;
const int inf=1e18;
const int N=1001;
int a[no],b[no],cc[no],dd[no],mat[N][N];
stack<int> S;
stack<int> ma;
int dx[]={-1 , 0 , 1 , 0};
int dy[]={0 , 1 , 0 , -1};
char c[N][N];

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/
int mul(int x ,int y,int mod) {
    return ((x%mod)*(y%mod))%mod;
}

int powwmod(int x, int y , int mod) { int res=1; while (y) { if (y & 1){ y--; res=mul(res,x,mod); res%=mod; } else { y/=2; x=mul(x,x,mod); x%=mod; } } return res%mod; }

int poww(int x , int y) { int res=1; while(y) { if(y%2) { y--; res=res*x; } else { y/=2; x=x*x; } } return res; }

bool comp(int x, int y) {
    return (x < y);   // MINIMUM
    return (x > y);   // MAXIMUM
}

int gcd(int x, int y) { if(y==0) return x; else return gcd(y,x%y); }

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------*/

vi adj[no];
int used[no],vis[N][N],dist[N][N],timer,in[no],low[no];
int pp,brig;

/**/
void solve (){
    int n,m,k,x,y,p,q;
    cin>>n>>m>>k;
    int kk=n/m;
    i(kk<k) cout<<"No";
    else cout<<"Yes";
}
void runn(){
        #ifndef ONLINE JUDGE
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
        #endif
}

signed main()
{
    night_rider
    //runn();
    int t=1;
    //cin>>t;
    while(t--){
        solve();
    }
}


Compiler output:
a.cc:72:24: warning: extra tokens at end of #ifndef directive
   72 |         #ifndef ONLINE JUDGE
      |                        ^~~~~
a.cc: In function 'void solve()':
a.cc:68:5: error: 'i' was not declared in this scope
   68 |     i(kk<k) cout<<"No";
      |     ^
a.cc:69:5: error: 'else' without a previous 'if'
   69 |     else cout<<"Yes";
      |     ^~~~
Language: C++

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

#define ll long long
#define pii pair<int, int>
#define pll pair<ll, ll>
#define vi vector<int>
#define vll vector<ll>
#define vpii vector<pair<int,int>>
#define vpll vector<pair<ll,ll>>
#define fr(i,k,n) for (int i = k; i < n; ++i)
#define fri(i,k,n) for (int i = k; i >= n; --i)
#define INF (int)1e9
#define MOD 1000000007
#define pb push_back
#define mp make_pair
#define all(arr) arr.begin(),arr.end()

void boost(){
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
}

void solve(){
	ll d,t,s;
	cin>>d>>t>>s;
	if(d==t*s){
		cout<<"Yes"
	}
	else{
		cout<<"No";
	}
	return;
}

int main()
{
	boost();
	
	int tc=1;
	//cin>>tc;
	while(tc--)
		solve();
	return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:28:28: error: expected ';' before '}' token
   28 |                 cout<<"Yes"
      |                            ^
      |                            ;
   29 |         }
      |         ~
Language: C++

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

int main() {
  int N,S,T
  cin >> N >> S >> T
  if(N<=S*T)cout << "Yes" << endl;
  else cout << "No" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> N >> S >> T
      |   ^~~
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else cout << "No" << endl;
      |   ^~~~
Language: C

#include<bits/stdc++.h>
using namespace std;
template <typename T>
inline void readin(T &x) {
    x = 0;
    T fh = 1;
    char ch = getchar();
    for (; !isdigit(ch); ch = getchar()) if (ch == '-') fh = -1;
    for (; isdigit(ch); ch = getchar()) x = (x << 1) + (x << 3) + (ch ^ 48);
    x *= fh;
}
inline void d_read(double &x) {
    x = 0.0;
    int fh = 1;
    char ch = getchar();
    for (; !isdigit(ch); ch = getchar()) if (ch == '-') fh = -1;
    for (; isdigit(ch); ch = getchar()) x = x * 10 + (ch ^ 48);
    if (ch == '.') {
        double num = 1.0;
        ch = getchar();
        for (; isdigit(ch); ch = getchar()) x = x + (num /= 10) * (ch ^ 48);
    }
    x *= fh;
}
template <typename T>
inline void wt(T x) {
    if (x > 9) wt(x / 10);
    putchar(x % 10 + 48);
}
template <typename T>
inline void writeln(T x, char c) {
    if (x < 0) {
        putchar('-');
        x = -x;
    }
    wt(x);
    putchar(c);
}
int main() {
    long long d, t, s;
    readin(d); readin(t); readin(s);
    if (d > t * s) puts("No");
    else puts("Yes");
    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++

D, T, S = gets.split.map(&:to_i)

puts T * S >= D ? 'Yes' : 'No'


Compiler output:
a.cc:3:19: warning: multi-character character constant [-Wmultichar]
    3 | puts T * S >= D ? 'Yes' : 'No'
      |                   ^~~~~
a.cc:3:27: warning: multi-character character constant [-Wmultichar]
    3 | puts T * S >= D ? 'Yes' : 'No'
      |                           ^~~~
a.cc:1:1: error: 'D' does not name a type
    1 | D, T, S = gets.split.map(&:to_i)
      | ^
Language: Java


#include <bits/stdc++.h>


using namespace std;
double pi=3.14159265358979323846264338;
long long sum;

long long n,k,st,h,w,m;
int tx,ty,gx,gy,cx,cy;

string s;
const int dx[4]={-1,1,0,0};
const int dy[4]={0,0,-1,1};
int arr[300001],arr2[300001];
vector<int>ar,ar2;
map<pair<int,int>,int>ma;
long long pr(long long a, long long b){
	long long k=1;
	if(b==0)return 1;
	
	for(int i=0;i<b;i++)k=k*10;
	return k;
}


int main(){
	cin>>a>>b>>c;
	if(b*c>=a)cout<<"Yes"<<endl;
	ele cout<<"No"<<endl;
	return 0;
}

Compiler output:
Main.java:2: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:2: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
double pi=3.14159265358979323846264338;
^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
long long sum;
^
Main.java:9: error: class, interface, enum, or record expected
long long n,k,st,h,w,m;
^
Main.java:10: error: class, interface, enum, or record expected
int tx,ty,gx,gy,cx,cy;
^
Main.java:13: error: class, interface, enum, or record expected
const int dx[4]={-1,1,0,0};
^
Main.java:14: error: class, interface, enum, or record expected
const int dy[4]={0,0,-1,1};
^
Main.java:15: error: class, interface, enum, or record expected
int arr[300001],arr2[300001];
^
Main.java:16: error: class, interface, enum, or record expected
vector<int>ar,ar2;
^
Main.java:18: error: class, interface, enum, or record expected
long long pr(long long a, long long b){
^
Main.java:20: error: class, interface, enum, or record expected
	if(b==0)return 1;
	^
Main.java:22: error: class, interface, enum, or record expected
	for(int i=0;i<b;i++)k=k*10;
	^
Main.java:22: error: class, interface, enum, or record expected
	for(int i=0;i<b;i++)k=k*10;
	            ^
Main.java:22: error: class, interface, enum, or record expected
	for(int i=0;i<b;i++)k=k*10;
	                ^
Main.java:23: error: class, interface, enum, or record expected
	return k;
	^
Main.java:24: error: class, interface, enum, or record expected
}
^
Main.java:29: error: class, interface, enum, or record expected
	if(b*c>=a)cout<<"Yes"<<endl;
	^
Main.java:30: error: class, interface, enum, or record expected
	ele cout<<"No"<<endl;
	^
Main.java:31: error: class, interface, enum, or record expected
	return 0;
	^
Main.java:32: error: class, interface, enum, or record expected
}
^
21 errors
Language: C++

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

int main(){
    ios_base :: sync_with_stdio(false);
    cin.tie(NULL);
    long d,t,s;
    cin>>d>>t>>s;
    double ans = d/s;
    if(ans <= t){
        cout<<"Yes";
        else{
            cout<<"No";
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: expected '}' before 'else'
   12 |         else{
      |         ^~~~
a.cc:10:17: note: to match this '{'
   10 |     if(ans <= t){
      |                 ^
a.cc: At global scope:
a.cc:16:5: error: expected unqualified-id before 'return'
   16 |     return 0;
      |     ^~~~~~
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C++

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

vector <int> dx = {-1,1,0,0};
vector <int> dy = {0,0,-1,1};

int main(){

	ll d,t,s:cin>>d>>t>>s;
	if(t*s>=d){
		cout<<"Yes"<<"\n";
	}else{
		cout<<"No"<<"\n";
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: found ':' in nested-name-specifier, expected '::'
   11 |         ll d,t,s:cin>>d>>t>>s;
      |                 ^
      |                 ::
a.cc:11:16: error: 's' has not been declared
   11 |         ll d,t,s:cin>>d>>t>>s;
      |                ^
a.cc:11:21: error: qualified-id in declaration before '>>' token
   11 |         ll d,t,s:cin>>d>>t>>s;
      |                     ^~
a.cc:12:14: error: 's' was not declared in this scope
   12 |         if(t*s>=d){
      |              ^
Language: C

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

int main() {
  int D,S,T;
  cin>>D>>S>>T;
    if(D<=S*T){cout<<"Yes"<<endl;}else{cout<<"No"<<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 ll long long
#define ld long double
#define FAST {ios_base::sync_with_stdio(false);cin.tie(NULL);}
#define f(i, a, b) for(ll i=a; i<b; i++)
#define fr(i,a,b) for(ll i=a;i>=b;i--)
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define pll pair<ll,ll>
#define LB lower_bound
#define UB upper_bound
#define endl "\n"
using namespace std;

int main()
{
    FAST
    ll d,t,s;cin>>d>>t>>s;
    if(t.s>=d) cout<<"Yes";
    else cout<<"No";
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:10: error: request for member 's' in 't', which is of non-class type 'long long int'
   21 |     if(t.s>=d) cout<<"Yes";
      |          ^
Language: C++

 // I make this just for fun because i'm done
// Aimi Haraguni >> Konomi Suzuki >> Yui >>  Ikimono Gakari >> Garnidelia >> Kalafina >> Eir Aoi.   .. dude? 
// problems that involves any kind of persistent data structures are the best of the best, are not them?
 
// #pragma GCC optimize ("Ofast,unroll-loops")
// #pragma GCC target ("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
 
#include <bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
 
#define pb push_back
#define ff  first
#define ss second
#define tm1 first
#define tm2 second.first
#define tm3 second.second
#define sz(x) ll(x.size())
#define all(v) (v).begin(), (v).end()
#define fill(x, v) memset(x, v, sizeof(x))
#define FER(i,a,b) for(int i=int(a); i< int(b); ++i)
#define IFR(i,a,b) for(int i=int(a); i>=int(b); --i )
#define fastio ios_base::sync_with_stdio(0); cin.tie(0)
 
// #define N 21000000
// #define M 19
// #define mod3 9
 
#define mod1  998244353
#define mod 48
#define mod2 1000000009
#define mody 998244353
#define bas 987625403
#define sqr(x) (x)*(x)  
#define INF 3000000000000000000
#define N1 1000
 
using namespace std;
using namespace __gnu_pbds;
 
typedef long long ll;
typedef pair<ll, ll> ii;
typedef pair<ll, ii > tri;
typedef vector<ll> vi;
typedef vector<vi> vv;
typedef vector<ii> vii;
typedef tree<ll, null_type, less<ll>, rb_tree_tag, tree_order_statistics_node_update> S_t;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
 
#define trace(...) fff(#__VA_ARGS__, __VA_ARGS__)
template<typename t> void fff(const char* x, t&& val1) { cout<<x<< " : "<<val1<<"\n";}
template<typename t1, typename... t2> void fff(const char* x, t1&& val1, t2&&... val2){
    const char* xd=strchr(x+1, ',');
    cout.write(x, xd-x)<<" : "<<val1<<" | ";
    fff(xd+1, val2...);
}
 
inline ll add(ll a, ll b) { return a+b < mod? a+b : a+b-mod;}
inline ll rem(ll a, ll b) { return a >= b? a - b: a- b + mod;}
inline ll mul(ll a, ll b) { return (long long) a*b%mod;}
inline void Mul(ll &a, ll b) { a = (long long) a*b%mod;}
inline ll bp(ll a, ll p){
    ll ret;
    for(ret = 1; p; p>>=1, Mul(a, a)) (p & 1) && (Mul(ret, a), 1);
    return ret;
}
 
 
static inline void read(ll &result) {
    bool minus = false;
    char ch;
    ch = getchar();
    while (true) {
        if (ch == '-') break;
        if (ch >= '0' and ch <= '9') break;
        ch = getchar();
    }
    (ch == '-')? minus = true: result = ch-'0';
    while (true) {
        ch = getchar();
        if (ch < '0' or ch > '9') break;
        result = (result<<3)+ (result<<1) + (ch - '0');
    }
    if(minus) result=-result;
}


int main(){
	ll d, t, s; read(d), read(t), read(s);
	if(t * s >= d) cout<<"Yes\n": cout<<"No\n";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:89:37: error: expected ';' before ':' token
   89 |         if(t * s >= d) cout<<"Yes\n": cout<<"No\n";
      |                                     ^
      |                                     ;
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int dt,t,s;cin>>s>>t>>s;
  if(d==s*t)cout<<"Yes"<<endl;
  else cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: 'd' was not declared in this scope
    6 |   if(d==s*t)cout<<"Yes"<<endl;
      |      ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long int lld;
typedef vector<lld> vll;
#define pb push_back
#define rep(i,a,b) for(i=a;i<b;i++)
#define srt(v) sort(v.begin(),v.end())
#define rev(v) reverse(v.begin(),v.end())
#define mod 1000000007
#define pi 3.1415926535
lld a,b,c,d,e,f,g,h,i,j,k=0,l=0,m=1,n=1,o,q=0,r=0,u,v,w,x,y,z,s,t,p=0;
lld temp=0,ans=0;
double f1,f2,f3,f4,f5,f6;
char c2,c3,c4,c5,c6;
vll v11;
pair<lld,lld>p1,p2,p3;
map<lld,lld>mv;bool a12[200005],a13[200005];
bool b11[500006],c11[500006];lld a11[500006];
lld gcd(lld a, lld b) 
{ 
    if (b == 0) 
        return a; 
    return gcd(b, a % b);  
}
void dfs(lld i,vector<lld>vg[])
{
    if(b11[i]==true)    return;
    v11.pb(i);
    p++;
    b11[i]=true;
    for(auto x11:vg[i])
    {
        if(b11[x11]==false)
        {
            dfs(x11,vg);
        }
    }
}
int main()
{
  ios::sync_with_stdio(false);
  cin.tie(0);
  t=1;
  //cin>>t;
  while(t--)
  {
    string s3,s1,s2;
    cin>>a>>b>>c;
    //lld p1,q1,a1,b1,c1,d1;
    //lld a1[n+1]={0},b1[n],c1[n+1];vector<lld>vg[n+1];
    map<lld,lld>m1,m2;queue<lld>q2;vll v1,v2;
    rep(i,0,n)  cin>>a1[i];
    p=0;
    if((b*c)>=a)    cout<<"Yes";
    else    cout<<"No";
    cout<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:52:22: error: 'a1' was not declared in this scope; did you mean 'v1'?
   52 |     rep(i,0,n)  cin>>a1[i];
      |                      ^~
      |                      v1
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, start, n) for (ll i = (ll)(start); i < (ll)(n); ++i)
static const ll INFTY = 1L << 62L;
ll solver()
{
}
int main()
{
cin.tie(0);
ios::sync_with_stdio(false);
ll d,t,s;
cin>>d>>t>>s;
if(s*t>=D)cout<<"Yes\n";
else{
    cout<<"No\n";
}
}

Compiler output:
a.cc: In function 'll solver()':
a.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
    8 | }
      | ^
a.cc: In function 'int main()':
a.cc:15:9: error: 'D' was not declared in this scope
   15 | if(s*t>=D)cout<<"Yes\n";
      |         ^
Language: C++

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

int main(){
    ios_base :: sync_with_stdio(false);
    cin.tie(NULL);
    long d,t,s;
    double ans = d/s;
    if(ans <= t){
        cout<<"Yes";
        else{
            cout<<"No";
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: expected '}' before 'else'
   11 |         else{
      |         ^~~~
a.cc:9:17: note: to match this '{'
    9 |     if(ans <= t){
      |                 ^
a.cc: At global scope:
a.cc:15:5: error: expected unqualified-id before 'return'
   15 |     return 0;
      |     ^~~~~~
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C++

#include <iostream>
#include<bits/stdc++.h>
#define ll long long int
#define lld long double
#define F first
#define S second
#define f(i,a,b) for(int i=a;i<=b;i++)
#define g(i,a,b) for(int i=a;i>=b;i--)
#define pb push_back
#define mh make_heap
#define ph push_heap
#define pq priority_queue
#define bits(x) __builtin_popcountll(x)
#define op(x) cout<<"Case #"<<x<<": "
#define op1(x) cout<<"Scenario #"<<x<<": "
#define endl "\n"
using namespace std;
const ll mod = 1000000007;
const ll INF = LLONG_MAX;
const int N = 18;


void solve(int t)
{
	ll d,t,s;
	cin>>d>>t>>s;

	if(s*t<d)
	{
		cout<<"No"<<endl;
	}
	else
	{
		cout<<"Yes"<<endl;
	}
	


}


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





	int t = 1;
	//cin >> t;



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

	}
}

Compiler output:
a.cc: In function 'void solve(int)':
a.cc:25:14: error: declaration of 'long long int t' shadows a parameter
   25 |         ll d,t,s;
      |              ^
a.cc:23:16: note: 'int t' previously declared here
   23 | void solve(int t)
      |            ~~~~^
Language: C++

#include<bits/stdc++.h>
#define all(x) (x).begin(),(x).end()
#define rep(i,n) for(ll i=0;i<(ll)(n);i++)
using namespace std;
typedef long long ll;

int main(){
    ll d,t,s;
    cin>>d>>t>>s;
    cout<<(t*s>=d?"Yes":"No")<<endl;s
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:38: error: expected ';' before 'return'
   10 |     cout<<(t*s>=d?"Yes":"No")<<endl;s
      |                                      ^
      |                                      ;
   11 |     return 0;
      |     ~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define ll long long
#define pb push_back
#define fori(a,b) for(int i=a;i<b;i++)
#define forj(a,b) for(int j=a;j<b;j++)
#define ford(b,a) for(int i=b;i>=a;i--)
typedef pair<int, int> pi;
#define PI 3.14159265359
#define vi vector<int>
long long mod=1000000007;
//int count=INT_MAX;
 
struct hash_pair { 
    template <class T1, class T2> 
    size_t operator()(const pair<T1, T2>& p) const
    { 
        auto hash1 = hash<T1>{}(p.first); 
        auto hash2 = hash<T2>{}(p.second); 
        return hash1 ^ hash2; 
    } 
};

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    int testcases=1;
    //cin>>testcases;
    //cout<<t;
    //scanf("%d",&t);
    //int t=testcases;
    while(testcases--){
        double d,t,s;
        cin>>d>>t>>s;
        if(d/s>t){
            cout<<"No\n";
        }
        else{
            coutt<<"Yes\n";
        }
    }               

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:41:13: error: 'coutt' was not declared in this scope
   41 |             coutt<<"Yes\n";
      |             ^~~~~
Language: C++

#include <bits/stdc++.h>
#include <iostream>
#include <queue>
#include <stack>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <random>
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define repp(i,n,m) for (int i = m; i < (n); ++i)
#define repl(i,n) for (long long i = 0; i < (n); ++i)
#define reppl(i,n,m) for (long long i = m; i < (n); ++i)
using namespace std;
using ll = long long;
using ld = long double;
using P = pair<int, int>;
using PL = pair<long long, long long>;
using Pxy = pair<double, double>;
using T = tuple<int, int, bool>;
const int INF = 1001001007;
const int mod = 1000000007;
//const int MOD = 998244353;
const ll inf = 1e18;
template <typename AT>
void printvec(vector<AT> &ar){
    rep(i,ar.size()-1) cout << ar[i] << " ";
    cout << ar[ar.size()-1] << endl;
}
template <typename Q>
void printvvec(vector<vector<Q>> &ar){
    rep(i,ar.size()){
        rep(j,ar[0].size()-1) cout << ar[i][j] << " ";
        cout << ar[i][ar[0].size()-1] << endl;
    }
}
template <typename S>
bool range(S a, S b, S x){
    return (a <= x && x < b);
}

int gcds(int a, int b){
    int c = a % b;
    while (c != 0){
        a = b;
        b = c;
        c = a % b;
    }
    return b;
}

int main() {
    int a, b, c; cin >> a >> b >> c;
    if (a <= b * c) yes();
    else no();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:54:21: error: 'yes' was not declared in this scope
   54 |     if (a <= b * c) yes();
      |                     ^~~
a.cc:55:10: error: 'no' was not declared in this scope
   55 |     else no();
      |          ^~
Language: C++

#include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include <memory>
#include <new>
#include <numeric>
#include <ostream>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <typeinfo>
#include <utility>
#include <valarray>
#include <vector>
#define _GLIBCXX_DEBUG
#define INF 100000010
 #define PI 3.14159265359

using namespace std;
const int64_t mod = 1000000007;
const int64_t tmpMod = 998244353;

int main() {
 
  int64_t d,t,f;
  cin>>d>>f>>t;
  //vector<int64_t> A(N);
  //for(int i=0; i<N; i++){cin>>A[i];}
  //vector<vector<int> > A(N,vector<int>(M));
  //for(int i=0; i<N; i++){
  //   for(int j=0; j<M; j++){
  //       cin>>A[i][j];
  //   }
  // }
  //sort(A.begin(),A.end());
  //for (int i = 0; i < N; i++) { maximum = max(maximum , A[i]);}
  //for (int i = 0; i < N; i++) { minimum = min(minimum , A[i]);}
  if(d>s*t)cout << "No" << endl;
  else cout<<"Yes"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:58:8: error: 's' was not declared in this scope
   58 |   if(d>s*t)cout << "No" << endl;
      |        ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
    ll t=1;
    //cin>>t;
    while(t--)
    {
        int d,t,s;
        cin>>>d>>t>>s;
        if(t*s>d)
            cout<<"No"<<endl;
        else
            cout<<"Yes"<<endl;
        
    }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: expected primary-expression before '>' token
   11 |         cin>>>d>>t>>s;
      |              ^
Language: C++

#include <bits/stdc++.h>
#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 sz(x) int(x.size())
using namespace std;
typedef long long ll;
const int INF = 1e9;
const ll MOD = 1e9 + 7;
const ll LINF = 1e18;
template <class T>
void get_unique(vector<T>& x) {
    x.erase(unique(x.begin(), x.end()), x.end());
    return x;
}
template <class T>
bool chmax(T& a, const T& b) {
    if (a < b) {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
bool chmin(T& a, const T& b) {
    if (b < a) {
        a = b;
        return 1;
    }
    return 0;
}
template <class T>
vector<T> make_vec(size_t a) {
    return vector<T>(a);
}
template <class T, class... Ts>
auto make_vec(size_t a, Ts... ts) {
    return vector<decltype(make_vec<T>(ts...))>(a, make_vec<T>(ts...));
}
template <typename T>
ostream& operator<<(ostream& os, vector<T> v) {
    for (int i = 0; i < sz(v); i++) {
        os << v[i];
        if (i < sz(v) - 1) os << " ";
    }
    return os;
}
int main() {
    ll d, t, s;
    cin >> d >> t >> s;
    cout << (t * s >= d ? "Yes" : "No") << endl;
}

Compiler output:
a.cc: In function 'void get_unique(std::vector<_Tp>&)':
a.cc:14:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
   14 |     return x;
      |            ^
Language: C++

#include<iostream>
#include<vector>
#include<algorithm>
#include<set>
#include<map>
#include<queue>
#include<cmath>
#include<iomanip>
#include<cstring>
#include<cstdio>
#define initdp(a,b) for(int i=0;i<=a;i++)for(int j=0;j<=b;j++)dp[i][j]=-1;
#define fi first
#define se second
#define pb push_back
#define pii pair<int,int>
#define ppi pair<pii,int>
#define pip pair<int,pii>
#define ll long long
#define pll pair<ll,ll>
#define rep(i,n) for(int i=0;i<n;i++)
#define repd(i,n) for(int i=n-1;i>=0;i--)
#define inf 1000000001
#define inf1 1000000000000000001
#define mod 1000000007
#define pie 3.14159265358979323846
#define N 1000005
#define mid(l,r) l+(r-l)/2
using namespace std;
int dx[4]={1,0,-1,0},dy[4]={0,1,0,-1};
int ddx[8]={1,1,0,-1,-1,-1,0,1},ddy[8]={0,1,1,1,0,-1,-1,-1};
void mad(ll &a,ll b){a=(a+b)%mod;if(a<0)a+=mod;}
ll gcd(ll a,ll b){ if(!a)return b;return gcd(b%a,a);}

void solve(){
	int s,t,d;
	cin>>d>>t>>s;
	if(d>t*s)cuot<<"No";
	else cout<<"Yes";
}
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	int t;
	//cin>>t;
	t=1;
	while(t--){
		solve();
	}
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:37:18: error: 'cuot' was not declared in this scope
   37 |         if(d>t*s)cuot<<"No";
      |                  ^~~~
Language: C++

#pragma GCC optimize("Ofast")
#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization ("unroll-loops")

// Use g++ compiler for this include to work.
#include <bits/stdc++.h>

using namespace std;

// Constants 
#define INfirst 1e18
#define EPsecond 1e-9
#define MOD 1000000007
 
// // for using in pairs
// #define first first
// #define second second
 
// Macros
#define all(x) begin(x), end(x)
 
// aliases
using ll = long long;
using ull = unsigned long long;
using ui = unsigned int;
using ld = long double;

// Temporary macro.
#define int long long

// Operator overloads.
/**
 * The type of element in the vector should have overload for << operator with ostream. 
 */
template<typename T>
ostream& operator<<(ostream &stream, vector<T> v)
{
	for (const auto &it : v)
		stream << it << " ";
	return stream;
}

/**
 * Both types in the pair should have overload for << operator with ostream. 
 */
template<typename T1, typename T2>
ostream& operator<<(ostream &ostream, pair<T1, T2> p)
{
	ostream << p.first << " " << p.second;
	return ostream;
}

// Utility functions.
void swap(int a, int b)
{
	int t = a;
	a = b;
	b = t;
}

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

void solve()
{
	int d, t ,s ;
	cin >> d >> t >> s;
	if (s * t >= d)
	{
		cout << "Yes\n";
	}else
	{
	cout << "No\n";
	}
}	

int32_t main()
{	
	#ifndef ONLINE_JUDGE
		freopen("input.txt", "r", stdin);
		freopen("output.txt", "w", stdout);
	#endif

	ios_base::sync_with_stdio(false);
	cin.tie(0);

	int t = 1;
	// cin >> t;		
	for (int i = 1; i <= t; i++)
	{
		solve(i);
	}

	return 0;
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:90:22: error: too many arguments to function 'void solve()'
   90 |                 solve(i);
      |                 ~~~~~^~~
a.cc:63:6: note: declared here
   63 | void solve()
      |      ^~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define ld long double
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
using P=pair<long long,long long>;
#define rep(i,n) for(long long i=0; i<(long long)n; i++)
#define req(i,n) for(long long i=n-1; i>=0; i--)
#define range(i,a,b) for(long long i=a; i<b; i++)
#define all(x) (x).begin(), (x).end()
#define sz(x) ((long long)(x).size())
#define COUT(x) cout << x << endl
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define onBoard(y,x) (y>=0 && y<h && x>=0 && x<w)
#define pri_que priority_queue
#define vint vector<int>
#define vvint vector<vector<int>>
#define vi vector<int>
#define vvi vector<vector<int>>
#define vs vector<string>
#define vvc vector<vector<char>>
#define vc vector<char>
#define vp vector<pair<int,int>>
#define vb vector<bool>
#define vvb vector<vector<bool>>
#define show(x) cout<<#x<<"="<<x<<endl;
#define SUM(x) accumulate(x.begin(),x.end(),0)
#define MAX(x) *max_element(x.begin(),x.end())
#define MIN(x) *min_element(x.begin(),x.end())
#define couty cout<<"Yes"<<endl
#define coutn cout<<"No"<<endl
#define coutY cout<<"YES"<<endl
#define coutN cout<<"NO"<<endl
#define yn(x) cout<<(x?"Yes":"No")<<endl
#define YN(x) cout<<(x?"YES":"NO")<<endl
long long gcd(long long a,long long b){return b?gcd(b,a%b):a;}
long long lcm(long long a, long long b){return a/gcd(a,b)*b;}
const long long dx[8]={1,0,-1,0,1,-1,-1,1};
const long long dy[8]={0,1,0,-1,1,1,-1,-1};
const long long INF = 1e15;
const long long MOD = 1e9+7;

signed main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);
    cout<<fixed<<setprecision(15);

    int a,b,c; cin >> a >> b >> c;
    yn(d<=s*t);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:54:8: error: 'd' was not declared in this scope
   54 |     yn(d<=s*t);
      |        ^
a.cc:39:22: note: in definition of macro 'yn'
   39 | #define yn(x) cout<<(x?"Yes":"No")<<endl
      |                      ^
a.cc:54:11: error: 's' was not declared in this scope
   54 |     yn(d<=s*t);
      |           ^
a.cc:39:22: note: in definition of macro 'yn'
   39 | #define yn(x) cout<<(x?"Yes":"No")<<endl
      |                      ^
a.cc:54:13: error: 't' was not declared in this scope
   54 |     yn(d<=s*t);
      |             ^
a.cc:39:22: note: in definition of macro 'yn'
   39 | #define yn(x) cout<<(x?"Yes":"No")<<endl
      |                      ^
Language: C++

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

int main() {
  int a,b,c,d,e;
  cin>>a>>b>>c>>d>>e;
  if(a<=b*c){
    cout<< "Yes" <<endl;
  }
  else if(flase){
    cout<< "" <<endl;
  }
  else{
    cout<< "No" <<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: 'flase' was not declared in this scope; did you mean 'fclose'?
   10 |   else if(flase){
      |           ^~~~~
      |           fclose
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);		
		String s = sc.next();
        String t = sc.next();
        int ans = t.length();
        for(int i=0;i<=a-t.length();i++){int count = t.length();
                                         for(int j=0;j<t.length();j++){if(s.charAt(i+j)==t.charAt(j)){count--;}                              
                                                                      }
                            ans=Math.min(ans,count);
                                        }
        
		System.out.println(ans);
	}
}

Compiler output:
Main.java:8: error: cannot find symbol
        for(int i=0;i<=a-t.length();i++){int count = t.length();
                       ^
  symbol:   variable a
  location: class Main
1 error
Language: C++

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

int dist(string a, string b) {
  int s = 0;
  for (int i = 0; i < a.length(); i ++) s += (a[i] == b[i]);
  return s;
}

int main() {
  string a, b; cin >> a >> b;
  int m = 10000000;
  for (int i = 0; i + b.length() < a.length(); i ++) {
    m = min(m, dist(b, a.substr(i, b.length()));
  }
  return m;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:48: error: expected ')' before ';' token
   14 |     m = min(m, dist(b, a.substr(i, b.length()));
      |            ~                                   ^
      |                                                )
Language: C

#include <bits/stdc++.h>
using namespace std;;
 
int main(){
	
    string s, t;
    int sSize, tSize, ans, count;
    
    cin >> s >> t;
    
    sSize = s.size();
    tSize = t.size();
    
    ans = tSize;
    
    for (int i = 0; i <= sSize-tSize; i++){
        count = 0;
        for (int j = 0; j < tSize; j++){
            if (s[i + j] != t[j]){
                count++;
            }
        }
        ans = min(ans, count);
    }
    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<string>
using namespace std;
int main()
{
  string s,t;
  cin>>s>>t;
  int ans=t.length();
  for(int start=0;start<t.length;start++)
  {
    int diff=0;
    for(i=0;i<t.length;i++)
    {
      if(t[i]!=s[start+i])
      {
        diff++;
      }
      ans=min(ans,diff);
    }
    cout<<ans<<endl;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:9:27: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::length() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
    9 |   for(int start=0;start<t.length;start++)
      |                         ~~^~~~~~
      |                                 ()
a.cc:12:9: error: 'i' was not declared in this scope
   12 |     for(i=0;i<t.length;i++)
      |         ^
a.cc:21:6: error: expected '}' at end of input
   21 |     }
      |      ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    string S, T;
    cin >> S >> T;
    
    int answer=1001; //1000以上にしておく
    
    for(int i=0; i<S.size()-T.size(); i++){
        int x=0;
        for(int j=0; j<T.size(); j++){
            if(S.at(i+j)!=T.at(j)){
                x++;　//一致しなかった文字の数
            }
        }
        
        if(x<answer){
            answer = x;
        }
    }
    
    cout << answer << endl;
}


Compiler output:
a.cc:14:21: error: extended character 　 is not valid in an identifier
   14 |                 x++;　//一致しなかった文字の数
      |                     ^
a.cc: In function 'int main()':
a.cc:14:21: error: '\U00003000' was not declared in this scope
   14 |                 x++;　//一致しなかった文字の数
      |                     ^~
Language: C

#include<stdio.h>
int main(void){
  int a=0,b=0,c=0,i,j,k=0,count=0;
  int S[3000]={};
  int T[3000]={};
  scanf("%d %d",&S,&T);
  for(i=1000;i>=0;i--){
    for(j=1000;j>=0;j--){
      

Compiler output:
main.c: In function 'main':
main.c:8:5: error: expected declaration or statement at end of input
    8 |     for(j=1000;j>=0;j--){
      |     ^~~
main.c:8:5: error: expected declaration or statement at end of input
main.c:8:5: error: expected declaration or statement at end of input
Language: C++

#include <bits/stdc++.h>

using namespace std;


int main()
{

	int s , t;
	cin >> s >> t;
	int cnt = 0 , c = 0;

	for(int i = 0 ;i <= s.size()-t.size();i++)
	{
		for(int j = 0;j < t.size();j++)
			if(s[i + j] == t[j])
				cnt++;

	c = max(c,cnt);
	cnt = 0;
	}
	cout << c - t.size();
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:31: error: request for member 'size' in 's', which is of non-class type 'int'
   13 |         for(int i = 0 ;i <= s.size()-t.size();i++)
      |                               ^~~~
a.cc:13:40: error: request for member 'size' in 't', which is of non-class type 'int'
   13 |         for(int i = 0 ;i <= s.size()-t.size();i++)
      |                                        ^~~~
a.cc:15:37: error: request for member 'size' in 't', which is of non-class type 'int'
   15 |                 for(int j = 0;j < t.size();j++)
      |                                     ^~~~
a.cc:16:29: error: invalid types 'int[int]' for array subscript
   16 |                         if(s[i + j] == t[j])
      |                             ^
a.cc:16:41: error: invalid types 'int[int]' for array subscript
   16 |                         if(s[i + j] == t[j])
      |                                         ^
a.cc:22:23: error: request for member 'size' in 't', which is of non-class type 'int'
   22 |         cout << c - t.size();
      |                       ^~~~
Language: C

#include <stdio.h>

int main() {
	string S, T;
	scanf("%ls%ls", &S, &T);
	if(S > T)printf(int(T);
	else printf(int(S));
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: unknown type name 'string'; did you mean 'stdin'?
    4 |         string S, T;
      |         ^~~~~~
      |         stdin
main.c:6:25: error: expected expression before 'int'
    6 |         if(S > T)printf(int(T);
      |                         ^~~
main.c:7:29: error: expected ';' before '}' token
    7 |         else printf(int(S));
      |                             ^
      |                             ;
    8 | }
      | ~
Language: C

#include <stdio.h>

int main() {
	string S, T;
	scanf("%ls%ls", &S, &T);
	if(S > T)printf(T);
	else printf(S);
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: unknown type name 'string'; did you mean 'stdin'?
    4 |         string S, T;
      |         ^~~~~~
      |         stdin
main.c:6:25: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |         if(S > T)printf(T);
      |                         ^
      |                         |
      |                         int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:21: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |         else printf(S);
      |                     ^
      |                     |
      |                     int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include <stdio.h>

int main() {
	string S, T;
	scanf("%s%s", &S, &T);
	if(S > T)printf(T);
	else printf(S)
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: unknown type name 'string'; did you mean 'stdin'?
    4 |         string S, T;
      |         ^~~~~~
      |         stdin
main.c:6:25: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |         if(S > T)printf(T);
      |                         ^
      |                         |
      |                         int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:21: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |         else printf(S)
      |                     ^
      |                     |
      |                     int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:23: error: expected ';' before '}' token
    7 |         else printf(S)
      |                       ^
      |                       ;
    8 | }
      | ~
Language: C

#include <stdio.h>


int main(void) {

	char s[1001], t[1001];
	int count, k, ans, s_len, t_len;

	scanf_s("%s %s", s,t);


	s_len = strlen(s);
	t_len = strlen(t);
	ans = t_len;

	for (int i = 0; i < (s_len - t_len + 1); i++) {

		count = 0;
		for (int j = 0, k = i; j < t_len; j++, k++) {
			if (s[k] != t[j]) count++;
		}
		if (ans > count) {
			ans = count;
		}
	}

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 |         scanf_s("%s %s", s,t);
      |         ^~~~~~~
      |         scanf
main.c:12:17: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   12 |         s_len = strlen(s);
      |                 ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:12:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
   12 |         s_len = strlen(s);
      |                 ^~~~~~
main.c:12:17: note: include '<string.h>' or provide a declaration of 'strlen'
Language: C

#include <stdio.h>


int main(void) {

	char s[1001], t[1001];
	int count, k, ans, s_len, t_len;

	scanf_s("%s %s", s,1001,t,1001);


	s_len = strlen(s);
	t_len = strlen(t);
	ans = t_len;

	for (int i = 0; i < (s_len - t_len + 1); i++) {

		count = 0;
		for (int j = 0, k = i; j < t_len; j++, k++) {
			if (s[k] != t[j]) count++;
		}
		if (ans > count) {
			ans = count;
		}
	}

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

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    9 |         scanf_s("%s %s", s,1001,t,1001);
      |         ^~~~~~~
      |         scanf
main.c:12:17: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
   12 |         s_len = strlen(s);
      |                 ^~~~~~
main.c:2:1: note: include '<string.h>' or provide a declaration of 'strlen'
    1 | #include <stdio.h>
  +++ |+#include <string.h>
    2 | 
main.c:12:17: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch]
   12 |         s_len = strlen(s);
      |                 ^~~~~~
main.c:12:17: note: include '<string.h>' or provide a declaration of 'strlen'
Language: C++

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


int main(void) {
	char src[1000], trg[1000];
	int results[1000];
	for (int i = 0; i < 1000; i++) {
		results[i] = INT_MAX;
	}
	fgets(src, 1000, stdin);
	fgets(trg, 1000, stdin);

	size_t tar_len = strlen(trg);

	for (size_t i = 0; i < strlen(src); i++) {
		results[i] = 0;
		for (size_t j = 0; j < tar_len; j++) {
			if (*(src + i + j) == *(trg + j)) {
				results[i] += 1;
			}
		}
		results[i] = tar_len - results[i];
	}

	int res = INT_MAX;
	for (int i = 0; i < 1000; i++) {
		if (results[i] < res) {
			res = results[i];
		}
	}

	printf("%d", res);
	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:30: error: 'INT_MAX' was not declared in this scope
    9 |                 results[i] = INT_MAX;
      |                              ^~~~~~~
a.cc:2:1: note: 'INT_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
    1 | #include <string>
  +++ |+#include <climits>
    2 | #include <stdio.h>
a.cc:14:26: error: 'strlen' was not declared in this scope
   14 |         size_t tar_len = strlen(trg);
      |                          ^~~~~~
a.cc:2:1: note: 'strlen' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    1 | #include <string>
  +++ |+#include <cstring>
    2 | #include <stdio.h>
a.cc:26:19: error: 'INT_MAX' was not declared in this scope
   26 |         int res = INT_MAX;
      |                   ^~~~~~~
a.cc:26:19: note: 'INT_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
Language: C

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

int main(void) {
	char src[1000], trg[1000];
	int results[1000];
	for (int i = 0; i < 1000; i++) {
		results[i] = INT_MAX;
	}
	fgets(src, 1000, stdin);
	fgets(trg, 1000, stdin);

	size_t tar_len = strlen(trg);

	for (size_t i = 0; i < strlen(src); i++) {
		results[i] = 0;
		for (size_t j = 0; j < tar_len; j++) {
			if (*(src + i + j) == *(trg + j)) {
				results[i] += 1;
			}
		}
		results[i] = tar_len - results[i];
	}

	int res = INT_MAX;
	for (int i = 0; i < 1000; i++) {
		if (results[i] < res) {
			res = results[i];
		}
	}

	printf("%d", res);
	return 0;
}


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