×

Loading...

回答一下这个题目吧,跟那个差不多哩,让受苦受难的兄弟们共享。。。

Implement the following generic Standard Library function defined in <algo>:
template <class Src>
bool equal (Src I, Src j, Src p);
// Returns true iff the subsequence i…(j-1) is the same
// as the subsquence p…(p+1)where n = i - j.
// Invariant: no elements are changed.
//---------------------------
Report

Replies, comments and Discussions: