summaryrefslogtreecommitdiff
path: root/math/nimm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/nimm.cpp')
-rw-r--r--math/nimm.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/math/nimm.cpp b/math/nimm.cpp
deleted file mode 100644
index 0b2d0c0..0000000
--- a/math/nimm.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-// Laufzeit: O(#game)
-bool WinNimm(vector<int> game) {
- int result = 0;
- for(int s: game) result ^= s;
- return s > 0;
-}