摘要: 1063. Set Similarity (25)Given two sets of integers, the similarity of the sets is defined to be Nc/Nt*100%, where Ncis the number of distinct common ... 阅读全文
posted @ 2015-08-13 21:23 JackWang822 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1062. Talent and Virtue (25)About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and vi... 阅读全文
posted @ 2015-08-13 13:16 JackWang822 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 int main() 7 { 8 string s1, s2, s3, s4; 9 cin >> s1 >> s2 >> s3 >> s4;10 string d... 阅读全文
posted @ 2015-08-13 12:41 JackWang822 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1060. Are They Equal (25)If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both... 阅读全文
posted @ 2015-08-13 11:56 JackWang822 阅读(147) 评论(0) 推荐(0) 编辑