popeala.cpp:14:1: error: 'lint' does not name a type; did you mean 'uint'?
 lint dp[MAXN][MAXT];
 ^~~~
 uint
popeala.cpp:15:1: error: 'lint' does not name a type; did you mean 'uint'?
 lint seg[MAXN][MAXT];
 ^~~~
 uint
popeala.cpp: In function 'int main()':
popeala.cpp:31:30: error: 'dp' was not declared in this scope
  for(int i = 1; i <= S; i++) dp[i][0] = LINF;
                              ^~
popeala.cpp:31:30: note: suggested alternative: 'sp'
  for(int i = 1; i <= S; i++) dp[i][0] = LINF;
                              ^~
                              sp
popeala.cpp:31:41: error: 'LINF' was not declared in this scope
  for(int i = 1; i <= S; i++) dp[i][0] = LINF;
                                         ^~~~
popeala.cpp:31:41: note: suggested alternative: 'SING'
  for(int i = 1; i <= S; i++) dp[i][0] = LINF;
                                         ^~~~
                                         SING
popeala.cpp:32:30: error: 'dp' was not declared in this scope
  for(int i = 1; i <= T; i++) dp[0][i] = LINF;
                              ^~
popeala.cpp:32:30: note: suggested alternative: 'sp'
  for(int i = 1; i <= T; i++) dp[0][i] = LINF;
                              ^~
                              sp
popeala.cpp:32:41: error: 'LINF' was not declared in this scope
  for(int i = 1; i <= T; i++) dp[0][i] = LINF;
                                         ^~~~
popeala.cpp:32:41: note: suggested alternative: 'SING'
  for(int i = 1; i <= T; i++) dp[0][i] = LINF;
                                         ^~~~
                                         SING
popeala.cpp:40:58: error: 'seg' was not declared in this scope
   for(int j = 0; j <= N; j++) for(int k = 0; k < T; k++) seg[j][k] = dp[i - 1][k] - j * sp[k];
                                                          ^~~
popeala.cpp:40:70: error: 'dp' was not declared in this scope
   for(int j = 0; j <= N; j++) for(int k = 0; k < T; k++) seg[j][k] = dp[i - 1][k] - j * sp[k];
                                                                      ^~
popeala.cpp:40:70: note: suggested alternative: 'sp'
   for(int j = 0; j <= N; j++) for(int k = 0; k < T; k++) seg[j][k] = dp[i - 1][k] - j * sp[k];
                                                                      ^~
                                                                      sp
popeala.cpp:41:31: error: 'dp' was not declared in this scope
   for(int j = 1; j <= T; j++) dp[i][j] = LINF;
                               ^~
popeala.cpp:41:31: note: suggested alternative: 'sp'
   for(int j = 1; j <= T; j++) dp[i][j] = LINF;
                               ^~
                               sp
popeala.cpp:41:42: error: 'LINF' was not declared in this scope
   for(int j = 1; j <= T; j++) dp[i][j] = LINF;
                                          ^~~~
popeala.cpp:41:42: note: suggested alternative: 'SING'
   for(int j = 1; j <= T; j++) dp[i][j] = LINF;
                                          ^~~~
                                          SING
popeala.cpp:43:10: error: 'pli' was not declared in this scope
    deque<pli> dq;
          ^~~
popeala.cpp:43:13: error: template argument 1 is invalid
    deque<pli> dq;
             ^
popeala.cpp:43:13: error: template argument 2 is invalid
popeala.cpp:47:16: error: request for member 'empty' in 'dq', which is of non-class type 'int'
      while(!dq.empty() && dq.back().fi > seg[j][l]) dq.pop_back();
                ^~~~~
popeala.cpp:47:30: error: request for member 'back' in 'dq', which is of non-class type 'int'
      while(!dq.empty() && dq.back().fi > seg[j][l]) dq.pop_back();
                              ^~~~
popeala.cpp:47:42: error: 'seg' was not declared in this scope
      while(!dq.empty() && dq.back().fi > seg[j][l]) dq.pop_back();
                                          ^~~
popeala.cpp:47:56: error: request for member 'pop_back' in 'dq', which is of non-class type 'int'
      while(!dq.empty() && dq.back().fi > seg[j][l]) dq.pop_back();
                                                        ^~~~~~~~
popeala.cpp:48:9: error: request for member 'push_back' in 'dq', which is of non-class type 'int'
      dq.push_back(make_pair(seg[j][l], l));
         ^~~~~~~~~
popeala.cpp:48:29: error: 'seg' was not declared in this scope
      dq.push_back(make_pair(seg[j][l], l));
                             ^~~
popeala.cpp:50:15: error: request for member 'empty' in 'dq', which is of non-class type 'int'
     while(!dq.empty() && dq.front().se < ch[k][j]) dq.pop_front();
               ^~~~~
popeala.cpp:50:29: error: request for member 'front' in 'dq', which is of non-class type 'int'
     while(!dq.empty() && dq.front().se < ch[k][j]) dq.pop_front();
                             ^~~~~
popeala.cpp:50:55: error: request for member 'pop_front' in 'dq', which is of non-class type 'int'
     while(!dq.empty() && dq.front().se < ch[k][j]) dq.pop_front();
                                                       ^~~~~~~~~
popeala.cpp:51:12: error: request for member 'empty' in 'dq', which is of non-class type 'int'
     if(!dq.empty()) dp[i][k] = min(dp[i][k], dq.front().fi + sp[k] * j);
            ^~~~~
popeala.cpp:51:21: error: 'dp' was not declared in this scope
     if(!dq.empty()) dp[i][k] = min(dp[i][k], dq.front().fi + sp[k] * j);
                     ^~
popeala.cpp:51:21: note: suggested alternative: 'dq'
     if(!dq.empty()) dp[i][k] = min(dp[i][k], dq.front().fi + sp[k] * j);
                     ^~
                     dq
popeala.cpp:51:49: error: request for member 'front' in 'dq', which is of non-class type 'int'
     if(!dq.empty()) dp[i][k] = min(dp[i][k], dq.front().fi + sp[k] * j);
                                                 ^~~~~
popeala.cpp:56:38: error: 'dp' was not declared in this scope
  for(int i = 1; i <= S; i++) cout << dp[i][T] << "\n";
                                      ^~
popeala.cpp:56:38: note: suggested alternative: 'sp'
  for(int i = 1; i <= S; i++) cout << dp[i][T] << "\n";
                                      ^~
                                      sp