Problem | duckhunt14 |
---|---|
User | bribritt |
Submission Time | 2025-06-18 10:27:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt14.cpp: In lambda function:
duckhunt14.cpp:15:59: error: ‘m’ is not captured
15 | ans += (i?upper_bound(b.begin(),b.end(),x/i)-b.begin():m);
| ^
duckhunt14.cpp:12:19: note: the lambda has no capture-default
12 | auto cnt = [&a,&b](int x) {
| ^
duckhunt14.cpp:4:9: note: ‘int m’ declared here
4 | int n, m;
| ^