The editorial solution for C# is not working .Can anybody let me know the issue


#1

For Input : int []ar = { 2147483647, -2147483648, -2147483648, 0, 1 };
Comment body goes hUnhandled Exception:
System.OverflowException: Value is too small.
at System.Math.Abs (Int32 value) [0x00000] in :0
at Solution.threeSumClosest (System.Collections.Generic.List1 A, Int32 B) [0x00000] in :0 at MAIN.Main (System.String[] args) [0x00000] in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value is too small. at System.Math.Abs (Int32 value) [0x00000] in :0 at Solution.threeSumClosest (System.Collections.Generic.List1 A, Int32 B) [0x00000] in :0
at MAIN.Main (System.String[] args) [0x00000] in :0 ere.