summaryrefslogtreecommitdiff
path: root/c++/lights_out.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/lights_out.cpp')
-rw-r--r--c++/lights_out.cpp11
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,