You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using library function objects, determine whether a given int value is divisible by any element in a container of ints..
Question or Bug
The answer for English version is right. "Any element in a containner", definitely we should use any_of function. But in Chinese version ( 第五版), the exercise becomes:
使用标准库函数对象判断一个给定的int值是否能够被int容器中的所有元素整除。
The translation is wrong. But under that condition, all_of function should be used.
Just for a discussion.
The text was updated successfully, but these errors were encountered:
mmz-zmm
changed the title
14_43 Confustion with exercise description
14_43 Confusion with exercise description
Oct 13, 2019
mmz-zmm
changed the title
14_43 Confusion with exercise description
Exercise14.43: Confusion with the exercise description
Oct 13, 2019
Exercise information
Exercise 14.43
Question or Bug
The answer for English version is right. "Any element in a containner", definitely we should use
any_of
function. But in Chinese version ( 第五版), the exercise becomes:The translation is wrong. But under that condition,
all_of
function should be used.Just for a discussion.
The text was updated successfully, but these errors were encountered: