由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
CS版 - Why this not working?
相关主题
Why I think the paper is junk, but it still gets good simulation result?说个mobicom的8g,呵呵
Re: [转载] 有关做研究ACM international programming contest results
ISCA results outwhy google cannot give me a result for the keywords
sigmod 05 results is out ..如何检测malicious clicks on search results? (转载)
有谁中WI没有?请教一个double的精度问题
另一道概率题,应该是个经典问题 (转载)Re: 请问大牛们leetcode上的Permutations II (转载)
anyone get result from IPDPS?java Class Vector
google的search result也可以顶了急问一个奇怪的sql server数据库问题
相关话题的讨论汇总
话题: std话题: why话题: set话题: s1话题: s2
进入CS版参与讨论
1 (共1页)
s*****n
发帖数: 994
1
std::set s1, s2;
// Fill in s1 and s2 with values
std::set result;
std::set_union(s1.begin(), s1.end(), s2.begin(), s2.end(), result.begin());
And why have to do this?
std::set s1, s2;
// Fill in s1 and s2 with values
std::set result;
std::set_difference(s1.begin(), s1.end(), s2.begin(), s2.end(),
std::inserter(result, result.end()));
S**I
发帖数: 15689
2
the location pointed by result.begin() is read only.

));

【在 s*****n 的大作中提到】
: std::set s1, s2;
: // Fill in s1 and s2 with values
: std::set result;
: std::set_union(s1.begin(), s1.end(), s2.begin(), s2.end(), result.begin());
: And why have to do this?
: std::set s1, s2;
: // Fill in s1 and s2 with values
: std::set result;
: std::set_difference(s1.begin(), s1.end(), s2.begin(), s2.end(),
: std::inserter(result, result.end()));

1 (共1页)
进入CS版参与讨论
相关主题
急问一个奇怪的sql server数据库问题有谁中WI没有?
单链表翻转有几种方法另一道概率题,应该是个经典问题 (转载)
How to insert text in LaTexanyone get result from IPDPS?
请教大家一个问题google的search result也可以顶了
Why I think the paper is junk, but it still gets good simulation result?说个mobicom的8g,呵呵
Re: [转载] 有关做研究ACM international programming contest results
ISCA results outwhy google cannot give me a result for the keywords
sigmod 05 results is out ..如何检测malicious clicks on search results? (转载)
相关话题的讨论汇总
话题: std话题: why话题: set话题: s1话题: s2