Language: C++

#include <iostream>
using namespase std;
int main(){int N;
	cin >> N;
	int K;
	cin >> K;

	if(N%2!=0){
		if (N / 2 + 1 < K)	cout << "NO" << endl;
		else cout << "YES" << endl;
	}
	else{
		if(N/2>=K)cout<<"YES"<<endl;
		else cout<<"NO"<<endl;
	}
	return 0;}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |         cin >> N;
      |         ^~~
      |         std::cin
In file included 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:9:41: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |                 if (N / 2 + 1 < K)      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:9:57: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |                 if (N / 2 + 1 < K)      cout << "NO" << endl;
      |                                                         ^~~~
      |                                                         std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:22: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |                 else 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:10:39: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |                 else 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:13:27: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |                 if(N/2>=K)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:13:40: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |                 if(N/2>=K)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:14:22: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |                 else 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:14:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |                 else cout<<"NO"<<endl;
      |                                  ^~~~
      |                                  std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~