MehemmedSettarli's blog

By MehemmedSettarli, history, 4 days ago, In English

Hi I have problem in codeforces https://mirror.codeforces.com/contest/2044/submission/296743549 https://mirror.codeforces.com/contest/2044/problem/E if you run this in c++ compiler test case is true but in codeforces it is false in codeforces it gives me 0 0 0 0 0 and I do not know why I submitted it 4 times and get same result wrong answer in test case 1 Please loot at my code and solve this problem

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By MehemmedSettarli, history, 5 weeks ago, In English

I have given 6 triangle indexes in 2D and I don't know how to calculate the area of this triangle example (1 1, 2 4, 3 2) are equal to 2.5. Can anyone help me, please? I am keen to write it in C++.

Full text and comments »