Vanya and Triangles

Правка en1, от 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: http://codeforces.com/contest/552/submission/11650074

In the comments I saw a source similar to me: http://codeforces.com/contest/552/submission/11648192 that passed.

What is wrong with mine?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Hepic_Antony_Skarlatos 2015-06-18 22:24:00 312 Initial revision (published)