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

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
    	int D = scanner.nextint();
      	int T = scanner.nextint();
      	int S = scanner.nextint();
      	scanner.close();
      	if (D / S <= T) {
        	System.out.println("Yes");
        } else {
       		System.out.println("No");
        }
    }
}

Compiler output:
Main.java:5: error: cannot find symbol
    	int D = scanner.nextint();
    	               ^
  symbol:   method nextint()
  location: variable scanner of type Scanner
Main.java:6: error: cannot find symbol
      	int T = scanner.nextint();
      	               ^
  symbol:   method nextint()
  location: variable scanner of type Scanner
Main.java:7: error: cannot find symbol
      	int S = scanner.nextint();
      	               ^
  symbol:   method nextint()
  location: variable scanner of type Scanner
3 errors
Language: C++

#include<Iostream>
#define long long int
using namespace std;
int32_t main()
{ int t,d,s;
cin >> d >> t >> s;
if(t*s>=d)
{

    cout << "Yes" << endl;
}
else
{

    cout << "No" << endl;
}


}


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

import java.util.*;
public class Main{
 public static void main(String[]args){
  Scanner sc=new Scanner();
  int d=sc.nextInt();
  int t=sc.nextInt();
  int s=sc.nextInt();
   
  if((int)d/s==t)
   System.out.println("yes"); 
  else
    System.out.println("No");
   
 }
  }


Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
  Scanner sc=new Scanner();
             ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.*;
public class Main{
 public static void main(String[]args){
  Scanner sc=new Scanner();
  int d=sc.nextInt();
  int t=sc.nextInt();
  int s=sc.nextInt();
   
  if((int)d/s==t){
   System.out.println("yes"); 
  }
   
  eles
    System.out.println("No");
   
 }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}

Compiler output:
Main.java:14: error: ';' expected
    System.out.println("No");
          ^
1 error
Language: C++

