summaryrefslogtreecommitdiff
path: root/other/josephusK.cpp
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2023-02-13 16:46:09 +0100
committerMZuenni <michi.zuendorf@gmail.com>2023-02-13 16:46:09 +0100
commit54946c9945857e42b8eb4025a66d3344bd53f07c (patch)
tree083a4f68ac29dd31865474fcec4e0743520a13ea /other/josephusK.cpp
parentcd657bcfa53ee3b5b200820b9d5bad510d098920 (diff)
reformatted lineendings
Diffstat (limited to 'other/josephusK.cpp')
-rw-r--r--other/josephusK.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/josephusK.cpp b/other/josephusK.cpp
index 8d4df4d..5025f89 100644
--- a/other/josephusK.cpp
+++ b/other/josephusK.cpp
@@ -2,4 +2,4 @@
int josephus(int n, int k) {
if (n == 1) return 0;
return (josephus(n - 1, k) + k) % n;
-} \ No newline at end of file
+}