spoj 2905. Not a Triangle | NOTATRI

simple math problem. although n^2 logn algo is obvious this question can also be solved using an n^2 algo which is better one.

https://gist.github.com/eightnoteight/ea86026367dd8a50f3ee

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s