Problem nis
User Pan
Submission Time 2023-09-11 20:29:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nis.cpp: In function ‘int main()’:
nis.cpp:87:29: error: invalid operands of types ‘int’ and ‘double’ to binary ‘operator%’
87 | cout << t.query(1, high)%(1e9+7) << endl;
| ~~~~~~~~~~~~~~~~^~~~~~~~
| | |
| int double