Source Code
/*
	Failure is not the reason for you to stop trying
	   it is actually a remainder that you should
			KEEP GOING
*/
#include<bits/stdc++.h>
#define ll long long
#define SaveTime ios_base::sync_with_stdio(false), cin.tie(0);
using namespace std;

int main()
{
   int n; cin >> n;
   ll s =  0;
   for (int i = 0; i < n; i++) {
      int x; cin >> x;
      s+= x;
   }
   for (int i = 0; i < n; i++) {
      int x; cin >> x;
      s-= x;
   }
   cout << s;
}
Copy
A Game of Darts chaffar107
GNU G++17
47 ms
860 KB
Accepted