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_38715468_28255.cpp:9:7: error: 'int_fast32_t' does not name a type
    9 | const int_fast32_t MAXN = 100000;
      |       ^~~~~~~~~~~~
0_0_38715468_28255.cpp:10:7: error: 'int_fast32_t' does not name a type
   10 | const int_fast32_t PRIME[]{
      |       ^~~~~~~~~~~~
0_0_38715468_28255.cpp:18:6: error: variable or field 'factor_integer' declared void
   18 | void factor_integer(int_fast32_t                  pos,
      |      ^~~~~~~~~~~~~~
0_0_38715468_28255.cpp:18:21: error: 'int_fast32_t' was not declared in this scope
   18 | void factor_integer(int_fast32_t                  pos,
      |                     ^~~~~~~~~~~~
0_0_38715468_28255.cpp:19:21: error: 'int_fast32_t' was not declared in this scope
   19 |                     int_fast32_t                  x,
      |                     ^~~~~~~~~~~~
0_0_38715468_28255.cpp:20:35: error: 'int_fast32_t' was not declared in this scope
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                   ^~~~~~~~~~~~
0_0_38715468_28255.cpp:20:35: error: template argument 1 is invalid
0_0_38715468_28255.cpp:20:35: error: template argument 2 is invalid
0_0_38715468_28255.cpp:20:47: error: template argument 1 is invalid
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                               ^~
0_0_38715468_28255.cpp:20:47: error: template argument 2 is invalid
0_0_38715468_28255.cpp:20:51: error: 'fac_pos' was not declared in this scope
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                                   ^~~~~~~
0_0_38715468_28255.cpp:31:39: error: 'int_fast32_t' was not declared in this scope
   31 | void factor_integer_list(const vector<int_fast32_t>   &lst,
      |                                       ^~~~~~~~~~~~
0_0_38715468_28255.cpp:31:51: error: template argument 1 is invalid
   31 | void factor_integer_list(const vector<int_fast32_t>   &lst,
      |                                                   ^
0_0_38715468_28255.cpp:31:51: error: template argument 2 is invalid
0_0_38715468_28255.cpp:32:40: error: 'int_fast32_t' was not declared in this scope
   32 |                          vector<vector<int_fast32_t>> &fac_pos) {
      |                                        ^~~~~~~~~~~~
0_0_38715468_28255.cpp:32:40: error: template argument 1 is invalid
0_0_38715468_28255.cpp:32:40: error: template argument 2 is invalid
0_0_38715468_28255.cpp:32:52: error: template argument 1 is invalid
   32 |                          vector<vector<int_fast32_t>> &fac_pos) {
      |                                                    ^~
0_0_38715468_28255.cpp:32:52: error: template argument 2 is invalid
0_0_38715468_28255.cpp: In function 'void factor_integer_list(const int&, int&)':
0_0_38715468_28255.cpp:33:8: error: 'int_fast32_t' was not declared in this scope
   33 |   for (int_fast32_t k = 0; k < lst.size(); ++k) {
      |        ^~~~~~~~~~~~
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
   33 |   for (int_fast32_t k = 0; k < lst.size(); ++k) {
      |                                    ^~~~
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
0_0_38715468_28255.cpp:33:28: error: 'k' was not declared in this scope
   33 |   for (int_fast32_t k = 0; k < lst.size(); ++k) {
      |                            ^
0_0_38715468_28255.cpp:33:36: error: request for member 'size' in 'lst', which is of non-class type 'const int'
   33 |   for (int_fast32_t k = 0; k < lst.size(); ++k) {
      |                                    ^~~~
0_0_38715468_28255.cpp:35:22: error: expected ';' before 'i'
   35 |     for (int_fast32_t i = 0; PRIME[i] * PRIME[i] <= x; ++i) {
      |                      ^~
      |                      ;
0_0_38715468_28255.cpp:35:30: error: 'PRIME' was not declared in this scope
   35 |     for (int_fast32_t i = 0; PRIME[i] * PRIME[i] <= x; ++i) {
      |                              ^~~~~
0_0_38715468_28255.cpp:35:36: error: 'i' was not declared in this scope
   35 |     for (int_fast32_t i = 0; PRIME[i] * PRIME[i] <= x; ++i) {
      |                                    ^
0_0_38715468_28255.cpp: At global scope:
0_0_38715468_28255.cpp:46:6: error: variable or field 'factor_integer_d' declared void
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |      ^~~~~~~~~~~~~~~~
0_0_38715468_28255.cpp:46:23: error: 'int_fast32_t' was not declared in this scope
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                       ^~~~~~~~~~~~
0_0_38715468_28255.cpp:46:43: error: 'int_fast32_t' was not declared in this scope
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                           ^~~~~~~~~~~~
0_0_38715468_28255.cpp:46:57: error: 'int_fast32_t' was not declared in this scope
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                         ^~~~~~~~~~~~
0_0_38715468_28255.cpp:46:69: error: template argument 1 is invalid
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                                     ^
0_0_38715468_28255.cpp:46:69: error: template argument 2 is invalid
0_0_38715468_28255.cpp:46:69: error: template argument 3 is invalid
0_0_38715468_28255.cpp:46:69: error: template argument 4 is invalid
0_0_38715468_28255.cpp:46:72: error: 'fac' was not declared in this scope
   46 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                                        ^~~
0_0_38715468_28255.cpp: In function 'int main()':
0_0_38715468_28255.cpp:63:3: error: 'int_fast32_t' was not declared in this scope
   63 |   int_fast32_t T;
      |   ^~~~~~~~~~~~
0_0_38715468_28255.cpp:64:10: error: 'T' was not declared in this scope
   64 |   cin >> T;
      |          ^
0_0_38715468_28255.cpp:66:17: error: expected ';' before 'n'
   66 |     int_fast32_t n, m;
      |                 ^~
      |                 ;
0_0_38715468_28255.cpp:67:12: error: 'n' was not declared in this scope
   67 |     cin >> n >> m;
      |            ^
0_0_38715468_28255.cpp:67:17: error: 'm' was not declared in this scope; did you mean 'tm'?
   67 |     cin >> n >> m;
      |                 ^
      |                 tm
0_0_38715468_28255.cpp:69:19: error: template argument 2 is invalid
   69 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                   ^~~~~~~~~~~~
0_0_38715468_28255.cpp:69:31: error: template argument 1 is invalid
   69 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                               ^~
0_0_38715468_28255.cpp:69:31: error: template argument 2 is invalid
0_0_38715468_28255.cpp:69:38: error: 'MAXN' was not declared in this scope
   69 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                                      ^~~~
0_0_38715468_28255.cpp:70:22: error: expected ';' before 'i'
   70 |     for (int_fast32_t i = 0; i < n; ++i) {
      |                      ^~
      |                      ;
0_0_38715468_28255.cpp:70:30: error: 'i' was not declared in this scope
   70 |     for (int_fast32_t i = 0; i < n; ++i) {
      |                              ^
0_0_38715468_28255.cpp:73:7: error: 'factor_integer' was not declared in this scope; did you mean 'factor_integer_list'?
   73 |       factor_integer(i, a, fpa);
      |       ^~~~~~~~~~~~~~
      |       factor_integer_list
0_0_38715468_28255.cpp:77:19: error: expected ';' before 'l'
   77 |       int_fast32_t                    l, r, d;
      |                   ^                   ~
      |                   ;
0_0_38715468_28255.cpp:78:37: error: template argument 3 is invalid
   78 |       map<int_fast32_t, int_fast32_t> fd;
      |                                     ^
0_0_38715468_28255.cpp:78:37: error: template argument 4 is invalid
0_0_38715468_28255.cpp:79:14: error: 'l' was not declared in this scope
   79 |       cin >> l >> r >> d;
      |              ^
0_0_38715468_28255.cpp:79:19: error: 'r' was not declared in this scope
   79 |       cin >> l >> r >> d;
      |                   ^
0_0_38715468_28255.cpp:79:24: error: 'd' was not declared in this scope; did you mean 'fd'?
   79 |       cin >> l >> r >> d;
      |                        ^
      |                        fd
0_0_38715468_28255.cpp:80:7: error: 'factor_integer_d' was not declared in this scope; did you mean 'factor_integer_list'?
   80 |       factor_integer_d(d, fd);
      |       ^~~~~~~~~~~~~~~~
      |       factor_integer_list
0_0_38715468_28255.cpp:86:23: error: 'begin' was not declared in this scope
 


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-27 22:54:03, Gzip enabled