summaryrefslogtreecommitdiff
path: root/math/nimm.cpp
diff options
context:
space:
mode:
authorPaul Jungeblut <paul.jungeblut@gmail.com>2016-10-10 21:39:35 +0200
committerPaul Jungeblut <paul.jungeblut@gmail.com>2016-10-10 21:39:35 +0200
commitc245ad9089aeb8c7fc7683b6a8a20d04a74818f4 (patch)
tree8602ce316a40dbf77d98fee78ea112cbc730c3d8 /math/nimm.cpp
parentb208caff67c66cfa3e53da98c6d33c2c051c2b4e (diff)
Typesetting math section.
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;
-}