Language: C++

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

int main(){
  int n,t1,t2;
  vector<int> a(n);
  vector<int> b(n);
  for(int i=0;i<n;i++){
    cin >> a[i] >> b[i];
  }
  
  for(int i=0;i<n;i++){
    for(int j=i+1;j<n;j++){
	if(b[i]>b[j]){
      t1=a[i];
      t2=b[i];
      a[i]=a[j];
      b[i]=b[j];
      a[j]=t1;
      b[j]=t2;
    }
   }
  }
  int sum=0,j=0;
  for(int i=0;i<n;i++){
	sum+=a[i];
    if(sum>b[i]) j=1;
  }
  
  if(j=1) cout << No << endl;
  else cout << Yes << end;
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incluide; did you mean #include?
    1 | #incluide<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'vector' was not declared in this scope
    6 |   vector<int> a(n);
      |   ^~~~~~
a.cc:1:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
  +++ |+#include <vector>
    1 | #incluide<bits/stdc++.h>
a.cc:6:10: error: expected primary-expression before 'int'
    6 |   vector<int> a(n);
      |          ^~~
a.cc:7:10: error: expected primary-expression before 'int'
    7 |   vector<int> b(n);
      |          ^~~
a.cc:9:5: error: 'cin' was not declared in this scope
    9 |     cin >> a[i] >> b[i];
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incluide<bits/stdc++.h>
a.cc:9:12: error: 'a' was not declared in this scope
    9 |     cin >> a[i] >> b[i];
      |            ^
a.cc:9:20: error: 'b' was not declared in this scope
    9 |     cin >> a[i] >> b[i];
      |                    ^
a.cc:14:12: error: 'b' was not declared in this scope
   14 |         if(b[i]>b[j]){
      |            ^
a.cc:15:10: error: 'a' was not declared in this scope
   15 |       t1=a[i];
      |          ^
a.cc:26:14: error: 'a' was not declared in this scope
   26 |         sum+=a[i];
      |              ^
a.cc:27:12: error: 'b' was not declared in this scope
   27 |     if(sum>b[i]) j=1;
      |            ^
a.cc:30:11: error: 'cout' was not declared in this scope
   30 |   if(j=1) cout << No << endl;
      |           ^~~~
a.cc:30:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:30:19: error: 'No' was not declared in this scope
   30 |   if(j=1) cout << No << endl;
      |                   ^~
a.cc:30:25: error: 'endl' was not declared in this scope
   30 |   if(j=1) cout << No << endl;
      |                         ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #incluide<bits/stdc++.h>
a.cc:31:8: error: 'cout' was not declared in this scope
   31 |   else cout << Yes << end;
      |        ^~~~
a.cc:31:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:31:16: error: 'Yes' was not declared in this scope
   31 |   else cout << Yes << end;
      |                ^~~
a.cc:31:23: error: 'end' was not declared in this scope
   31 |   else cout << Yes << end;
      |                       ^~~
a.cc:1:1: note: 'std::end' is defined in header '<iterator>'; this is probably fixable by adding '#include <iterator>'
  +++ |+#include <iterator>
    1 | #incluide<bits/stdc++.h>