/in/foo.cc:1:33: warning: extra tokens at end of #include directive
#include <bits/stdc++.h>typedef long long ll;ll t[30000];ll a[30000],b[30000];using namespace std;int main(){ memset(a,20001,sizeof(a)); memset(b,20001,sizeof(b)); ll n; cin>>n; for(int i=0;i<n;i++) { ll x; cin>>x; t[x]++; } ll k=1; for(int i=1;i<=20000;i++) { while(t[i]) { t[i]--; a[k++]=i; } } ll i=1,j=1; ll w=1; ll e=0; ll s=0; while(w<n) { if(a[i]>b[j]) { e=b[j]; j++; } else { e=a[i]; i++; } if(a[i]>b[j]) { e+=b[j]; j++; } else { e+=a[i]; i++; } s+=e; b[w++]=e; } cout<<s<<endl; return 0;}
^~~~
/in/foo.cc:7:40: fatal error: bits/stdc++.h>typede: No such file or directory
compilation terminated.