Class PE0056

    • Constructor Summary

      Constructors 
      Constructor Description
      PE0056()
      A simple constructor to set number and title.
    • Method Summary

      Modifier and Type Method Description
      java.lang.String solve()
      This method solves the given problem by running two nested loops to check all ten-thousand combinations of a and b.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PE0056

        public PE0056()
        A simple constructor to set number and title.
    • Method Detail

      • solve

        public java.lang.String solve()
        This method solves the given problem by running two nested loops to check all ten-thousand combinations of a and b.
        Returns:
        the maximum found digit sum