Language: C++

#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <deque>
#include <complex>
#include <stack>
#include <queue>
#include <cstdio>
#include <cctype>
#include <cstring>
#include <ctime>
#include <iterator>
#include <bitset>
#include <numeric>
#include <list>
#include <iomanip>

#if __cplusplus >= 201103L
#include <array>
#include <tuple>
#include <initializer_list>
#include <unordered_set>
#include <unordered_map>
#include <forward_list>

#define cauto const auto&
#else

#endif

using namespace std;


namespace{
typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;

typedef vector<int> vint;
typedef vector<vector<int> > vvint;
typedef vector<long long> vll, vLL;
typedef vector<vector<long long> > vvll, vvLL;

#define VV(T) vector<vector< T > >

template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()){
    v.assign(a, vector<T>(b, t));
}

template <class F, class T>
void convert(const F &f, T &t){
    stringstream ss;
    ss << f;
    ss >> t;
}


#define reep(i,a,b) for(int i=(a);i<(b);++i)
#define rep(i,n) reep((i),0,(n))
#define ALL(v) (v).begin(),(v).end()
#define PB push_back
#define F first
#define S second
#define mkp make_pair
#define RALL(v) (v).rbegin(),(v).rend()


#define MOD 1000000007LL
#define EPS 1e-8
static const int INF=1<<24;
ll dp[11][110][1010];
void mainmain(){
	rep(i,101){
		dp[1][i][i]=1;
	}
	reep(i,2,10){
		reep(j,0,101){
			reep(k,0,1001){
				reep(l,j+1,101){
					if(k-l<0) break;
					dp[i][l][k]+=dp[i-1][j][k-l];
				}
			}
		}
	}
	int n,s;
	while(cin>>n>>s,n||s){
		ll ans=0;
		rep(i,101){
			ans+=dp[n][i][s];
		}
		cout<<ans<<endl;
	}
}



}
main() try{
    mainmain();
}
catch(...){
}

Compiler output:
a.cc:83:1: error: 'll' does not name a type; did you mean 'vll'?
   83 | ll dp[11][110][1010];
      | ^~
      | vll
a.cc: In function 'void {anonymous}::mainmain()':
a.cc:86:17: error: 'dp' was not declared in this scope
   86 |                 dp[1][i][i]=1;
      |                 ^~
a.cc:93:41: error: 'dp' was not declared in this scope
   93 |                                         dp[i][l][k]+=dp[i-1][j][k-l];
      |                                         ^~
a.cc:100:17: error: 'll' was not declared in this scope; did you mean 'vll'?
  100 |                 ll ans=0;
      |                 ^~
      |                 vll
a.cc:102:25: error: 'ans' was not declared in this scope; did you mean 'abs'?
  102 |                         ans+=dp[n][i][s];
      |                         ^~~
      |                         abs
a.cc:102:30: error: 'dp' was not declared in this scope
  102 |                         ans+=dp[n][i][s];
      |                              ^~
a.cc:104:23: error: 'ans' was not declared in this scope; did you mean 'abs'?
  104 |                 cout<<ans<<endl;
      |                       ^~~
      |                       abs
a.cc: At global scope:
a.cc:111:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
  111 | main() try{
      | ^~~~