Problem uniquenumbers
User DoubleShaurya
Submission Time 2024-02-06 07:21:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:12:13: error: invalid operands of types ‘long long int’ and ‘__gnu_cxx::__promote_2<int, int, double, double>::__type’ {aka ‘double’} to binary ‘operator%’
12 | s.insert(A%pow(10, 50));
| ~^~~~~~~~~~~~
| | |
| | __gnu_cxx::__promote_2<int, int, double, double>::__type {aka double}
| long long int