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_4468803_14810.cpp: In member function `T Prime<T>::eular(T, bool)':
0_0_4468803_14810.cpp:97: error: expected `;' before "i"
0_0_4468803_14810.cpp:97: error: `i' undeclared (first use this function)
0_0_4468803_14810.cpp:97: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_4468803_14810.cpp: In member function `void Prime<T>::factorization(T, std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, bool)':
0_0_4468803_14810.cpp:111: error: expected `;' before "i"
0_0_4468803_14810.cpp:111: error: `i' undeclared (first use this function)
0_0_4468803_14810.cpp:115: error: no matching function for call to `make_pair(<type error>, int&)'
0_0_4468803_14810.cpp: In function `void mergeFactor(T, T, std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&)':
0_0_4468803_14810.cpp:131: error: expected `;' before "i"
0_0_4468803_14810.cpp:132: error: `i' undeclared (first use this function)
0_0_4468803_14810.cpp:132: error: `j' undeclared (first use this function)
0_0_4468803_14810.cpp:136: error: no matching function for call to `make_pair(<type error>, <type error>)'
0_0_4468803_14810.cpp: In function `void DFS(std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, size_t, T)':
0_0_4468803_14810.cpp:192: error: expected `;' before "i"
0_0_4468803_14810.cpp:192: error: `i' undeclared (first use this function)
0_0_4468803_14810.cpp:193: error: `j' undeclared (first use this function)
0_0_4468803_14810.cpp:198: error: no matching function for call to `make_pair(<type error>, int&)'
0_0_4468803_14810.cpp: In function `T process()':
0_0_4468803_14810.cpp:218: error: expected `;' before "i"
0_0_4468803_14810.cpp:218: error: `i' undeclared (first use this function)
0_0_4468803_14810.cpp: In function `T process() [with T = u64]':
0_0_4468803_14810.cpp:234:   instantiated from here
0_0_4468803_14810.cpp:218: error: dependent-name ` std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' is parsed as a non-type, but instantiation yields a type
0_0_4468803_14810.cpp:218: note: say `typename  std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' if a type is meant
0_0_4468803_14810.cpp: In function `void mergeFactor(T, T, std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&) [with T = u64]':
0_0_4468803_14810.cpp:216:   instantiated from `T process() [with T = u64]'
0_0_4468803_14810.cpp:234:   instantiated from here
0_0_4468803_14810.cpp:131: error: dependent-name ` std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' is parsed as a non-type, but instantiation yields a type
0_0_4468803_14810.cpp:131: note: say `typename  std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' if a type is meant
0_0_4468803_14810.cpp: In function `void DFS(std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, size_t, T) [with T = u64]':
0_0_4468803_14810.cpp:221:   instantiated from `T process() [with T = u64]'
0_0_4468803_14810.cpp:234:   instantiated from here
0_0_4468803_14810.cpp:192: error: dependent-name ` std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' is parsed as a non-type, but instantiation yields a type
0_0_4468803_14810.cpp:192: note: say `typename  std::vector<std::pair<T, int>,std::allocator<std::pair<T, int> > >::size_type' if a type is meant
0_0_4468803_14810.cpp: In member function `void Prime<T>::factorization(T, std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, bool) [with T = u64]':
0_0_4468803_14810.cpp:127:   instantiated from `void mergeFactor(T, T, std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&) [with T = u64]'
0_0_4468803_14810.cpp:216:   instantiated from `T process() [with T = u64]'
0_0_4468803_14810.cpp:234:   instantiated from here
0_0_4468803_14810.cpp:111: error: dependent-name ` std::vector<T,std::allocator<_CharT> >::size_type' is parsed as a non-type, but instantiation yields a type
0_0_4468803_14810.cpp:111: note: say `typename  std::vector<T,std::allocator<_CharT> >::size_type' if a type is meant
0_0_4468803_14810.cpp: In member function `T Prime<T>::eular(T, bool) [with T = u64]':
0_0_4468803_14810.cpp:151:   instantiated from `void Combinatorics<T>::dfs_cycle(const std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, size_t, T) [with T = u64]'
0_0_4468803_14810.cpp:164:   instantiated from `T Combinatorics<T>::cycle(const std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, T, T, T) [with T = u64]'
0_0_4468803_14810.cpp:203:   instantiated from `void DFS(std::vector<std::pair<T, int>, std::allocator<std::pair<T, int> > >&, size_t, T) [with T = u64]'
0_0_4468803_14810.cpp:221:   instantiated from `T process() [with T = u64]'
0_0_4468803_14810.cpp:234:   instantiated from here
0_0_4468803_14810.cpp:97: error: dependent-name ` std::vector<T,std::allocator<_CharT> >::size_type' is parsed as a non-type, but instantiation yields a type
0_0_4468803_14810.cpp:97: note: say `typename  std::vector<T,std::allocator<_CharT> >::size_type' if a type is meant


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.000000(s) query 1, Server time : 2025-04-18 08:21:36, Gzip enabled