#include <string>
typedef long long ll;
using namespace std;
int main(){
  ll d,t,s;
  cin>>d>>t>>s;
  ll ans = s*t;
  if(d>ans)		cout<<"No\n";
  else			cout<<"Yes\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>d>>t>>s;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <string>
  +++ |+#include <iostream>
    2 | typedef long long ll;
a.cc:8:25: error: 'cout' was not declared in this scope
    8 |   if(d>ans)             cout<<"No\n";
      |                         ^~~~
a.cc:8:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:25: error: 'cout' was not declared in this scope
    9 |   else                  cout<<"Yes\n";
      |                         ^~~~
a.cc:9:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>
using namespace std;

int main()
{
  int D, T, S;
  cin >> D T S;
  if (D/S <= T){
    cout << "Yes";
  }
  else{
    cout << "No";
  }
  
  return 0;
}

  


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before 'T'
    7 |   cin >> D T S;
      |           ^~
      |           ;
Language: C++

#import torch
class solution(object):

    def __init__(self, D: int, T: int, S: int)-> None:
        self.D = D
        self.T = T
        self.S = S
    
    def solve(self)->bool:
        return ['No','Yes'][(self.D/self.S) <= self.T]
    
if __name__=='__main__':
    # x = int(input())
    D,T,S= map( int , input().split())
    problem = solution(D, T, S)
    ans = problem.solve()
    print(ans)


Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import torch
      |  ^~~~~~
a.cc:1:9: error: #import expects "FILENAME" or <FILENAME>
    1 | #import torch
      |         ^~~~~
a.cc:10:17: warning: multi-character character constant [-Wmultichar]
   10 |         return ['No','Yes'][(self.D/self.S) <= self.T]
      |                 ^~~~
a.cc:10:22: warning: multi-character character constant [-Wmultichar]
   10 |         return ['No','Yes'][(self.D/self.S) <= self.T]
      |                      ^~~~~
a.cc:12:14: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   12 | if __name__=='__main__':
      |              ^~~~~~~~~~
a.cc:13:7: error: invalid preprocessing directive #x
   13 |     # x = int(input())
      |       ^
a.cc:2:23: error: expected initializer before ':' token
    2 | class solution(object):
      |                       ^
Language: C++

#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef long double ld;
typedef complex<ld> cd;

typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;

typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
typedef vector<cd> vcd;

#define FOR(i, a, b) for (int i=a; i<(b); i++)
#define F0R(i, a) for (int i=0; i<(a); i++)
#define FORd(i,a,b) for (int i = (b)-1; i >= a; i--)
#define F0Rd(i,a) for (int i = (a)-1; i >= 0; i--)
#define trav(a,x) for (auto& a : x)
#define uid(a, b) uniform_int_distribution<int>(a, b)(rng)

#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define f first
#define s second
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end()
#define ins insert

template<class T> bool ckmin(T& a, const T& b) { return b < a ? a = b, 1 : 0; }
template<class T> bool ckmax(T& a, const T& b) { return a < b ? a = b, 1 : 0; }

//mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());

const int MOD = 1000000007;
const char nl = '\n';
const int MX = 100001; //check the limits, dummy
const char sp =' ';
int main() {
	ios_base::sync_with_stdio(0); cin.tie(0);
	int t;
	cin >> t;

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

// read the question correctly (ll vs int)
// template by bqi343


Compiler output:
a.cc: In function 'int main()':
a.cc:54:22: error: conflicting declaration 'll t'
   54 |                 ll d,t,s;
      |                      ^
a.cc:51:13: note: previous declaration as 'int t'
   51 |         int t;
      |             ^
Language: Java

import java.util.*;
public class Sum_of_product_pairs {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		
		long arr[] = new long[n];
		int mod = (int)1e9 + 7;
		long sum = 0;
		for(int i = 0;i<n;i++)
		{
			arr[i] = sc.nextLong();
			sum += arr[i];
			sum = sum % mod;
		}
		long ans = 0;
		for(int i = 0;i<n;i++)
		{
			sum -= arr[i];
			if(sum < 0)
				sum+=mod;
			
			ans += arr[i] * sum;
			ans %= mod;
			
		}
		System.out.println(ans);
		sc.close();
		
	}

}


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

#include
int main(void){
  int d,t,s;
  scanf("%d %d %d",&d,&t,&s);
  if(d=<t*s){
  	printf("Yes\n");
  }else{
  	printf("No\n");
  }
  
  return 0;
  
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d %d %d",&d,&t,&s);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d %d %d",&d,&t,&s);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:8: error: expected expression before '<' token
    5 |   if(d=<t*s){
      |        ^
main.c:6:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    6 |         printf("Yes\n");
      |         ^~~~~~
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:6:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |         printf("No\n");
      |         ^~~~~~
main.c:8:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<stdio.h>
using namespace std;

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

    return 0;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>d>>t>>s;
      |     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout<<"Yes";
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout<<"No";
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int S, D, T;
  cin >> S >> D >> T;
  double time = D/S;
  if(time =< T){
    cout << "Yes" << endl; }
  else {
    cout << "No" << endl; }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: expected primary-expression before '<' token
    8 |   if(time =< T){
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int S, D, T == 0;
  if(D/S < T){
    cout << "Yes" << endl; }
  else {
    cout << "No" << endl; }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: expected initializer before '==' token
    5 |   int S, D, T == 0;
      |               ^~
a.cc:6:12: error: 'T' was not declared in this scope
    6 |   if(D/S < T){
      |            ^
Language: C++

int main() {
    int D,T,S;
    
    cin >> D >> T >> S;
    
    if(D<=T*S){
        cout << "yes" << endl;
    }else{
        cout << "no" << endl;
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> D >> T >> S;
      |     ^~~
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << "yes" << endl;
      |         ^~~~
a.cc:7:26: error: 'endl' was not declared in this scope
    7 |         cout << "yes" << endl;
      |                          ^~~~
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "no" << endl;
      |         ^~~~
a.cc:9:25: error: 'endl' was not declared in this scope
    9 |         cout << "no" << endl;
      |                         ^~~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    cin >> D >> T >> S;
    
    if(D <= T * S){
        cout << "yes" << endl;
    }else{
        cout << "no" << endl;
    }
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'D' was not declared in this scope
    5 |     cin >> D >> T >> S;
      |            ^
a.cc:5:17: error: 'T' was not declared in this scope
    5 |     cin >> D >> T >> S;
      |                 ^
a.cc:5:22: error: 'S' was not declared in this scope
    5 |     cin >> D >> T >> S;
      |                      ^
Language: C

#include <stdio.h>

int main(void)
{
  int D,T,S;
  int num;
  
  scanf("%d %d %d",&D,&T,&S);
  
  num = (double)D / S;
  
  if (num <= T) {
    printf("Yes\n");
  }
  else {
    printf("No\n");
  }

Compiler output:
main.c: In function 'main':
main.c:17:3: error: expected declaration or statement at end of input
   17 |   }
      |   ^
Language: C

#include<stdio.h>
int main(void) 
{
  int D,T,S;
  double A;
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 D/S=A;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A){
  printf("Yes");
 }
 else{
  printf("No");
 }
 return 0;
}




Compiler output:
main.c: In function 'main':
main.c:9:5: error: lvalue required as left operand of assignment
    9 |  D/S=A;
      |     ^
Language: Java

package plactice;

import java.util.Scanner;

public class Te {

  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 ((double)d / s <= t) {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}


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

package plactice;

import java.util.Scanner;

public class Te {

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

import java.util.*;

class Main {
    public static void main(String[] args) {
      int D = sc.nextInt();
      int T = sc.nextInt();
      int S = sc.nextInt();
      if(D <= T * S){
        System.out.println("Yes");
      }else{
        System.out.println("No");
      }
    }
}
      

Compiler output:
Main.java:5: error: cannot find symbol
      int D = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
Main.java:6: error: cannot find symbol
      int T = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
Main.java:7: error: cannot find symbol
      int S = sc.nextInt();
              ^
  symbol:   variable sc
  location: class Main
3 errors
Language: Java

import java.util.Scanner;

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:3: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:21: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.util.Scanner;

public class Te {

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

#include<stdio.h>
int main(void)
{
  int D,T,S,A;
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 D/S=A;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A){
  printf("Yes");
 }
 else{
  printf("No");
 }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:5: error: lvalue required as left operand of assignment
    8 |  D/S=A;
      |     ^
Language: C

#include<stdio.h>
int main(void)
{
  int D,T,S;
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 D/S=T;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=D/S){
  printf("Yes");
 }
 else{
  printf("No");
 }
 return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:5: error: lvalue required as left operand of assignment
    8 |  D/S=T;
      |     ^
Language: C

#include<stdio.h>
int main(void)
{
  int D,T,S,A;
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);{
  printf("Yes");
 }
 else{
  printf("No");
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:2: error: 'else' without a previous 'if'
   15 |  else{
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);{
  printf("Yes");
 }
 else{
  printf("No");
 }
 return 0;
}
  
 


 












Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:5: error: 'D' undeclared (first use in this function)
    5 |  1<=D<=10000;
      |     ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'T' undeclared (first use in this function)
    6 |  1<=T<=10000;
      |     ^
main.c:7:5: error: 'S' undeclared (first use in this function)
    7 |  1<=S<=10000;
      |     ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:15:2: error: 'else' without a previous 'if'
   15 |  else{
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);
  printf("Yes");
 else if{
  printf("No");
 }
 return 0;
}
  
 


 











Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:5: error: 'D' undeclared (first use in this function)
    5 |  1<=D<=10000;
      |     ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'T' undeclared (first use in this function)
    6 |  1<=T<=10000;
      |     ^
main.c:7:5: error: 'S' undeclared (first use in this function)
    7 |  1<=S<=10000;
      |     ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else if{
      |  ^~~~
main.c:14:9: error: expected '(' before '{' token
   14 |  else if{
      |         ^
      |         (
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=(D/S));
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 











Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:5: error: 'D' undeclared (first use in this function)
    5 |  1<=D<=10000;
      |     ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'T' undeclared (first use in this function)
    6 |  1<=T<=10000;
      |     ^
main.c:7:5: error: 'S' undeclared (first use in this function)
    7 |  1<=S<=10000;
      |     ^
main.c:13:2: error: 'else' without a previous 'if'
   13 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 










Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:5: error: 'D' undeclared (first use in this function)
    5 |  1<=D<=10000;
      |     ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'T' undeclared (first use in this function)
    6 |  1<=T<=10000;
      |     ^
main.c:7:5: error: 'S' undeclared (first use in this function)
    7 |  1<=S<=10000;
      |     ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<=D<=10000;
 1<=T<=10000;
 1<=S<=10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T<=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 









Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:5: error: 'D' undeclared (first use in this function)
    5 |  1<=D<=10000;
      |     ^
main.c:5:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:5: error: 'T' undeclared (first use in this function)
    6 |  1<=T<=10000;
      |     ^
main.c:7:5: error: 'S' undeclared (first use in this function)
    7 |  1<=S<=10000;
      |     ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1=<D=<10000;
 1=<T=<10000;
 1=<S=<10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T=<A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 








Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:4: error: expected expression before '<' token
    5 |  1=<D=<10000;
      |    ^
main.c:6:4: error: expected expression before '<' token
    6 |  1=<T=<10000;
      |    ^
main.c:7:4: error: expected expression before '<' token
    7 |  1=<S=<10000;
      |    ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:8:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:4: error: 'D' undeclared (first use in this function)
    8 |  A=D/S;
      |    ^
main.c:8:6: error: 'S' undeclared (first use in this function)
    8 |  A=D/S;
      |      ^
main.c:10:14: error: 'T' undeclared (first use in this function)
   10 |  scanf("%d",&T);
      |              ^
main.c:12:7: error: expected expression before '<' token
   12 |  if(T=<A);
      |       ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 D=<10000;
 T=<10000;
 S=<10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T=<A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 







Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:2: error: 'D' undeclared (first use in this function)
    5 |  D=<10000;
      |  ^
main.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:4: error: expected expression before '<' token
    5 |  D=<10000;
      |    ^
main.c:6:2: error: 'T' undeclared (first use in this function)
    6 |  T=<10000;
      |  ^
main.c:6:4: error: expected expression before '<' token
    6 |  T=<10000;
      |    ^
main.c:7:2: error: 'S' undeclared (first use in this function)
    7 |  S=<10000;
      |  ^
main.c:7:4: error: expected expression before '<' token
    7 |  S=<10000;
      |    ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:12:7: error: expected expression before '<' token
   12 |  if(T=<A);
      |       ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 D=<10000;
 T=<10000;
 S=<10000;
 A=D/S;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 






Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:2: error: 'D' undeclared (first use in this function)
    5 |  D=<10000;
      |  ^
main.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:4: error: expected expression before '<' token
    5 |  D=<10000;
      |    ^
main.c:6:2: error: 'T' undeclared (first use in this function)
    6 |  T=<10000;
      |  ^
main.c:6:4: error: expected expression before '<' token
    6 |  T=<10000;
      |    ^
main.c:7:2: error: 'S' undeclared (first use in this function)
    7 |  S=<10000;
      |  ^
main.c:7:4: error: expected expression before '<' token
    7 |  S=<10000;
      |    ^
main.c:8:2: error: 'A' undeclared (first use in this function)
    8 |  A=D/S;
      |  ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include<stdio.h>
int main(void)
  int D,T,S,A;
{
 1<D<10000;
 1<T<10000;
 1<S<10000;
 D/S=A;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 





Compiler output:
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:4: error: 'D' undeclared (first use in this function)
    5 |  1<D<10000;
      |    ^
main.c:5:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:4: error: 'T' undeclared (first use in this function)
    6 |  1<T<10000;
      |    ^
main.c:7:4: error: 'S' undeclared (first use in this function)
    7 |  1<S<10000;
      |    ^
main.c:8:6: error: 'A' undeclared (first use in this function)
    8 |  D/S=A;
      |      ^
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include(stdio.h)
int main(void)
  int D,T,S,A;
{
 1<D<10000;
 1<T<10000;
 1<S<10000;
 D/S=A;
 scanf("%d",&D);
 scanf("%d",&T);
 scanf("%d",&S);
 if(T>=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 




Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:4: error: 'D' undeclared (first use in this function)
    5 |  1<D<10000;
      |    ^
main.c:5:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:4: error: 'T' undeclared (first use in this function)
    6 |  1<T<10000;
      |    ^
main.c:7:4: error: 'S' undeclared (first use in this function)
    7 |  1<S<10000;
      |    ^
main.c:8:6: error: 'A' undeclared (first use in this function)
    8 |  D/S=A;
      |      ^
main.c:9:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |  scanf("%d",&D);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    9 |  scanf("%d",&D);
      |  ^~~~~
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:13:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   13 |   printf("Yes");
      |   ^~~~~~
main.c:13:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:13:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:14:2: error: 'else' without a previous 'if'
   14 |  else
      |  ^~~~
Language: C

#include(stdio.h)
int main(void)
  int D,T,S,A;
{
1<D<10000;
 1<T<10000;
 1<S<10000;
 D/S=A;
 scanf("%d","%d","%d",&D,&T,&S);
 if(T>=A);
  printf("Yes");
 else
  printf("No");
 return 0;
}
  
 


 



Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:5:3: error: 'D' undeclared (first use in this function)
    5 | 1<D<10000;
      |   ^
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:4: error: 'T' undeclared (first use in this function)
    6 |  1<T<10000;
      |    ^
main.c:7:4: error: 'S' undeclared (first use in this function)
    7 |  1<S<10000;
      |    ^
main.c:8:6: error: 'A' undeclared (first use in this function)
    8 |  D/S=A;
      |      ^
main.c:9:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    9 |  scanf("%d","%d","%d",&D,&T,&S);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:9:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    9 |  scanf("%d","%d","%d",&D,&T,&S);
      |  ^~~~~
main.c:9:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:11:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   11 |   printf("Yes");
      |   ^~~~~~
main.c:11:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:11:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:2: error: 'else' without a previous 'if'
   12 |  else
      |  ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef unsigned long long int ull;
typedef vector<int> vi;
typedef vector<ll> vll;
typedef vector<ull> vull;
typedef pair<int, int> pii;
typedef pair<pii, int> piii;
typedef pair<ll, ll> pll;
struct pair_hash {
    template <class T1, class T2>
    size_t operator () (const pair<T1,T2> &p) const {
        auto h1 = hash<T1>{}(p.first);
        auto h2 = hash<T2>{}(p.second);
        return h1 ^ h2;  
    }
};
using Vote = pair<ll,ll>;
using Unordered_map = unordered_map<Vote, int, pair_hash>;
#define FOR(i,a,b) for(ll i=a;i<b;i++)
#define FORD(i,a,b) for(ll i=a;i>=b;i--)
#define showvec(arr,a,b) for(ll i=a;i<b;i++) cout<<arr[i]<<" ";
#define read_input(arr,a,b) for(ll i=a;i<b;i++) cin>>arr[i];
#define pb push_back
#define mp make_pair
#define F first
#define S second
#define endl '\n'
#define SmooothOperatorrrrr()                 \
    ios_base::sync_with_stdio(0); \
    cin.tie(0);                    \
    cout.tie(0);                   
#define deci(n) cout<<fixed<<setprecision(n)
const int mod=998244353;
const int mod2=1000000007;
#define M_PI 3.14159265358979323846
#define LL_MAX 9223372036854775807
#define MAXN 2000001
/**************************************************************************************************/
int main()
{
    SmooothOperatorrrrr();
    int t;cin>>t;
    int d,t,s;cin>>d>>t>>s;
    if(d/s<=t)
        cout<<"Yes\n";
    else
        cout<<"No\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:45:11: error: redeclaration of 'int t'
   45 |     int d,t,s;cin>>d>>t>>s;
      |           ^
a.cc:44:9: note: 'int t' previously declared here
   44 |     int t;cin>>t;
      |         ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int D,T,S;
main()
{
    cin>>D>>T>>S;
    if(D<=T*S){
        cout<<"Yes\n";
    }else{
        cout<<"No\n":
    }
}

Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:10:21: error: expected ';' before ':' token
   10 |         cout<<"No\n":
      |                     ^
      |                     ;
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'ts' was not declared in this scope; did you mean 't'?
    8 | if (d<=ts)
      |        ^~
      |        t
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{

    int a,b,c,x,res;
    cin>>a>>b>>c;

    res=b*c;
    if(res>=a)
        print("Yes\n");
    else
        print("No\n");


return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   11 |         print("Yes\n");
      |         ^~~~~
      |         rint
a.cc:13:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   13 |         print("No\n");
      |         ^~~~~
      |         rint
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{

    long a,b,c,x,res;
    cin>>a>>b>>c;

    res=b*c;
    if(res>=a)
        print("Yes\n");
    else
        print("No\n");


return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   11 |         print("Yes\n");
      |         ^~~~~
      |         rint
a.cc:13:9: error: 'print' was not declared in this scope; did you mean 'rint'?
   13 |         print("No\n");
      |         ^~~~~
      |         rint
Language: C

#include<stdio.h>
int mian()
{
  int d,t,s,dist;
  scanf("%d %d %d",&d,&t,&s);
  dist=s*t;
  if(d<=dist)
  {
    printf("Yes");
  }
  else
    printf("No");
  
  
}

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include "stdafx.h"
#include <iostream>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define ll long long
using namespace std;
template <typename T> bool chmin(T &a, const T &b) { if (a > b) { a = b; return true; } return false; }
template <typename T> bool chmax(T &a, const T &b) { if (a < b) { a = b; return true; } return false; }
const ll INF = 1000000000000000000;
const ll MOD = 1e9 + 7;

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



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

import java.util.*;
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();
      	s * t > 
      
	}
}

Compiler output:
Main.java:12: error: illegal start of expression
	}
	^
Main.java:10: error: not a statement
      	s * t > 
      	      ^
2 errors
Language: C++

#include <bits/stdc++.h>

using namespace std;

typedef pair<int,int> pii;
typedef vector<int> vi;
typedef long long ll;

const int md = 1e9 + 7;

int main(){

	int d,t,s;
	cin >> d >> t >> s;
	cout << (s*t<=d) ? "Yes" : "No" << endl;

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:41: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
   15 |         cout << (s*t<=d) ? "Yes" : "No" << endl;
      |                                    ~~~~~^~~~~~~
Language: C++

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

#define start \
    int t;    \
    cin >> t; \
    while (t--)

int main()
{
    ios_base::sync_with_stdio(false);

    int d, t, s;
    cin >> d >> t >> s;

    if (d == 0)
    {
        cout << "Yes";
        return;
    }
    if (t == 0)
    {
        cout << "No";
        return;
    }

    int time = d / s;
    if (time <= t)
        cout << "Yes";
    else
        cout << "No";
}

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

#include<iostream>

using namespace std;

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

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

#include<bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:27: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |                 cout<"Yes"<<endl;
      |                      ~~~~~^~~~~~
Language: Java

import java.util.*;
class Main(){
public static void main(String []args){
Scanner sr = new Scanner(System.in);
int d = sr.nextInt();
int t = sr.nextInt();
int s = sr.nextInt();
if(d/s <= t)
System.out.print("Yes");
else
System.out.print("No");
}
}

Compiler output:
Main.java:2: error: '{' expected
class Main(){
          ^
1 error
Language: C++

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

int main()
{
	char s1[50], s2[50];
	int c = 0, c1 = 0,i,j;
	scanf("%s",s1);
	scanf("%s",s2);
	c1 = strlen(s2);
	for (i = 0; i <= strlen(s1)-strlen(s2); i++)
	{
		
		c = 0;
		for (j = 0; j < strlen(s2); j++)
		{
			if (s1[i+j] != s2[j])
				c++;
			
				
		}
		if (c1 > c)

			c1 = c;
	}
	cout << c1;
	return 0;

}


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

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

int main() {
  int d,t,s;
  cin >> a >> b >> c;
  if (d/s >= t) {cout << "Yes" << endl;} else {cout << "No" << endl;}
 return 0; 
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   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 | using namespace std;
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout<<"Yes"<<endl;
      |         ^~~~
a.cc:8:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:22: error: 'endl' was not declared in this scope
    8 |         cout<<"Yes"<<endl;
      |                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout<<"No"<<endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:21: error: 'endl' was not declared in this scope
   10 |         cout<<"No"<<endl;
      |                     ^~~~
a.cc:10:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
using namespace std;
void main()
{
  int d,s,t;
  cin>>d>>t>>s;
  int dist=t*s;
  if(dist>=d)
    	cout<<"Yes"<<endl;
  else
    	cout<<"No"<<endl;
}

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

#include<bits/stdc++.h>
using namespace std;
typedef  long long ll;
 
vector<ll> adj[200006];
vector<bool> visit(200004,0);
 
void dfs(ll node,ll &c)
{
    visit[node]=1;
    c++;
    for(auto child:adj[node])
    {
        if(visit[child]==0)
        {
            dfs(child,c);
        }
    }
}
 
void solve()
{
    ll n,e,a,b,res=0,c,i;
    cin>>n>>e;
    // visit.resize(n+1,false);
 
    while(e--)
    {
        cin>>a>>b;
        adj[a].push_back(b);
        adj[b].push_back(a);
    }
 
    for(i=1;i<=n;i++)
    {
        if(visit[i]==false)
        {
            c=0;
            dfs(i,c);
            res=max(res,c);
        }
    }
 
    cout<<res;
}
 
int main()
{
   solve();
}

Compiler output:
a.cc: In function 'void dfs(ll, ll&)':
a.cc:10:5: error: reference to 'visit' is ambiguous
   10 |     visit[node]=1;
      |     ^~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:80,
                 from a.cc:1:
/usr/include/c++/14/variant:1855:5: note: candidates are: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
 1855 |     visit(_Visitor&& __visitor, _Variants&&... __variants)
      |     ^~~~~
a.cc:6:14: note:                 'std::vector<bool> visit'
    6 | vector<bool> visit(200004,0);
      |              ^~~~~
a.cc:14:12: error: reference to 'visit' is ambiguous
   14 |         if(visit[child]==0)
      |            ^~~~~
/usr/include/c++/14/variant:1855:5: note: candidates are: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
 1855 |     visit(_Visitor&& __visitor, _Variants&&... __variants)
      |     ^~~~~
a.cc:6:14: note:                 'std::vector<bool> visit'
    6 | vector<bool> visit(200004,0);
      |              ^~~~~
a.cc: In function 'void solve()':
a.cc:36:12: error: reference to 'visit' is ambiguous
   36 |         if(visit[i]==false)
      |            ^~~~~
/usr/include/c++/14/variant:1855:5: note: candidates are: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
 1855 |     visit(_Visitor&& __visitor, _Variants&&... __variants)
      |     ^~~~~
a.cc:6:14: note:                 'std::vector<bool> visit'
    6 | vector<bool> visit(200004,0);
      |              ^~~~~
Language: C++

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

int main(){
  int d,t,s;
  int ans = 0;
  cin >> d >> t >> s;
  double ans = d/s;
  
  if(ans <= t){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
    
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: conflicting declaration 'double ans'
   11 |   double ans = d/s;
      |          ^~~
a.cc:9:7: note: previous declaration as 'int ans'
    9 |   int ans = 0;
      |       ^~~
Language: C++

#include<iostream>

using namespace std;
int main(){
  int D,T,S;
  cin>>D>>T>>S;
  double time=D%S
    if (T>=time){
      cout<< "Yes"<<endl;
    }else{
      cout<<"No"<<endl;
    }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected ',' or ';' before 'if'
    8 |     if (T>=time){
      |     ^~
a.cc:10:6: error: 'else' without a previous 'if'
   10 |     }else{
      |      ^~~~
Language: C++

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

using namespace std

signed main(){
  int d, t, s;
  cin >> d >> t >> s;
  int ans = t - d/s + (d%s);
  if(ans>=0){
  	cout << "Yes" << endl;
  }
  else{
   cout << "No" << endl;
  }
}

Compiler output:
a.cc:4:20: error: expected ';' before 'signed'
    4 | using namespace std
      |                    ^
      |                    ;
    5 | 
    6 | signed main(){
      | ~~~~~~