Language: C++

#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <functional>
using namespace std;
typedef __int64 LL;
typedef vector<int> ivec;
typedef vector<string> svec;
#define MOD 1000000007

LL p[100010],q[100010],r[100010];
vector<LL> nuee;
int main(){
	int X,Y,A,B,C;
	LL ans=0;
	
	cin>>X>>Y>>A>>B>>C;
	for(int i=0;i<A;i++)cin>>p[i];
	for(int i=0;i<B;i++)cin>>q[i];
	for(int i=0;i<C;i++)cin>>r[i];
	
	sort(p,p+A,greater<int>());
	sort(q,q+B,greater<int>());
	
	for(int i=0;i<X;i++)nuee.push_back(p[i]);
	for(int i=0;i<Y;i++)nuee.push_back(q[i]);
	for(int i=0;i<C;i++)nuee.push_back(r[i]);
	
	sort(nuee.begin(),nuee.end(),greater<int>());
	for(int i=0;i<X+Y;i++)
	{
		ans=(ans+nuee[i])%MOD;
	}
	cout<<ans<<endl;
} 


Compiler output:
a.cc:14:9: error: '__int64' does not name a type; did you mean '__int64_t'?
   14 | typedef __int64 LL;
      |         ^~~~~~~
      |         __int64_t
a.cc:19:1: error: 'LL' does not name a type
   19 | LL p[100010],q[100010],r[100010];
      | ^~
a.cc:20:8: error: 'LL' was not declared in this scope
   20 | vector<LL> nuee;
      |        ^~
a.cc:20:10: error: template argument 1 is invalid
   20 | vector<LL> nuee;
      |          ^
a.cc:20:10: error: template argument 2 is invalid
a.cc: In function 'int main()':
a.cc:23:9: error: 'LL' was not declared in this scope
   23 |         LL ans=0;
      |         ^~
a.cc:26:34: error: 'p' was not declared in this scope
   26 |         for(int i=0;i<A;i++)cin>>p[i];
      |                                  ^
a.cc:27:34: error: 'q' was not declared in this scope
   27 |         for(int i=0;i<B;i++)cin>>q[i];
      |                                  ^
a.cc:28:34: error: 'r' was not declared in this scope
   28 |         for(int i=0;i<C;i++)cin>>r[i];
      |                                  ^
a.cc:30:14: error: 'p' was not declared in this scope
   30 |         sort(p,p+A,greater<int>());
      |              ^
a.cc:31:14: error: 'q' was not declared in this scope
   31 |         sort(q,q+B,greater<int>());
      |              ^
a.cc:33:34: error: request for member 'push_back' in 'nuee', which is of non-class type 'int'
   33 |         for(int i=0;i<X;i++)nuee.push_back(p[i]);
      |                                  ^~~~~~~~~
a.cc:34:34: error: request for member 'push_back' in 'nuee', which is of non-class type 'int'
   34 |         for(int i=0;i<Y;i++)nuee.push_back(q[i]);
      |                                  ^~~~~~~~~
a.cc:35:34: error: request for member 'push_back' in 'nuee', which is of non-class type 'int'
   35 |         for(int i=0;i<C;i++)nuee.push_back(r[i]);
      |                                  ^~~~~~~~~
a.cc:35:44: error: 'r' was not declared in this scope
   35 |         for(int i=0;i<C;i++)nuee.push_back(r[i]);
      |                                            ^
a.cc:37:19: error: request for member 'begin' in 'nuee', which is of non-class type 'int'
   37 |         sort(nuee.begin(),nuee.end(),greater<int>());
      |                   ^~~~~
a.cc:37:32: error: request for member 'end' in 'nuee', which is of non-class type 'int'
   37 |         sort(nuee.begin(),nuee.end(),greater<int>());
      |                                ^~~
a.cc:40:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
   40 |                 ans=(ans+nuee[i])%MOD;
      |                 ^~~
      |                 abs
a.cc:40:30: error: invalid types 'int[int]' for array subscript
   40 |                 ans=(ans+nuee[i])%MOD;
      |                              ^
a.cc:42:15: error: 'ans' was not declared in this scope; did you mean 'abs'?
   42 |         cout<<ans<<endl;
      |               ^~~
      |               abs