Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Really cool solution

  • Custom User Avatar

    Task is quite easy but i tottaly forgot Java specially "import java.util.function.BiFunction;"

  • Custom User Avatar

    Ok o will try to import and see

  • Custom User Avatar

    I recive 4 errors after i compile code. This errors are connected with func tiona that was providet in Java. Could you help pls.

    /Operarray.java:24: error: illegal start of type
    public static long[] operArray(... operator, long[] arr, long init) {
    ^
    /Operarray.java:24: error: ')' expected
    public static long[] operArray(... operator, long[] arr, long init) {
    ^
    /Operarray.java:24: error: expected
    public static long[] operArray(... operator, long[] arr, long init) {
    ^
    /Operarray.java:24: error: expected
    public static long[] operArray(... operator, long[] arr, long init) {
    ^
    4 errors