Блог пользователя thinkcentre_ns

Автор thinkcentre_ns, история, 8 лет назад, По-английски

Hey there!

I wanted to ask that in the problem: 660D - Количество параллелограммов , Shouldn't the answer for the below test-case be zero (but my A.C code gives one) ?

TEST-CASE:
4
0 0
0 20
0 5
0 15

  • Проголосовать: нравится
  • -11
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

It is guaranteed in the problem statement that no three of the given points lie on the same line, and the test case you made violates that condition.