Vanya and Triangles

Revision en1, by Hepic_Antony_Skarlatos, 2015-06-18 22:24:00

I submited in the D problem a O(n^3) logic because of 4 seconds,but it took TLE. Here it is:

In the comments I saw a source similar to me: that passed.

What is wrong with mine?


  Rev. Lang. By When Δ Comment
en1 English Hepic_Antony_Skarlatos 2015-06-18 22:24:00 312 Initial revision (published)