Getting TLE

I am solving this problem and getting TLE.

Here is my code:

#include <stdio.h>
#include <math.h>
//using namespace std;

inline void run_tests() {
	long long N;
	scanf("%lld", &N);
	
	long long sum = 0;
	long long s1 = 0, s2 = 0;

	for(long long i = 0; i < N; i++) {
		long long val = 0;
		scanf("%lld", &val);
/*
		if(val > 0) {
			s1 += val;
		}else {
			s2 += val;
		}
*/	
		sum += val;
	}

	printf("%d\n", abs(sum));	
}

 int main() {
	#ifndef JUDGE
	freopen("testcases.txt", "r", stdin);
	#endif

	long long testcase = 1;
	scanf("%lld", &testcase);

	while(testcase--) {
		run_tests();	
	}

	return 0;
}