畅快小馒头

文章
5
资源
0
加入时间
2年10月21天

Ctype相关函数

1:ctype_alpha(string text):做纯字符检测。返回值:如果text):做纯字符检测。返回值:如果text):做纯字符检测。返回值:如果text里的每个字符都是一个字母,返回true,否则返回false。案例:var_dump(ctype_alpha(“hel”));//truevar_dump(ctype_alpha(“he’l”));//falsevar_dump...

Sub-Bipartite Graph FZU - 2141 (贪心)

Given a simple undirected graph G with n vertices and m edges, your task is to select a sub-bipartite graph of G with at least m/2 edges.In the mathematical field of graph theory, a bipartite graph ...