/in/foo.cc:6:12: error: '__int64' does not name a type
#define LL __int64
^
/in/foo.cc:7:1: note: in expansion of macro 'LL'
LL a[300100] , sum[300100];
^~
/in/foo.cc:6:12: error: '__int64' does not name a type
#define LL __int64
^
/in/foo.cc:8:1: note: in expansion of macro 'LL'
LL dp[5010][5010] ;
^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:12: error: '__int64' was not declared in this scope
#define LL __int64
^
/in/foo.cc:11:5: note: in expansion of macro 'LL'
LL max1 ;
^~
/in/foo.cc:13:9: error: 'sum' was not declared in this scope
sum[0] = 0 ;
^~~
/in/foo.cc:15:29: error: 'a' was not declared in this scope
scanf("%I64d", &a[i]) ;
^
/in/foo.cc:18:14: error: 'a' was not declared in this scope
sort(a+1,a+n+1) ;
^
/in/foo.cc:23:16: error: 'dp' was not declared in this scope
memset(dp,0,sizeof(dp)) ;
^~