Language: C++

#include <bits/stdc++.h>

int main() {
	int A, B,C, D, E, F;
	cin >> A >> B >> C >> D;
		int ans = 0;
		int ans2 = 0;

		while (ans2 <= C || ans <= A) {
			ans2 += B;
			ans += D;
		}
		if (C - ans2 <= 0 && A - D > 0) {
			cout << "Yes" << endl;
		}
		
		else if (B >= C) {
				cout << "Yes" << endl;
			}
		
		else {
			cout << "No" << endl;
		}
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> A >> B >> C >> D;
      |         ^~~
      |         std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:14:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |                         cout << "Yes" << endl;
      |                         ^~~~
      |                         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |                         cout << "Yes" << endl;
      |                                          ^~~~
      |                                          std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:18:33: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |                                 cout << "Yes" << endl;
      |                                 ^~~~
      |                                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:18:50: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |                                 cout << "Yes" << endl;
      |                                                  ^~~~
      |                                                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:22:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   22 |                         cout << "No" << endl;
      |                         ^~~~
      |                         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:22:41: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   22 |                         cout << "No" << endl;
      |                                         ^~~~
      |                                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~