Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i, n) for (ll i = 0; i < (n); i++)
#define FOR(i,a,b) for(ll i=(a);i<(b);i++)
#define FORR(i,a,b)for(ll i=(a);i<=(b);i++)
#define repR(i,n) for(ll i=n;i>=0;i--)
#define all(v)(v).begin(),(v).end()
#define rall(v)(v).rbegin(),(v).rend()
#define F first
#define S second
#define pb push_back
#define pu push
#define COUT(x) cout<<(x)<<endl
#define PQ priority_queue<ll>
#define PQR priority_queue<ll,vector<ll>,greater<ll>>
#define YES(n) cout << ((n) ? "YES" : "NO"  ) << endl
#define Yes(n) cout << ((n) ? "Yes" : "No"  ) << endl
#define mp make_pair
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const ll MOD = 1000000007LL;
const ll INF = 1LL << 60;
using vll = vector<ll>;
using vvll = vector<vll>;
using vstr = vector<string>;
using pll = pair<ll, ll>;
main(){
  int h;
  string s;
  cin>>s;
  reverse(all(s));
  int dp[100010][13];
  dp[0][0]=1;
  int mul=1;
  int mod=1000000000+7;
  for(int i=1;i<=s.size();i++){
    if(s[i-1]=='?'){
      for(int j=0;j<10;j++){
        int r=j*mul;
        int g=r%13;
        rep(h,13){
          dp[i][(h+g)%13]+=dp[i-1][h];
          dp[i][(h+g)%13]%=mod;
        }
      }
    }
    else{
      int c=(s[i-1]-'0');
      int e=c*mul%13;
      rep(h,13){
        dp[i][(h+e)%13]+=dp[i-1][h];
        dp[i][(h+e)%13]%=mod;
      }
    }
    mul*=10;
    mul%=13;
  }
  int q=s.size();
  COUT(dp[q][5]);
}


Compiler output:
a.cc:21:14: error: 'll' was not declared in this scope; did you mean 'all'?
   21 | typedef pair<ll,ll> pll;
      |              ^~
      |              all
a.cc:21:17: error: 'll' was not declared in this scope; did you mean 'all'?
   21 | typedef pair<ll,ll> pll;
      |                 ^~
      |                 all
a.cc:21:19: error: template argument 1 is invalid
   21 | typedef pair<ll,ll> pll;
      |                   ^
a.cc:21:19: error: template argument 2 is invalid
a.cc:22:7: error: 'll' does not name a type; did you mean 'pll'?
   22 | const ll MOD = 1000000007LL;
      |       ^~
      |       pll
a.cc:23:7: error: 'll' does not name a type; did you mean 'pll'?
   23 | const ll INF = 1LL << 60;
      |       ^~
      |       pll
a.cc:24:20: error: 'll' was not declared in this scope; did you mean 'pll'?
   24 | using vll = vector<ll>;
      |                    ^~
      |                    pll
a.cc:24:22: error: template argument 1 is invalid
   24 | using vll = vector<ll>;
      |                      ^
a.cc:24:22: error: template argument 2 is invalid
a.cc:25:21: error: 'vll' was not declared in this scope; did you mean 'pll'?
   25 | using vvll = vector<vll>;
      |                     ^~~
      |                     pll
a.cc:25:24: error: template argument 1 is invalid
   25 | using vvll = vector<vll>;
      |                        ^
a.cc:25:24: error: template argument 2 is invalid
a.cc:27:18: error: 'll' was not declared in this scope; did you mean 'pll'?
   27 | using pll = pair<ll, ll>;
      |                  ^~
      |                  pll
a.cc:27:22: error: 'll' was not declared in this scope; did you mean 'pll'?
   27 | using pll = pair<ll, ll>;
      |                      ^~
      |                      pll
a.cc:27:24: error: template argument 1 is invalid
   27 | using pll = pair<ll, ll>;
      |                        ^
a.cc:27:24: error: template argument 2 is invalid
a.cc:28:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   28 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:24: error: 'll' was not declared in this scope; did you mean 'pll'?
    4 | #define rep(i, n) for (ll i = 0; i < (n); i++)
      |                        ^~
a.cc:42:9: note: in expansion of macro 'rep'
   42 |         rep(h,13){
      |         ^~~
a.cc:4:24: error: 'll' was not declared in this scope; did you mean 'pll'?
    4 | #define rep(i, n) for (ll i = 0; i < (n); i++)
      |                        ^~
a.cc:51:7: note: in expansion of macro 'rep'
   51 |       rep(h,13){
      |       ^~~