| Problem | mosaic3 |
|---|---|
| User | CKCodeBreaker55 |
| Submission Time | 2025-12-22 20:58:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mosaic3.cpp: In function ‘std::vector<int> mosaic3(std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)’:
mosaic3.cpp:22:5: error: ‘function’ was not declared in this scope
22 | function<int(int,int)> get = [&](int i, int j) -> int
| ^~~~~~~~
mosaic3.cpp:2:1: note: ‘std::function’ is defined in header ‘<functional>’; did you forget to ‘#include <functional>’?
1 | #include "mosaic3.h"
+++ |+#include <functional>
2 | #include <vector>
mosaic3.cpp:22:25: error: expression list treated as compound expression in functional cast [-fpermissive]
22 | function<int(int,int)> get = [&](int i, int j) -> int
| ^
mosaic3.cpp:22:14: error: expected primary-expression before ‘int’
22 | function<int(int,int)> get = [&](int i, int j) -> int
| ^~~
mosai