Beautiful Quadruples

  • + 0 comments

    Once more, Java "skeleton code" (and I guess the ones for some other languages as well) uses wrong type. int is too small to handle all possible values.

    E.g. for 2997 2998 2999 3000 result is 3380890906299.