Problem construct
User John
Submission Time 2025-01-18 11:51:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

construct.cpp: In function ‘int main()’:
construct.cpp:7:25: error: invalid operands of types ‘long long int’ and ‘double’ to binary ‘operator%’
7 | cout << (int)pow(n, m) % (1e9+7);
| ~~~~~~~~~~~~~~ ^ ~~~~~~~
| | |
| long long int double