F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39324764_893.cpp: In function 'LL cal(LL)':
0_0_39324764_893.cpp:11:5: error: 'vector' was not declared in this scope
   11 |     vector<int> a;
      |     ^~~~~~
0_0_39324764_893.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
    4 | #include <algorithm>
  +++ |+#include <vector>
    5 | // #include <bits/stdc++.h>
0_0_39324764_893.cpp:11:12: error: expected primary-expression before 'int'
   11 |     vector<int> a;
      |            ^~~
0_0_39324764_893.cpp:12:20: error: 'a' was not declared in this scope
   12 |     while (x != 0) a.push_back(x % 10), x /= 10;
      |                    ^
0_0_39324764_893.cpp:13:13: error: 'a' was not declared in this scope
   13 |     int n = a.size();
      |             ^
0_0_39324764_893.cpp:17:28: error: expected primary-expression before '>>' token
   17 |     vector<vector<vector<LL>>> dp(n + 1, vector<vector<LL>>(2, vector<LL>(10, 0)));
      |                            ^~
0_0_39324764_893.cpp:17:30: error: expected primary-expression before '>' token
   17 |     vector<vector<vector<LL>>> dp(n + 1, vector<vector<LL>>(2, vector<LL>(10, 0)));
      |                              ^
0_0_39324764_893.cpp:17:58: error: expected primary-expression before '>>' token
   17 |     vector<vector<vector<LL>>> dp(n + 1, vector<vector<LL>>(2, vector<LL>(10, 0)));
      |                                                          ^~
0_0_39324764_893.cpp:17:73: error: expected primary-expression before '>' token
   17 |     vector<vector<vector<LL>>> dp(n + 1, vector<vector<LL>>(2, vector<LL>(10, 0)));
      |                                                                         ^
0_0_39324764_893.cpp:17:32: error: 'dp' was not declared in this scope
   17 |     vector<vector<vector<LL>>> dp(n + 1, vector<vector<LL>>(2, vector<LL>(10, 0)));
      |                                ^~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-29 00:20:40, Gzip enabled