Skip to main content
Share Your Experience: Take the 2024 Developer Survey
2 votes

Minimum number of moves to solve "game of fifteen"

#include <stdio.h> #include <string.h> Don't use the C compatibility headers; prefer the C++ headers <cstdio>...
Toby Speight's user avatar
  • 75.7k

Only top scored, non community-wiki answers of a minimum length are eligible