Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

3SUM problem

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 0.65 sec, absolute running time: 0.14 sec, cpu time: 0 sec, memory peak: 3 Mb, absolute service time: 0.8 sec 
fork mode |  history  | discussion
5 , 4 , 3 ---> 25 = 16 + 9
13 , 12 , 5 ---> 169 = 144 + 25
10 , 8 , 6 ---> 100 = 64 + 36
17 , 15 , 8 ---> 289 = 225 + 64
15 , 12 , 9 ---> 225 = 144 + 81

25 = 9 + 16
169 = 25 + 144
100 = 36 + 64
289 = 64 + 225
225 = 81 + 144