【 以下文字转载自 Church 俱乐部 】
发信人: CCBible (神同在圣经), 信区: Church
标 题: Glossary to the Westminster Confession
发信站: BBS 未名空间站 (Tue Apr 24 21:16:33 2012, 美东)
Glossary to the Westminster Confession
Explanations of all archaic and uncommon words, usages, and expressions, in
the order in which they occur.
Title Confession. n. Public statement of religious beliefs.
1.1 Providence. n. Divine care. Manifest. v. Show. Are they. idiom. T
hey are. Unto. prep. With regard to. Sundry. adj. Separate. D... 阅读全帖
复杂度必须为O(N)呀: adj[i][j] == 1 means edge(i->j) exists.
最终结果如果是第I个点的话,那么它对应邻接矩阵中所在行的所有值为0,而所在列除
(i,i)以外的所有点均为1.
所以程序的逻辑就是从在ADJ中从(0,1)开始水平向右走,同时(1,0)向下走,遇
到adj(0,j)==1或adj(j,0)==0时,转到(j, j+1)/(j+1, j)继续向右/下走找下一个
为1/0的点。如果到了最右/下边且adj(m, n-1)==0/adj(n-1, m)==1, 再检查m行/m列的
其他未查点是否全为0/1,若满足,则第m个点为目标点。否则,该目标点不存在。
代码如下:
int findTerminal(int adj[i][j], int n) {
int p = 0, q;
boolean found = false;
while (! found && p < n - 1) {
q = p + 1;
while (q < n && adj[p][q] == 0 && adj[q][p] == 1) {
+... 阅读全帖
If A is 4.02 and B is 3.25,
不需要"bring 4.02 to 4.0 and 3.25 to 3.5".
Truncation 是指 差0.48以上(不是0.50), rating implied game difference
〉=12 时, 用0.48代替rating 差
4.02 vs 3.25, 差 0.77, bring the difference to 0.48 when
computing adjustment. (pls refer to #105)
如果比赛成绩 6:1, 6:0, 局差(DG) 11, 局差折合分(DGS) 0.44
0.44 - 0.48 = -0.04, 除二 Adj = -0.02.
代入原始算法 A 4.00, B 3.27; 这和不用truncation 的原始算法结果差很大。
kennyD 再除二: Adj = -0.01; A 4.01, B 3.26;
blacklodoss 再除三 (类似ACC的三次平均): 四舍五入后 A 4.01, B 3.26;
如果比赛成绩 6:3, 6:3, 局差(DG) ... 阅读全帖
比较一下词条的详细程度:
torpedo:
torpedo, n.
View as:
Outline |
Full entry
Quotations:
Show all |
Hide all
Pronunciation: /tpid/
Forms: Also 15 -ido. Pl. torpedoes.
Etymology: < Latin torpēdo stiffness, numbness, also the cramp-fish or
electric ray, < torpēre to be stiff or numb; = Spanish torpedo, Portuguese
torpedo, Italian torpedine. Compare French torpille, Italian torpiglia from
the same verb.(Show Less)
1.
Thesaurus
Categories
a. A flat fish of the genus Torpedo or family Torpedini... 阅读全帖
public class Solution {
private final Map> adj = new HashMap<>();
public boolean canFinish(int numCourses, int[][] prerequisites) {
for (int i = 0; i < prerequisites.length; ++i) {
int u = prerequisites[i][0], v = prerequisites[i][1];
addEdge(u, v);
}
boolean[] visited = new boolean[numCourses];
boolean[] recursionStack = new boolean[numCourses];
for (Integer v : adj.keySet()) {
if (hasCycl... 阅读全帖
You were kicked off by stockcafe club
because people humilated you there. Now you tell everyone where you were
when cherry88 made over 100k in Baidu's trading back in April?
Did cherry88 buy the option only one per time????
Security Trans type Qty Open date Adj cost per shareAdj cost per share Adj
costAdj cost Close date Adj proceeds per shareAdj proceeds per share Adj
proceedsAdj proceeds Adj gain ($)Adj gain ($) Adj gain (%)Adj gain (%)
Sell to Close. 1,800 04/23/10 12.34 22,203.48 04/29/1... 阅读全帖
Andrew Roberts, O Captain, Our Captain; George Washington was a genius and a
titan, but it was politics, not war, at which he excelled. Wall Street
Journal, Oct. 2, 2010. http://online.wsj.com/article/SB10001424052748703882404575520061512222160.html
Note:
(1) feline (adj):
"2: resembling a cat: as
a : sleekly graceful
b : SLY, TREACHEROUOS
c : STEALTHY
All definitions are from www.m-w.com, except where noted.
(2) It is unclear (to me) what the first sentence means. But see
Otto von Bismarck
http... 阅读全帖
Here is some code from the book. You can decide if you want to
read it ... I would spend my time on STL and Boost, at least
they are shown to be WORKING.
class SparseMultiGRAPH
{ int Vcnt, Ecnt; bool digraph;
struct node
{ int v; node* next;
node(int x, node* t) { v = x; next = t; }
};
typedef node* link;
vector adj;
public:
SparseMultiGRAPH(int V, bool digraph = false) :
adj(V), Vcnt(V), Ecnt(0), digraph(digraph)
{ adj.assign(V, 0); }
int V() const { retur... 阅读全帖
发信人: NJ08807 (三脚猫@bridgewater), 信区: Tennis
标 题: Re: 2014 MITBBS 网球版排行榜
发信站: BBS 未名空间站 (Tue Apr 22 22:46:25 2014, 美东)
写了一个具体的implementation这样可以谈的具体。。
网络上容易鸡鸭对话, 还是具体点有例子好谈。
黑导, kennyD, jjch, acc 看看framework如何?
原始帖方法看上去太长。。 我做了归纳。 http://tt.tennis-warehouse.com/showthread.php?t=468318
#input.rating: Input rating pair in descending order
# The first is higher
#DG The difference of games between the first
# and second player
#k: Multiplication factor.
... 阅读全帖
发信人: NJ08807 (三脚猫@bridgewater), 信区: Tennis
标 题: Re: 2014 MITBBS 网球版排行榜
发信站: BBS 未名空间站 (Tue Apr 22 22:46:25 2014, 美东)
写了一个具体的implementation这样可以谈的具体。。
网络上容易鸡鸭对话, 还是具体点有例子好谈。
黑导, kennyD, jjch, acc 看看framework如何?
原始帖方法看上去太长。。 我做了归纳。 http://tt.tennis-warehouse.com/showthread.php?t=468318
#input.rating: Input rating pair in descending order
# The first is higher
#DG The difference of games between the first
# and second player
#k: Multiplication factor.
... 阅读全帖
写了一个具体的implementation这样可以谈的具体。。
网络上容易鸡鸭对话, 还是具体点有例子好谈。
黑导, kennyD, jjch, acc 看看framework如何?
原始帖方法看上去太长。。 我做了归纳。 http://tt.tennis-warehouse.com/showthread.php?t=468318
#input.rating: Input rating pair in descending order
# The first is higher
#DG The difference of games between the first
# and second player
#k: Multiplication factor.
# Original method uses 0.5; KennyD revision uses 0.25
#doMA: Whether including current rating again ... 阅读全帖
After-Hours Movers 7/20: CYT, SABA, VMW, URI, ETH, JAH, AAPL, BSX, TPX, BP
Higher; YHOO, GILD, APA, MDRX, SYK, JNPR Lower
Jul 20, 2010 05:40PM
Cytec (NYSE: CYT) 12.4% HIGHER; reports Q2 EPS of $1.31, 64 cents better
than the analyst estimate of $0.67. Revenue for the quarter was $874 million
, which compares to the estimate of $801.84 million. "We now expect to
achieve 2010 revenues of $3.2 to $3.4 billion versus our prior projection of
$2.7 to $3.0 billion, and as adjusted 2010 diluted earnings... 阅读全帖
(1) John R Miller, The Original American Idol; When King George III heard
Washington had refused to be king, he said, 'If that is true, he must be the
greatest man in the world.' Wall Street Journal, Feb 19, 2011. http://online.wsj.com/article/SB10001424
052748704881304576093831865011332.html
(Washington's birthday Feb 22, 1732; third Monday in February: Presidents
Day, which marks the birthday not only of Washington but of Lincoln and all
other presidents)
Note:
(a) John Adams and Thomas Jeffer... 阅读全帖
Just check the balance, I don't know why there are two credits since I never
call for billing inquire.
Is anybody here got the credit
------------------
CR ADJ FOR BILLING INQUIR 06/20/2013
06/20/2013 Thu CR ADJ FOR BILLING INQUIR
Money Machine -160.86
Reference Number: 3201xxxxxxxxxxxxx
Category: Fees & Adjustments - Fees & Adjustments PRINT
CR ADJ FOR BILLING INQUIR 06/20/2013
06/20/2013 Thu CR ADJ FOR BILLING INQUIR
GUIHONG PENG ... 阅读全帖
Just check the balance, I don't know why there are two credits since I never
call for billing inquire.
Is anybody here got the credit
------------------
CR ADJ FOR BILLING INQUIR 06/20/2013
06/20/2013 Thu CR ADJ FOR BILLING INQUIR
Money Machine -160.86
Reference Number: 3201xxxxxxxxxxxxx
Category: Fees & Adjustments - Fees & Adjustments PRINT
CR ADJ FOR BILLING INQUIR 06/20/2013
06/20/2013 Thu CR ADJ FOR ... 阅读全帖
DATE: January 19, 2011
TO: Permit Holders
FROM: Scott Speer
RE: *****UPDATE*****UPDATE*****UPDATE*****
American International Group, Inc. ("AIG & adj. AIG1")
Distribution of Warrants
Ex-Distribution Date: January 20, 2011
NOTE: American International Group, Inc. (AIG) announced on January 12, 2011
that the condition required for its previously announced dividend of
warrants
has been satisfied.
American International Group, Inc. ("AIG & adj. AIG1") has announced a
distribution of American Interna... 阅读全帖
(1) John R Miller, The Original American Idol; When King George III heard
Washington had refused to be king, he said, 'If that is true, he must be the
greatest man in the world.' Wall Street Journal, Feb 19, 2011. http://online.wsj.com/article/SB10001424
052748704881304576093831865011332.html
(Washington's birthday Feb 22, 1732; third Monday in February: Presidents
Day, which marks the birthday not only of Washington but of Lincoln and all
other presidents)
Note:
(a) John Adams and Thomas Jeffer... 阅读全帖
Sunpower (SPWRA) Reports Q4 Adj-EPS of $0.47; Guides Q1, FY10
Sunpower (NASDAQ: SPWRA) reports Q4 adj-EPS of $0.47 which may not compare
to the analyst estimate of $0.49. Revenue for the quarter was $548 million,
which compares to the estimate of $490.92 million.
Sees Q1 adj-EPS of about $0.05, versus the consensus of $0.34, on sales of $
330-$350 million. The Street is looking for sales of $427.27 million.
Sees FY10 adj-EPS of $1.25-$1.65, vs. the consensus of $1.78. Sees FY10
sales of $2-$2.25
(3) to (5) are dance, music and theater reviews, which you may or may not
have interest in.
(1) Vivek Wadhwa, What We Really Need to Fear About China. Washingtn Post,
Sept 27, 2011 http://www.washingtonpost.com/national/on-innovations/what-we
-really-need-to-fear-about-china/2011/09/14/gIQAPrMy0K_story.html
(entrepreneurship)
Note:
(a) Vivek Wadhwa http://wadhwa.com
Click the 'BIO" tag in the upper left corner.
(b) angel investor http://en.wikipedia.org/wiki/Angel_investor
(Angels typically inve... 阅读全帖
(1) Joel Stein, The Rise of Vegan Moguls; Steve Wynn, Russell Simmons, Bill
Clinton and a comparable cast of heavies are now using tempeh to assert
their superiority. A look at what gives. Bloomberg BusinessWeek, Nov. 4,
2010 9title in the print). http://www.businessweek.com/magazine/content/10_46/b4203103862097.htm
My comment:
(a) There is no need to read the report.
(b) In the subtitle:
tempeh http://en.wikipedia.org/wiki/Tempeh
(tempe in Indonesian, is made by a natural culturing and controll... 阅读全帖
Ligaya Mishan, Ramen's Refined Cousin Lets Loose. New York Times, May 11,
2011 ( in the column of "$25 and Under"). http://www.nytimes.com/2011/05/11/dining/reviews/cocoron-
on-the-lower-east-side-nyc-restaurant-review.html?_r=1&scp=1&sq=soba&st=cse
Note:
(a) Cocoron 心温 http://www.cocoron-soba.com/about.html
* Note the logo in the left upper corner of the web page.
* Japanese:
kokoro 心 (n)
on 温 (n)--for example, ondo おんど 温度
* Yoshihito KIDA 喜田 義人
(b) dishevel (vt; back-formation from disheveled)... 阅读全帖
map reduce吧
for node and its adj list,
map emit(node,adj+" 1") and emit(adj,node+" 0")
suffix " 1" stands for I have a friend **
suffix " 0" stands for I am the friend of **
reduce output all combination of value with different suffix "0" and "1",
which is I am the friend of **, and I have a friend **.
And it needs to detect that ** and ** is the same person. (Mutual friend)
传统的bfs没想到如何提高并行度.
觉得这道题就是普通的BFS,只是在加入每个相邻的点时, 加上 distance, 如果
distance+1 = k 就不在继续:
dfs(vector>& mat, int x, int y, int k)
{
queue> que;
que.push({x, y);
queue distance;
distance.push(0);
int dis = 0;
while (!que.empty()) {
int x = que.top().first();
int y = que.top().second();
que.pop();
mat[x][y] = '#';
int dis = distance.top();
distance.pop();
if (dis+1 == k) continue;
vector> adjs = {{1,0}, {-1,0}, {0, 1}... 阅读全帖
adjustment is done annually per index that was agreed upon. many times it's
the 1-yr LIBOR. there's also an agreed upon "margin" that goes on top.
margin is fixed but index varies. margin is usually ~2.25% (verify your
Note). say LIBOR is at 0.78% then your adj'd ARM rate starting the 6th yr
is 2.25 + 0.78 or 3+%.
1st adj usually carries a cap of 5%, same cap also applies throughout the 30
-yr term. 2nd and subsequent adj usually carry a 2% cap. so your worst
scenario in terms of mtg rat... 阅读全帖
If you'd like to Chinese, go straight to the last line.
Andrew Jacobs, China’s Army of Graduates Struggles for Jobs. New York Times
. Dec. 12, 2010. http://www.nytimes.com/2010/12/12/world/asia/12beijing.html?_r=1&scp=1&sq=liu%20yang&st=cse
"When he finally found a job selling apartments for a real estate agency, he
left after less than a week when his employer reneged on a promised salary
and then fined him each day he failed to bring in potential clients.
"In the end, Mr. Li and his friends se... 阅读全帖