diff --git a/lab_3/21/Makefile b/lab_3/21_and_22/Makefile similarity index 100% rename from lab_3/21/Makefile rename to lab_3/21_and_22/Makefile diff --git a/lab_3/21/queens.cpp b/lab_3/21_and_22/queens.cpp similarity index 100% rename from lab_3/21/queens.cpp rename to lab_3/21_and_22/queens.cpp diff --git a/lab_3/21/queens.hh b/lab_3/21_and_22/queens.hh similarity index 100% rename from lab_3/21/queens.hh rename to lab_3/21_and_22/queens.hh diff --git a/lab_3/21/test.cpp b/lab_3/21_and_22/test.cpp similarity index 100% rename from lab_3/21/test.cpp rename to lab_3/21_and_22/test.cpp diff --git a/lab_3/22.md b/lab_3/22.md new file mode 100644 index 0000000..4f8dcf1 --- /dev/null +++ b/lab_3/22.md @@ -0,0 +1,3 @@ +# How does the performance of your code scale as a function of k? +It seems to scale exponentially but as it does there are bigger and bigger spikes. I think this is because i use a dynamic array that somethimes needs to be moved a lot. +See 22.png for a graph. \ No newline at end of file diff --git a/lab_3/22.png b/lab_3/22.png new file mode 100644 index 0000000..79e17e8 Binary files /dev/null and b/lab_3/22.png differ