-
Notifications
You must be signed in to change notification settings - Fork 0
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
2 1 #2
base: master
Are you sure you want to change the base?
2 1 #2
Conversation
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.
Принято.
У такого человека оптимального решения меньше сила чем в жадном,тогда заметим, | ||
что по построению жадного решения человек должен быть с меньшей силой, тогда | ||
это противоречит построению дажного решению=> неверное=> жадное является | ||
оптимаьным решением. |
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.
👍
std::vector<Atletics> v; | ||
while (std::cin >> weight >> strenght) { | ||
v.push_back(Atletics(weight, strenght)); | ||
if (!std::cin) break; |
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.
Это должно быть лишним
No description provided.