Problem workload
User zhangdi
Submission Time 2025-08-25 14:09:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

workload.cpp:4:11: error: ‘M’ does not name a type
4 | constexpr M = 1000000007;
| ^
workload.cpp: In function ‘long long int f(long long int, long long int)’:
workload.cpp:14:12: error: ‘M’ was not declared in this scope
14 | sum %= M;
| ^