Скоро Codeforces Round 1133 (Div. 1, Div. 2)! Регистрация здесь. ×

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

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

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
  • Проголосовать: не нравится

»
10 лет назад, скрыть # |
 
Проголосовать: нравится +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.