H****r 发帖数: 2801 | 1
甚至写成这样都可以编译运行啊(VS 2010):
#include
class M{
public:
int i;
public:
M(){ std::cout << "default constructor" << std::endl;}
M(int ii):i(ii){ std::cout << "constructor"<< std::endl;}
M(M& mm):i(mm.i){ std::cout << "copy constructor"<< std::endl;}
};
int main()
{
M mm(M(1));
} |
|
A**u 发帖数: 2458 | 2 照书编了一个,
结果总是不对,请大牛看看问题出在哪里呢
#include
#include
#include
pthread_mutex_t region_mutex = PTHREAD_MUTEX_INITIALIZER;
sem_t items;
int b; /* buffer size = 1; */
void add_buffer(int i){
b = i;
}
int get_buffer(){
return b ;
}
void *producer(void*)
{
int i = 0;
std::cout <<"I'm a producer" << std::endl;
while (1) {
pthread_mutex_lock(®ion_mutex);
add_buffer(i);
pthread_mutex_unlock(®ion_mutex);
sem_post(&ite... 阅读全帖 |
|
x******a 发帖数: 6336 | 3 是不是第二个while是错的,请问怎么改?
#include
#include
#include |
|
g***l 发帖数: 2753 | 4 老大的这个方法是可行的。可是又出现新的问题了。
我定义了如下接口:
template
dec_base* new_object()
{
return new T;
}
typedef dec_base* (*ObjectGenerator)();
static std::map generator_map;
template
void register_dec_handle(int tag_id)
{
generator_map.insert(make_pair(tag_id,new_object));
}
如果把以上代码跟 main() 代码放在一个main.cpp里面,编译链接都没有问题。但是如
果把以上代码放在另外一个单独的sample.cpp里面,在另外一个main.cpp中的main()调用
register_dec_handle()的时间,gcc就会报告
g++ main.cpp sample.cpp -o sample.exe
main.cpp: 在函数‘int main(... 阅读全帖 |
|
l********a 发帖数: 1154 | 5 不太了解你的需求
如果只是针对int类型有特殊操作,其他类型都调用模板函数,你可以明确对于int的set
函数(即使有同名template set() 存在),我目前项目有个类似的情况就
是这样解决的.
网上说这跟c++的函数名称搜索次序有关,我忘记在哪里看到的了
测试代码:
void set(int t)
{
std::cout << "print from normal function 1\n" << t << std::endl;
}
void set(string t)
{
std::cout << "print from normal function 2\n" << t.c_str() << std::endl;
}
template
void set(T t)
{
std::cout << "print from template function\n" << t << std::endl;
}
int main()
{
int it = 10;
float ft = 10.0;
double dt = 20.53;
... 阅读全帖 |
|
G*****9 发帖数: 3225 | 6 I am using AIX. I cannot generate .so file
Code:
#include
using namespace std;
#ifdef __cplusplus
extern "C" { // only need to export C interface if
// used by C++ source code
#endif
bool Myfunction( );
#ifdef __cplusplus
}
#endif
bool Myfunction( )
{
std::uniform_real_distribution U(0.0, 1.0);
std::mt19937_64 rnd;
rnd.seed(1);
return true;
}
command: g++ -std=c++0x -maix64 -c -Wall -ansi -g -fPIC test.cc
Error:
test.cc: In function 'bool Myfunctio... 阅读全帖 |
|
x******a 发帖数: 6336 | 7 接着请教: 下面两个expressions,第一个生成的vec的element都一样,第二个生成的
element是随机的.除了用getNormal(std::mt19937&), 有什么办法使得第一个生成的是
随机的?
1. std::fill_n(std::back_inserter(vec), 10, getNormal());
2. for (auto i = 0; i != 10; ++i) vec.push_back(getNormal());
double getNormal()
{
std::random_device rd;
std::mt19937 gen(rd());
std::normal_distribution<> normal(0, 1);
return normal(gen);
} |
|
x******a 发帖数: 6336 | 8 void testingSharedPtr1(){
boost::shared_ptr > v1(new std::vector(100));
std::cout<<(*v1)[0]<<"n";
boost::shared_ptr > v2=v1;
v2->push_back(9.0);
std::cout<<(*v1).size()<<"n";
std::cout<<(*v1)[100]<<"n";
}; |
|
k**********g 发帖数: 989 | 9
Wrong code, not sure why it pass compilation and/or doesn't crash. Doesn't
compile on my machine.
If you want them to point to strings, use
int main()
{
const char* p[3] = { "a", "b", "c" };
std::cout << p[0] << std::endl;
std::cout << p[1] << std::endl;
std::cout << p[2] << std::endl;
return 0;
}
Notice double quote, because each is a string literal. |
|
w*****1 发帖数: 473 | 10 Thank you very much for your help!
我改了CODE如下: 现在已运行了1小时还没有停止,大家能否帮我看看? 谢谢!
data parents; set csgl.individs;
keep i QTP pedid dgeno;
if i <=2;
run;
option symbolgen mprint mlogic;
%macro new(mudaa=, mudab=, mudbb=, de=, dq=, indata=, outdata=);
data &outdata; set &indata;
lnl=log(((1-&dq)**2)*(1/sqrt(2*constant('PI'))*&de)*exp(-0.5*(((QTP-&mudaa)/
&de)**2))+
2*&dq*(1-&dq)*(1/sqrt(2*constant('PI'))*&de)*exp(-0.5*(((QTP-&mudaa)/
&de)**2))+
(&dq**2)*(1/sqrt(2*constant('PI'))*&de)*... 阅读全帖 |
|
d**********2 发帖数: 684 | 11 几点评论:
1 主要是大陆/台湾华女。大马等华女很传统贤惠。
2 外F是主要原因。但根本讲是大陆/台湾华女自我保护意识不强,对美国社会缺乏足
够的认识。
3 HIV感染还是相对比较罕见。
4 但更应该堤防的是HPV(人乳头瘤病毒)感染,HPV感染占美国STD中的一半,这类感
染潜伏期很长,可以诱发女性宫颈癌,对女性比男性的危害更大。男性感染者没有任何
症状。统计表明这美国青少年25% 有STD,所以说无保护的外F还是很危险的。
5 很多STD感染无法痊愈,终身带病毒。
5 据我所知,除了WHITE/BLACK/BROWN TRASH,受过教育的美国人建立稳定的性伴侣
的时候,双方会公开自己的性史,只要都要去医院拿个STD报告。外F有几个人有这个脑
子?
6 所以说,接盘外F或F外的时候,首先要确认其有无无保护的
外F或F外行为,如果有,要查STD及长期观察。这个是很有必要的。
7 无保护的外F们,当你们的粘膜被搞得很爽的时候,很可能就是各种病毒侵入的时候
。当你们急嗷嗷地张开大腿的时候,其后果可能是终身的,甚至影响下一代。
F
乱群交的也特别多, 所以粘膜容易破 ...
了. |
|
d**********2 发帖数: 684 | 12 几点评论:
1 主要是大陆/台湾华女。大马等华女很传统贤惠。
2 外F是主要原因。但根本讲是大陆/台湾华女自我保护意识不强,对美国社会缺乏足
够的认识。
3 HIV感染还是相对比较罕见。
4 但更应该堤防的是HPV(人乳头瘤病毒)感染,HPV感染占美国STD中的一半,这类感
染潜伏期很长,可以诱发女性宫颈癌,对女性比男性的危害更大。男性感染者没有任何
症状。统计表明这美国青少年25% 有STD,所以说无保护的外F还是很危险的。
5 很多STD感染无法痊愈,终身带病毒。
5 据我所知,除了WHITE/BLACK/BROWN TRASH,受过教育的美国人建立稳定的性伴侣
的时候,双方会公开自己的性史,只要都要去医院拿个STD报告。外F有几个人有这个脑
子?
6 所以说,接盘外F或F外的时候,首先要确认其有无无保护的
外F或F外行为,如果有,要查STD及长期观察。这个是很有必要的。
7 无保护的外F们,当你们的粘膜被搞得很爽的时候,很可能就是各种病毒侵入的时候
。当你们急嗷嗷地张开大腿的时候,其后果可能是终身的,甚至影响下一代。
F
乱群交的也特别多, 所以粘膜容易破 ...
了. |
|
s*********e 发帖数: 5245 | 13 目前米国有22%的人有STD,每年有5%的新增感染。
More than 25 diseases are primarily spread through sexual activity.The
trends for each disease vary considerably, but together these infections
comprise a significant public health problem.1
In the United States, more than 65 million people are currently living with
an incurable sexually transmitted disease (STD). An additional 15 million
people become infected with one or more STDs each year, roughly half of whom
contract lifelong infections. Yet, STDs are one of the ... 阅读全帖 |
|
D**********r 发帖数: 602 | 14 Although human immunodeficiency virus (HIV) rates are increasing rapidly in
Asia, a full understanding of the extent of other sexually transmitted
diseases (STDs) in many of these areas is lacking. There have been anecdotes
of rising rates of STDs in Mongolia, a country thus far relatively
unaffected by HIV. To further the understanding of STDs, a prevalence study
was conducted in the STD clinic in Ulaanbaatar, the capital and largest city
in Mongolia. Among 260 patients, the prevalence of gonor... 阅读全帖 |
|
O******5 发帖数: 483 | 15 #include
int main(int argc, char * argv[]){
double xiaxianyue;
double hairi;
std::cout << "xiaxianyue:";
std::cin >> xiaxianyue;
std::cout << "hairi:";
std::cin >> hairi;
double dsb = xiaxianyue + hairi;
std::cout << dsb << "\n";
return 0;
}
|
|
O******5 发帖数: 483 | 16 #include
int main(int argc, char * argv[]){
char sb;
std::cin >> sb;
switch (sb) {
case 'x':
std::cout << "xiaxianyue is a sb!\n";
break;
case 'l':
std::cout << "laocat is a sb!\n";
break;
case 'm':
std::cout << "mifepristone is a sb!\n";
break;
default:
std::cout << "You are a sb!\n";
break;
}
return 0;
} |
|
S******D 发帖数: 8437 | 17 #include
int main(int argc, char * argv[]){
std::cout << "xiaxianyue: I love CHAO_CHUI! I always have one more than
last time!\n\n";
std::cout << "How many CHAO_CHUI did xiaxianyue have?\n\n";
std::cout << "Please enter a number: \n\n";
int sex;
std::cin >> sex;
int times = 1;
int CHAO_CHUI = 0;
while (times <= sex) {
CHAO_CHUI = CHAO_CHUI + times;
++times;
}
std::cout << "xiaxianyue: I had " << CHAO_CHUI << " CHAO_CHUI!" <<"\n";
return 0;
} |
|
x****n 发帖数: 321 | 18 为什么
[在 waifischeap (炎黄子孙) 的大作中提到:]
:Over the course the study, Hahm unmasked some myths common about Asian
:Americans. She said, “There’s a perception that Asian Americans in
:particular aren’t practicing sexually risky behaviors. But we found that
:Asian American young women are at risk of high STDs. For instance, Asian
:American women had a higher prevalence of STDs than White women in both
1995 (10.4% vs. 7.7) and 2001 (13.5% vs. 8.3%). The incidence of STDs (not
:diagnosed with STDs in 1... 阅读全帖 |
|
i********s 发帖数: 133 | 19 #include
int main(int argc, char **argv)
{
int num;
std::cout << "enter the size of the square:";
std::cin >> num;
std::cout << std::endl << "size =" << num << std::endl;
int (*array)[num] = new (int[num][num]);
int t = 0;
for(unsigned i=0; i
for(unsigned j=0; j
array[i][j] = ++t;
unsigned leftX = 0;
unsigned leftY = 0;
unsigned rightX = num;
unsigned rightY = num;
while(leftX <= rightX)
{ |
|
x*****m 发帖数: 29 | 20 p.s. 看来之前那个题目说错话了, 就是觉得这个框架挺容易理解记忆的,既不是最优也不是最简单也不是最**最&&的,大
家轻拍..轻拍...
刚刚研究出来的~ 觉得还挺直观挺好记忆的~
Combination(s, start, k) : 从串s的位置start开始选k个元素
从位置1开始,分成选位置1和不选位置1的
然后递归调用,位置2,继续分成选位置2和不选位置2的...依次类推
如果剩下的和k相等,或者k==0了,就选择完毕了可以输出一个combination了
my code:
void Combination(std::string s, int start, int k) {
std::string temp;
int remaining = s.size() - start;
if (remaining == k) {
std::cout << s << std::endl;
return;
}
if (k == 0) {
std::cout << s.erase(start, |
|
c**********e 发帖数: 2007 | 21 typedef std::map MapType;
MapType theMap;
Referring to the code sample above, which one of the following blocks of
code displays the string contents of the entire map theMap?
a) MapType::iterator it = theMap.first();
while(it!= theMap.end()) std::cout << it;
b) MapType::iterator it = theMap.begin();
while(it!= theMap.end()) std::cout << theMap[it];
c) MapType::iterator it = theMap.begin();
while(it!= theMap.end()) std::cout << (*it++).second;
d) MapType::iterator it = theMap |
|
t*****j 发帖数: 1105 | 22 char name[1000];
int age;
for (;;) {
std::cout << "Name: ";
std::cin >> name;
std::cout << "Age: ";
std::cin >> age;
std::cin.ignore(INT_MAX, '\n');
}
这最后一句 ignore到底是干嘛的,说是为了忽略非数字字符?干嘛要加这句?请讲解
下,谢谢! |
|
s*******f 发帖数: 1114 | 23 //get all integer positive solution for math function like 5x + 6y + z = 88;
//seems coefficient should be positive, otherwise, bruteforce?
void GetAllCombine_(int in[], int len, int sum, std::vector
> *out){
static std::vector v;
if (len < 1){
if (sum == 0){
out->push_back(v);
}
return;
}
for (int i = 0; i * in[0] <= sum; ++i){
v.push_back(i);
GetAllCombine_(in + 1, len - 1, sum - i * in[0], out);
... 阅读全帖 |
|
h*****g 发帖数: 312 | 24 You have to implement a function that needs to be able to write to both
standard output (typically the console screen) and files. Which one of the
following function declarations satisfies that need?
A.
void print(std::ostream &os);
B.
void print(std::ofstream is);
C.
void print(std::cout);
D.
void print(std::istream is);
E.
void print(std::istream &is);
问下,B 为啥不行呢?A 可以输出到文件吗?网上没找到答案~~~ |
|
d*******r 发帖数: 208 | 25 用sort的方法有两个缺点
1. tie break
2. overflow
how about use raw permutation ?
code:
void findMax(const std::vector& prefix, const std::vector& exist,
int& max) {
if (exist.empty()) {
int cur = getNum(prefix);
if (cur > max) {
max = cur;
}
} else {
for (std::vector::const_iterator i=exist.begin(); i!=exist.end(
); ++i) {
std::vector new_pre = prefix;
new_pre.push_back(*i);
std::vector new_ex(... 阅读全帖 |
|
e********r 发帖数: 2352 | 26 在本地的考试中心预约的上机考试。考试有三个部分,1.数学题,2.给出一种新的编程
语言的语法,回答相应问题,3. Programming Test 要求速度和准确性both important
Programming test 答得不好,肯定不行了,把面试题发上来让大家做做。做了3个半小
时,快累死了。
数学题基本上就是脑筋急转弯,举几个例子
1. You have three kinds of magazines, all but two are Times, all but two are
Science, all but two are Nature. How many magazines in total do you have?
3 books
2. Only one of the answers is true
A. All of the below are true
B. All answers are true
C. One of the above is true
D. All of the above are true
E. None of the above ar... 阅读全帖 |
|
c*****e 发帖数: 737 | 27 1 #include
2
3 class A
4 {
5 public:
6 A(int v_) : v(v_) {};
7 virtual void foo() {std::cout << "A:" << v << "\n";}
8 int v;
9 };
10
11 class B : public A
12 {
13 public:
14 B(int w_, int z_):w(w_), A(z_){};
15 virtual void foo() {std::cout << "B:" << w << "\n";}
16 int w;
17 };
18
19 class C : public A
20 {
21 public:
22 C(int k): A(k){};
23 v... 阅读全帖 |
|
h*****f 发帖数: 248 | 28 #include
struct Node {
int value;
Node* pLeft;
Node* pRight;
};
int findMaxSubTree(Node* pNode, int& maxSoFar) {
if (!pNode) return 0;
int leftSum = findMaxSubTree(pNode->pLeft, maxSoFar);
int rightSum = findMaxSubTree(pNode->pRight, maxSoFar);
int currentSum = pNode->value + std::max(0, leftSum) + std::max(0,
rightSum);
maxSoFar = std::max(currentSum, maxSoFar);
return currentSum;
}
int main() {
Node node4 = {4, NULL, NULL};
Node node3 = {3, NULL, NULL... 阅读全帖 |
|
M********5 发帖数: 715 | 29 int combCount(std::string& str, std::set& dict){
if( str.length()==0 )
return 1;
int count = 0;
for(int i=1; i<=str.length(); i++){
std::string first = str.substr(0,i);
if( i==str.length() ){
if( dict.find(first)==dict.end() )
return -1;
else
return 1;
}
if( dict.find(sub)!=dict.end() ){
std::string remaining = str.substr(i);
int sub_count = com... 阅读全帖 |
|
w*r 发帖数: 72 | 30 two semaphores 就够了吧
#include
#include
#include
class sem {
boost::mutex guard;
int c ;
public:
sem() : c(0) {}
void V ( int n = 1 ) {
boost::mutex::scoped_lock lock(guard);
c = c + n;
}
void P ( int n = 1) {
while ( c < n ) ;
boost::mutex::scoped_lock lock(guard);
c = c - n;
}
};
sem semh;
sem semo;
class H{
public:
void operator()() {
std::cout << "create H thread ... 阅读全帖 |
|
w*r 发帖数: 72 | 31 two semaphores 就够了吧
#include
#include
#include
class sem {
boost::mutex guard;
int c ;
public:
sem() : c(0) {}
void V ( int n = 1 ) {
boost::mutex::scoped_lock lock(guard);
c = c + n;
}
void P ( int n = 1) {
while ( c < n ) ;
boost::mutex::scoped_lock lock(guard);
c = c - n;
}
};
sem semh;
sem semo;
class H{
public:
void operator()() {
std::cout << "create H thread ... 阅读全帖 |
|
r*c 发帖数: 167 | 32 //矩阵求连接图
#include
#include
#include
#include
#include
using namespace std;
enum ColorEnum{White, Black};
struct Cell
{
int row;
int col;
Cell(int r, int c): row(r), col(c){}
};
struct Cluster{
bool visited;
vector vec;
Cluster(int i, int j) : visited(false) {
vec.push_back(Cell( i, j));
}
bool isWithinRange(const Cell& a, const Cell& b){
return abs(a.row - b.row) <= 1 ... 阅读全帖 | |
|
r*c 发帖数: 167 | 33 //矩阵求连接图
#include
#include
#include
#include
#include
using namespace std;
enum ColorEnum{White, Black};
struct Cell
{
int row;
int col;
Cell(int r, int c): row(r), col(c){}
};
struct Cluster{
bool visited;
vector vec;
Cluster(int i, int j) : visited(false) {
vec.push_back(Cell( i, j));
}
bool isWithinRange(const Cell& a, const Cell& b){
return abs(a.row - b.row) <= 1 ... 阅读全帖 | |
|
s******d 发帖数: 424 | 34 5个里面选三个
#include
#include
#include
#include
#include
int main()
{
int values[] = { 1, 2, 3, 4, 5};
int elements[] = { 1, 1, 1, 0, 0};
const size_t N = sizeof(elements)/sizeof(elements[0]);
assert(N == sizeof(values)/sizeof(values[0]));
std::vector selectors(elements, elements + N);
int count = 0;
do
{
std::cout << ++count << ": ";
for (size_t i = 0; i < selectors.size(); ++i)
{
if (selectors[i])
{
... 阅读全帖 |
|
w********s 发帖数: 1570 | 35 #include "stdafx.h"
#include |
|
w********s 发帖数: 1570 | 36 #include "stdafx.h"
#include |
|
w********s 发帖数: 1570 | 37 没人看出bug么?
class MyString {
private:
char* _data;
size_t _len;
void _init_data(const char *s) {
_data = new char[_len+1];
memcpy(_data, s, _len);
_data[_len] = '\0';
}
public:
MyString() {
_data = NULL;
_len = 0;
}
MyString(const char* p) {
_len = strlen (p);
_init_data(p);
}
MyString(const MyString& str) {
_len = str._len;
_init_data(str._data);
std::cout << "Copy Constructor is called! source: " << str._data << std:
:endl;
}
MyStri... 阅读全帖 |
|
e*******s 发帖数: 1979 | 38 以下这段代码 把set的iterator直接传递到parameter为reference的函数里
报错
test.cpp: In function 'int main()':
test.cpp:110: error: invalid initialization of reference of type 'std::
string&' from expression of type 'const std::basic_string
traits, std::allocator >'
test.cpp:67: error: in passing argument 1 of 'void foo(std::string&)'
make: *** [a] Error 1
如果修改代码
1. void foo(string &s) --> void foo(string s)
2. string s = *it; foo(s);
3. void foo(string &s) --> void foo(cons... 阅读全帖 |
|
s***c 发帖数: 639 | 39 得把bucket变大,这下可以过了
class Solution {
public:
int maximumGap(vector &num) {
unordered_set hh;
int res(0);
int vmax(-1), vmin(INT_MAX);
for(int i=0; i
hh.insert(num[i]);
vmax=std::max(vmax, num[i]);
vmin=std::min(vmin, num[i]);
}
int hsz=hh.size();
if(hsz<=1) return res;
double dbin = double(vmax-vmin)/(hsz-1);
vector minvec(hsz, INT_MAX), maxvec(hs... 阅读全帖 |
|
z***y 发帖数: 73 | 40 void printPath2(TreeNode* root)
{
if ( !root ) return;
std::stack st;
std::stack parents;
std::string prefix;
st.push(root);
while ( !st.empty() )
{
TreeNode* p = st.top();
st.pop();
if ( !p->left && !p->right ) {
std::cout << prefix << p->val << std::endl;
if ( st.empty() ) break;
while ( !parents.empty() && st.top() != parents.top()->right ) {
parents.pop();
... 阅读全帖 |
|
g****i 发帖数: 2269 | 41 德州,6周顺产,8周剖腹产,以剖腹产为例:
8周的short term disability (STD):第一周用paid time off(PTO,我们的假期是根
据平常上班小时数乘以一个系数攒起来的,工作年限越多系数越高,所有的假期包括病
假,节假日都从这里出),其实就是自己攒的PTO小时数乘以一周应该工作的小时数。2
-4周是100% STD,全由公司出。5-8周是60% STD(全由公司出),可以用自己攒的PTO
凑够100%,也可以就领60%。总结就是1周PTO,3周100%,4周60%。根据工作年限和级别
100%和60%有区别,比如同是8周,我的上司工作比我时间长,级别也高,她100%的时间
比我长,但是总的8周是一样的,但她的100%的pay的时间比我长。
8周后叫做bonding time,需要在STD结束前申请,一生完孩子不可以申请。需要老板同
意,HR批准(8周的STD不需要老板同意,这是公司的政策规定)。这段时间只能用PTO
了,如果PTO用完了,就没有pay的leave了。 |
|
g****i 发帖数: 2269 | 42 德州,在本公司工作2年,公司有3万员工。剖腹产给8周的short term disability:
产前2周内(以预产期算)也可以休息,但是我们的hr的benefits是外包的,一向臭名
昭著,我打电话了5次,得到5个不同的答案。问周围的人也都说是headache,谁也说不
清怎么算。后来我反正家里热(爸妈不喜欢空调,除非很热了才开,德州的9月份还是
很热的)就坚持上班到最后一天,所以产前就没休。
8周的short term disability (STD):第一周用paid time off(PTO,我们的假期是根
据平常上班小时数乘以一个系数攒起来的,工作年限越多系数越高,所有的假期包括病
假,节假日都从这里出),其实就是自己攒的PTO小时数乘以一周应该工作的小时数。2
-4周是100% STD,全由公司出。5-8周是60% STD(全由公司出),可以用自己攒的PTO
凑够100%,也可以就领60%。总结就是1周PTO,3周100%,4周60%。根据工作年限和级别
100%和60%有区别,比如同是8周,我的上司工作比我时间长,级别也高,她100%的时间
比我长,但是总的8周是一样的... 阅读全帖 |
|
s******e 发帖数: 1447 | 43 mm我也在NJ
这个州政府的STD不是公司提供的STD比它们的高它们就不提供了吗?
我们公司不是100%的STD,但是比NJ的STD高所以我根本没有申请,还是说我又丢了一笔
钱了?
另外像mm这样反正都是拿100%的,申请NJ STD的好处就是省税? |
|
s******n 发帖数: 2279 | 44 Primary care of gay men
Author
Harvey J Makadon, MD Section Editor
Robert H Fletcher, MD, MSc Deputy Editor
Pracha Eamranond, MD, MPH
ISSUES TO TARGET — There are few population based studies of
health issues in gay men on which to base recommendations. Based on clinical
experience and epidemiology, we feel that there are a number of areas in
which clinicians providing primary care to gay men should provide additional
emphasis beyond what they might focus on in heterosexual men. We agree with
a ... 阅读全帖 |
|
S*********g 发帖数: 24893 | 45 http://www.prisoners.com/relcrime.html
宗教对犯罪率的影响
更加信仰基督的地方有更多的社会弊病和犯罪。这是格雷戈里。保罗在学术杂志《宗教
与社会》上发表的初步结论,这个杂志是内布拉斯加州一所教会学校的学报。
http://moses.creighton.edu/JRS/2005/2005-11.html
研究表明,基督教统治的美国南部和中西部地区,社会弊端和犯罪更严重,谋杀,性病
,死亡率更高。这项研究还表明,美国的犯罪率和基督徒比例,比其他发达世界国家都
高得多。
无法回避的现实是,基督教的教条更合适一个病态的社会。宗教狂热分子和极端主义比
毒品危害更大。
理性的人认识到基督教神话的荒谬可怜,而基督徒,尤其是福音派,或原教旨主义者,
不过是一些伪君子,用宗教作为武器来贬低他人。
格雷戈里。保罗的研究首次量化了基督教教义产生的社会效果。不只是基督教,一切狂
热的邪教都可能会有类似的邪恶效果。
当然,天主教会花了几百年压迫陷入贫困和苦难的老百姓。穆斯林有同样的呼吁
:暴力,复仇,排斥和压迫。
理智的人会奇怪宗教神话的诞生。
在美国,宗教=残酷。
Cr... 阅读全帖 |
|
E******t 发帖数: 660 | 46 #INCLUDE "FUCKJA94"
USING NAMESPACE STD;
VOID FUCKJIA94();
INT MAIN(){
WHILE(TRUE){
FUCKJA94();
}
RETURN 0;
}
VOID FUCKJIA94(){
STD::FUCK_YOUR_WHOLE_FAMILY();
STD::YOUR_MOTHER_IS_WHOLE();
STD::YOUR_FATHER_IS_PIMP();
STD::YOU_R_A_BITCH();
} |
|
M******A 发帖数: 597 | 47 博后的不清楚,看你是那种员工种类,blink上面都有专门的链接说这个,staff是STD
六周-三个月正常,六个月内保证工作不丢,三个月是不带薪水的,但是如果是正是雇员的话
基本保险就cover30%还是多少的基本工资,当然你买的员工保险里面有一项是
disability leave,如果你当初买了这份额外的保险,那就可以多拿。此外,std开始
是是有一个waiting peirod,普通的是一个星期,就是这一个星期内你不能拿任何std的钱,除非你用掉自己的病假或者年
假,
,过了这个星期才开始算std,不同的std保险这个等待时间不一样。以上是我了解到的
信息,这里面有很多学问,你要花时间好好研究一下,当然,休多久最终还是你老板说
了算的,老板同意的话6个月也行,不同意1个月就上班的也见过很多,钱就不要指望了
,好好休养是最重要的。 |
|
S*********g 发帖数: 24893 | 48 http://www.prisoners.com/relcrime.html
宗教对犯罪率的影响
更加信仰基督的地方有更多的社会弊病和犯罪。这是格雷戈里。保罗在学术杂志《宗教
与社会》上发表的初步结论,这个杂志是内布拉斯加州一所教会学校的学报。
http://moses.creighton.edu/JRS/2005/2005-11.html
研究表明,基督教统治的美国南部和中西部地区,社会弊端和犯罪更严重,谋杀,性病
,死亡率更高。这项研究还表明,美国的犯罪率和基督徒比例,比其他发达世界国家都
高得多。
无法回避的现实是,基督教的教条更合适一个病态的社会。宗教狂热分子和极端主义比
毒品危害更大。
理性的人认识到基督教神话的荒谬可怜,而基督徒,尤其是福音派,或原教旨主义者,
不过是一些伪君子,用宗教作为武器来贬低他人。
格雷戈里。保罗的研究首次量化了基督教教义产生的社会效果。不只是基督教,一切狂
热的邪教都可能会有类似的邪恶效果。
当然,天主教会花了几百年压迫陷入贫困和苦难的老百姓。穆斯林有同样的呼吁
:暴力,复仇,排斥和压迫。
理智的人会奇怪宗教神话的诞生。
在美国,宗教=残酷。
Cr... 阅读全帖 |
|
R*******n 发帖数: 428 | 49 > you tried to be tricky. but i caught you.
I am seriously discuss this with you, not trying to be tricky. I am writing
a long article about this, and this discussion makes my writing more clear.
Thanks again.
> I am questioning you why you choose 5D weiqi or LinDan for the
> "standard". why is that better than choosing a 4k robot or your
> average B player for the "standard"?
Ok, we use your approach, we have a series of WeiQi robot, ranking from 20k,
19k, 18k,....,1k, 1dan, 2dan,...,9dan
At ... 阅读全帖 |
|
s*****o 发帖数: 22187 | 50 我没事闲着算了一个肉末和龙哥本赛季16场(肉末15场)的QBR和PR的STD。。。
Romo
QBR STD:30.6
PR STD: 29.8
Rogers
QBR STD: 23.0
PR STD: 30.7
要论QBR,确实Romo起伏大一些,PR差不多。。。 |
|