diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-10-28 14:03:20 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-10-28 14:03:20 +0100 |
| commit | ccc2b17ebb5b24893fc805e198efd0ac55871971 (patch) | |
| tree | e57bb954a50fc71396cd1a0064f8868e2e4ed0a8 /c++/lights_out.cpp | |
| parent | 408de5d11307a47429aabce4f115a8a4a15e7ec0 (diff) | |
| download | apps-lights_out-ccc2b17ebb5b24893fc805e198efd0ac55871971.tar.gz | |
Lights out
Diffstat (limited to 'c++/lights_out.cpp')
| -rw-r--r-- | c++/lights_out.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/c++/lights_out.cpp b/c++/lights_out.cpp index a1052bb..ae225d5 100644 --- a/c++/lights_out.cpp +++ b/c++/lights_out.cpp @@ -174,10 +174,15 @@ int solve_lights_out_3_x_3(std::array<int8_t, 3u*3u>& inp){ return rc; } +int solve_lights_out_5_x_5(std::array<int8_t, 5u*5u>& inp){ + int rc = solve_lights_out<5u,5u>(inp); + return rc; +} + int fake_main(){ - Mat<M,N> A; - constexpr size_t MN = M*N; - + Mat<M,N> A; + constexpr size_t MN = M*N; + Vec<M,N> b{ 1,0,1, 1,0,1, |
