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_38715844_30038.cpp:9:7: error: 'int_fast32_t' does not name a type
    9 | const int_fast32_t MAXN = 100000;
      |       ^~~~~~~~~~~~
0_0_38715844_30038.cpp:10:7: error: 'int_fast32_t' does not name a type
   10 | const int_fast32_t PRIME[]{
      |       ^~~~~~~~~~~~
0_0_38715844_30038.cpp:18:6: error: variable or field 'factor_integer' declared void
   18 | void factor_integer(int_fast32_t                  pos,
      |      ^~~~~~~~~~~~~~
0_0_38715844_30038.cpp:18:21: error: 'int_fast32_t' was not declared in this scope
   18 | void factor_integer(int_fast32_t                  pos,
      |                     ^~~~~~~~~~~~
0_0_38715844_30038.cpp:19:21: error: 'int_fast32_t' was not declared in this scope
   19 |                     int_fast32_t                  x,
      |                     ^~~~~~~~~~~~
0_0_38715844_30038.cpp:20:35: error: 'int_fast32_t' was not declared in this scope
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                   ^~~~~~~~~~~~
0_0_38715844_30038.cpp:20:35: error: template argument 1 is invalid
0_0_38715844_30038.cpp:20:35: error: template argument 2 is invalid
0_0_38715844_30038.cpp:20:47: error: template argument 1 is invalid
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                               ^~
0_0_38715844_30038.cpp:20:47: error: template argument 2 is invalid
0_0_38715844_30038.cpp:20:51: error: 'fac_pos' was not declared in this scope
   20 |                     vector<vector<int_fast32_t>> &fac_pos) {
      |                                                   ^~~~~~~
0_0_38715844_30038.cpp:31:6: error: variable or field 'factor_integer_d' declared void
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |      ^~~~~~~~~~~~~~~~
0_0_38715844_30038.cpp:31:23: error: 'int_fast32_t' was not declared in this scope
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                       ^~~~~~~~~~~~
0_0_38715844_30038.cpp:31:43: error: 'int_fast32_t' was not declared in this scope
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                           ^~~~~~~~~~~~
0_0_38715844_30038.cpp:31:57: error: 'int_fast32_t' was not declared in this scope
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                         ^~~~~~~~~~~~
0_0_38715844_30038.cpp:31:69: error: template argument 1 is invalid
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                                     ^
0_0_38715844_30038.cpp:31:69: error: template argument 2 is invalid
0_0_38715844_30038.cpp:31:69: error: template argument 3 is invalid
0_0_38715844_30038.cpp:31:69: error: template argument 4 is invalid
0_0_38715844_30038.cpp:31:72: error: 'fac' was not declared in this scope
   31 | void factor_integer_d(int_fast32_t x, map<int_fast32_t, int_fast32_t> &fac) {
      |                                                                        ^~~
0_0_38715844_30038.cpp: In function 'int main()':
0_0_38715844_30038.cpp:48:3: error: 'int_fast32_t' was not declared in this scope
   48 |   int_fast32_t T;
      |   ^~~~~~~~~~~~
0_0_38715844_30038.cpp:49:10: error: 'T' was not declared in this scope
   49 |   cin >> T;
      |          ^
0_0_38715844_30038.cpp:51:17: error: expected ';' before 'n'
   51 |     int_fast32_t n, m;
      |                 ^~
      |                 ;
0_0_38715844_30038.cpp:52:12: error: 'n' was not declared in this scope
   52 |     cin >> n >> m;
      |            ^
0_0_38715844_30038.cpp:52:17: error: 'm' was not declared in this scope; did you mean 'tm'?
   52 |     cin >> n >> m;
      |                 ^
      |                 tm
0_0_38715844_30038.cpp:53:19: error: template argument 2 is invalid
   53 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                   ^~~~~~~~~~~~
0_0_38715844_30038.cpp:53:31: error: template argument 1 is invalid
   53 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                               ^~
0_0_38715844_30038.cpp:53:31: error: template argument 2 is invalid
0_0_38715844_30038.cpp:53:38: error: 'MAXN' was not declared in this scope
   53 |     vector<vector<int_fast32_t>> fpa(MAXN);
      |                                      ^~~~
0_0_38715844_30038.cpp:54:22: error: expected ';' before 'i'
   54 |     for (int_fast32_t i = 0; i < n; ++i) {
      |                      ^~
      |                      ;
0_0_38715844_30038.cpp:54:30: error: 'i' was not declared in this scope
   54 |     for (int_fast32_t i = 0; i < n; ++i) {
      |                              ^
0_0_38715844_30038.cpp:57:7: error: 'factor_integer' was not declared in this scope
   57 |       factor_integer(i, a, fpa);
      |       ^~~~~~~~~~~~~~
0_0_38715844_30038.cpp:60:19: error: expected ';' before 'l'
   60 |       int_fast32_t                    l, r, d;
      |                   ^                   ~
      |                   ;
0_0_38715844_30038.cpp:61:37: error: template argument 3 is invalid
   61 |       map<int_fast32_t, int_fast32_t> fd;
      |                                     ^
0_0_38715844_30038.cpp:61:37: error: template argument 4 is invalid
0_0_38715844_30038.cpp:62:14: error: 'l' was not declared in this scope
   62 |       cin >> l >> r >> d;
      |              ^
0_0_38715844_30038.cpp:62:19: error: 'r' was not declared in this scope
   62 |       cin >> l >> r >> d;
      |                   ^
0_0_38715844_30038.cpp:62:24: error: 'd' was not declared in this scope; did you mean 'fd'?
   62 |       cin >> l >> r >> d;
      |                        ^
      |                        fd
0_0_38715844_30038.cpp:63:7: error: 'factor_integer_d' was not declared in this scope
   63 |       factor_integer_d(d, fd);
      |       ^~~~~~~~~~~~~~~~
0_0_38715844_30038.cpp:65:21: error: 'begin' was not declared in this scope
   65 |       for (auto e : fd) {
      |                     ^~
0_0_38715844_30038.cpp:65:21: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:53,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
                 from 0_0_38715844_30038.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:114:37: note:   'std::begin'
  114 |   template<typename _Tp> const _Tp* begin(const valarray<_Tp>&) noexcept;
      |                                     ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algobase.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:38,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63,
                 from 0_0_38715844_30038.cpp:2:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:489:44: note:   'std::ranges::__cust::begin'
  489 |     inline constexpr __cust_access::_Begin begin{};
      |                                            ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_iterator_base_types.h:71,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:65,
                 from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/iterator_concepts.h:969:10: note:   'std::ranges::__cust_access::begin'
  969 |     void begin(const auto&) = delete;
      |          ^~~~~
0_0_38715844_30038.cpp:65:21: error: 'end' was not declared in this scope
   65 |       for (auto e : fd) {
      |                     ^~
0_0_38715844_30038.cpp:65:21: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:116:37: note:   'std::end'
  116 |   template<typename _Tp> const _Tp* end(const valarray<_Tp>&) noexcept;
      |                                     ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:490:42: note:   'std::ranges::__cust::end'
  490 |     inline constexpr __cust_access::_End end{};
      |                                          ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_base.h:137:10: note:   'std::ranges::__cust_access::end'
  137 |     void end(const auto&) = delete;
      |          ^~~


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-06-29 11:42:16, Gzip enabled