Решение на Пресичания от Мартин Богданов

Обратно към всички решения

Към профила на Мартин Богданов

Резултати

  • 0 точки от тестове
  • 0 бонус точки
  • 0 точки общо
  • 0 успешни тест(а)
  • 20 неуспешни тест(а)

Код

package main
type Intersectable interface{
Intersect(f float64) bool
}

Лог от изпълнението

# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]
# _/tmp/d20181122-57-ajcvc2 [_/tmp/d20181122-57-ajcvc2.test]
./solution_test.go:10:14: undefined: NewTriangle
./solution_test.go:20:14: undefined: NewTriangle
./solution_test.go:30:14: undefined: NewTriangle
./solution_test.go:40:14: undefined: NewTriangle
./solution_test.go:50:14: undefined: NewTriangle
./solution_test.go:60:14: undefined: NewTriangle
./solution_test.go:70:10: undefined: NewQuad
./solution_test.go:81:10: undefined: NewQuad
./solution_test.go:92:10: undefined: NewQuad
./solution_test.go:103:10: undefined: NewQuad
./solution_test.go:103:10: too many errors
FAIL	_/tmp/d20181122-57-ajcvc2 [build failed]

История (1 версия и 0 коментара)

Мартин обнови решението на 21.11.2018 14:40 (преди 9 месеца)

+package main
+
+type Intersectable interface{
+ Intersect(f float64) bool
+}
+