Problem | dragonfly |
---|---|
User | mofumofu |
Submission Time | 2025-07-08 22:25:49 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dragonfly.cpp: In function ‘int main()’:
dragonfly.cpp:315:15: error: no match for call to ‘(main()::<lambda(auto:22, int, int)>) (int&)’
315 | activate(v);
| ^
dragonfly.cpp:285:18: note: candidate: ‘template<class auto:22> main()::<lambda(auto:22, int, int)>’
285 | auto activate = [&](auto self, int u, int time) -> void{
| ^
dragonfly.cpp:285:18: note: template argument deduction/substitution failed:
dragonfly.cpp:315:15: note: candidate expects 3 arguments, 1 provided
315 | activate(v);
| ^