0_0_20630509_27131.cpp: In function 'll power(int, int)':
0_0_20630509_27131.cpp:12:6: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
s %= MOD;
^
0_0_20630509_27131.cpp:12:6: error: in evaluation of 'operator%=(ll {aka long long int}, double)'
0_0_20630509_27131.cpp: In function 'int main()':
0_0_20630509_27131.cpp:25:7: error: 'i' was not declared in this scope
for (i = 1; i <= n;i++)
^
0_0_20630509_27131.cpp:29:6: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
s %= MOD;
^
0_0_20630509_27131.cpp:29:6: error: in evaluation of 'operator%=(ll {aka long long int}, double)'
|