Problem | primefactorization |
---|---|
User | dumgod |
Submission Time | 2025-03-20 15:26:33 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
primefactorization.cpp: In function ‘int main()’:
primefactorization.cpp:9:26: error: no match for ‘operator==’ (operand types are ‘std::map<long long int, long long int>::iterator’ {aka ‘std::_Rb_tree_iterator<std::pair<const long long int, long long int> >’} and ‘<unresolved overloaded function type>’)
9 | if(toilet.find(2)==toilet.end){
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
| | |
| | <unresolved overloaded function type>
| std::map<long long int, long long int>::iterator {aka std::_Rb_tree_iterator<std::pair<const long long int, long long int> >}
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from primefactorization.cpp:1:
/usr/include/c++/9/bits/regex.h:1026:5: note: candidate: ‘template