-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Петров, 5, 15, 16, 17 #69
base: master
Are you sure you want to change the base?
Conversation
left = mid + 1 | ||
|
||
|
||
def test(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тесты в отдельном файле с помощью unittest, пожалуйста
и консольный интерфейс сделайте, пожалуйста, к каждой реализации.
9 надо поправить |
Задача №20. CF: http://codeforces.com/contest/525/submission/14836679 |
if len(a) < len(b): | ||
a, b = b, a | ||
x = [[], [], []] | ||
global i_shift |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
global плохо использовать, из-за изменяемого состояния где-то сбоку понимание кода усложняется
плохой нейминг
9+ разрулите, пожалуйста, мерж конфликт |
Апдейт 5 задачи с другого PR. |
heapq.heappush(q, (d[b], b)) | ||
res = {} | ||
for i in range(len(d)): | ||
res[self.id_to_v[i]] = d[i] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
нужен сам путь, а не длина
5+ |
Обновил 16. Добавьте, пожалуйста, в таблицу баллы за 5, 15, и 17. |
добавил |
разрулите, пожалуйста, мерж конфликт, как-минимум файлы должны в папке фамилии |
No description provided.