Language: C++

zv#include <bits/stdc++.h>
using namespace std;
#define rep(i,N) for(int i=0,i##_max=(N);i<i##_max;++i)
#define repp(i,l,r) for(int i=(l),i##_max=(r);i<i##_max;++i)
#define per(i,N) for(int i=(N)-1;i>=0;--i)
#define perr(i,l,r) for(int i=r-1,i##_min(l);i>=i##_min;--i)
#define all(arr) (arr).begin(), (arr).end()
#define SP << " " <<
#define SPF << " "
#define SPEEDUP cin.tie(0);ios::sync_with_stdio(false);
#define MAX_I INT_MAX //1e9
#define MIN_I INT_MIN //-1e9
#define MAX_UI UINT_MAX //1e9
#define MAX_LL LLONG_MAX //1e18
#define MIN_LL LLONG_MIN //-1e18
#define MAX_ULL ULLONG_MAX //1e19
  typedef long long ll;
  typedef pair<int,int> PII;
  typedef pair<char,char> PCC;
  typedef pair<ll,ll> PLL;
  typedef pair<char,int> PCI;
  typedef pair<int,char> PIC;
  typedef pair<ll,int> PLI;
  typedef pair<int,ll> PIL; 
  typedef pair<ll,char> PLC; 
  typedef pair<char,ll> PCL; 

inline void YesNo(bool b){ cout << (b?"Yes" : "No") << endl;}
inline void YESNO(bool b){ cout << (b?"YES" : "NO") << endl;}
inline void Yay(bool b){ cout << (b?"Yay!" : ":(") << endl;}

int main(void){
  SPEEDUP
  cout << setprecision(15);
  int N,K;cin >> N >> K;
  vector<int> H(N);
  rep(i,N)cin >> H[i];
  sort(all(H),greater<int>());
  rep(i,K) H[i] = 0;
  ll sum = 0;
  rep(i,N) sum += (ll) H[i];
  cout << sum << endl;
  return 0;
}


Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | zv#include <bits/stdc++.h>
      |   ^
a.cc:1:1: error: 'zv' does not name a type
    1 | zv#include <bits/stdc++.h>
      | ^~
a.cc:18:11: error: 'pair' does not name a type
   18 |   typedef pair<int,int> PII;
      |           ^~~~
a.cc:19:11: error: 'pair' does not name a type
   19 |   typedef pair<char,char> PCC;
      |           ^~~~
a.cc:20:11: error: 'pair' does not name a type
   20 |   typedef pair<ll,ll> PLL;
      |           ^~~~
a.cc:21:11: error: 'pair' does not name a type
   21 |   typedef pair<char,int> PCI;
      |           ^~~~
a.cc:22:11: error: 'pair' does not name a type
   22 |   typedef pair<int,char> PIC;
      |           ^~~~
a.cc:23:11: error: 'pair' does not name a type
   23 |   typedef pair<ll,int> PLI;
      |           ^~~~
a.cc:24:11: error: 'pair' does not name a type
   24 |   typedef pair<int,ll> PIL;
      |           ^~~~
a.cc:25:11: error: 'pair' does not name a type
   25 |   typedef pair<ll,char> PLC;
      |           ^~~~
a.cc:26:11: error: 'pair' does not name a type
   26 |   typedef pair<char,ll> PCL;
      |           ^~~~
a.cc: In function 'void YesNo(bool)':
a.cc:28:28: error: 'cout' was not declared in this scope
   28 | inline void YesNo(bool b){ cout << (b?"Yes" : "No") << endl;}
      |                            ^~~~
a.cc:28:56: error: 'endl' was not declared in this scope
   28 | inline void YesNo(bool b){ cout << (b?"Yes" : "No") << endl;}
      |                                                        ^~~~
a.cc: In function 'void YESNO(bool)':
a.cc:29:28: error: 'cout' was not declared in this scope
   29 | inline void YESNO(bool b){ cout << (b?"YES" : "NO") << endl;}
      |                            ^~~~
a.cc:29:56: error: 'endl' was not declared in this scope
   29 | inline void YESNO(bool b){ cout << (b?"YES" : "NO") << endl;}
      |                                                        ^~~~
a.cc: In function 'void Yay(bool)':
a.cc:30:26: error: 'cout' was not declared in this scope
   30 | inline void Yay(bool b){ cout << (b?"Yay!" : ":(") << endl;}
      |                          ^~~~
a.cc:30:55: error: 'endl' was not declared in this scope
   30 | inline void Yay(bool b){ cout << (b?"Yay!" : ":(") << endl;}
      |                                                       ^~~~
a.cc: In function 'int main()':
a.cc:10:17: error: 'cin' was not declared in this scope
   10 | #define SPEEDUP cin.tie(0);ios::sync_with_stdio(false);
      |                 ^~~
a.cc:33:3: note: in expansion of macro 'SPEEDUP'
   33 |   SPEEDUP
      |   ^~~~~~~
a.cc:10:28: error: 'ios' has not been declared
   10 | #define SPEEDUP cin.tie(0);ios::sync_with_stdio(false);
      |                            ^~~
a.cc:33:3: note: in expansion of macro 'SPEEDUP'
   33 |   SPEEDUP
      |   ^~~~~~~
a.cc:34:3: error: 'cout' was not declared in this scope
   34 |   cout << setprecision(15);
      |   ^~~~
a.cc:34:11: error: 'setprecision' was not declared in this scope
   34 |   cout << setprecision(15);
      |           ^~~~~~~~~~~~
a.cc:36:3: error: 'vector' was not declared in this scope
   36 |   vector<int> H(N);
      |   ^~~~~~
a.cc:36:10: error: expected primary-expression before 'int'
   36 |   vector<int> H(N);
      |          ^~~
a.cc:37:18: error: 'H' was not declared in this scope
   37 |   rep(i,N)cin >> H[i];
      |                  ^
a.cc:38:12: error: 'H' was not declared in this scope
   38 |   sort(all(H),greater<int>());
      |            ^
a.cc:7:19: note: in definition of macro 'all'
    7 | #define all(arr) (arr).begin(), (arr).end()
      |                   ^~~
a.cc:38:15: error: 'greater' was not declared in this scope
   38 |   sort(all(H),greater<int>());
      |               ^~~~~~~
a.cc:38:23: error: expected primary-expression before 'int'
   38 |   sort(all(H),greater<int>());
      |                       ^~~
a.cc:38:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   38 |   sort(all(H),greater<int>());
      |   ^~~~
      |   short
a.cc:42:18: error: 'endl' was not declared in this scope
   42 |   cout << sum << endl;
      |                  ^~~~