| Problem | hypeboy |
|---|---|
| User | maximushartanto |
| Submission Time | 2025-12-22 13:49:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
hypeboy.cpp: In lambda function:
hypeboy.cpp:22:31: error: there are no arguments to ‘pp’ that depend on a template parameter, so a declaration of ‘pp’ must be available [-fpermissive]
22 | cur += v[u] * pp(x);
| ^~
hypeboy.cpp:22:31: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
hypeboy.cpp:31:31: error: there are no arguments to ‘pp’ that depend on a template parameter, so a declaration of ‘pp’ must be available [-fpermissive]
31 | cur -= v[u] * pp(x);
| ^~
hypeboy.cpp: In instantiation of ‘main()::<lambda(auto:22&&, int, int)> [with auto:22 = main()::<lambda(auto:22&&, int, int)>&]’:
hypeboy.cpp:34:30: required from here
hypeboy.cpp:22:33: error: ‘pp’ was not declared in this scope
22 | cur += v[u] * pp(x);
|