.directive(‘ngCalculator‘,?function($compile,?$timeout){
??return?{
????restrict:?‘EA‘,
????require:?‘ngModel‘,
????scope:?{
??????devices:?‘=‘,
??????key:?‘=‘,
...
分类:
其他好文 时间:
2015-08-26 14:09:28
阅读次数:
167
Moving Tables
Problem Description
The famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure.
The floor has 200 rooms ea...
分类:
其他好文 时间:
2015-08-26 13:59:55
阅读次数:
196
1.mongodb权威指南6.4章2.百科:http://baike.baidu.com/link?url=fl9FwgNq7gtFLwJ-GuKsJ25Uk-wnhgDjEwkKd8-5hoIkhJAjoA-dXPIL42PDZ3Xn-ea_JPt_U6k-Pw2rM7Cjg_3.google三大...
分类:
其他好文 时间:
2015-08-26 13:34:08
阅读次数:
119
# -*- coding: cp936 -*-fname=raw_input("filename:")printtry: fobj=open(fname,'r')except IOError,e: print "%s not exists" %fname,eelse: for ea...
分类:
编程语言 时间:
2015-08-25 16:11:52
阅读次数:
162
Going HomeTime Limit:1000MSMemory Limit:65536KTotal Submissions:19680Accepted:10003DescriptionOn a grid map there are n little men and n houses. In ea...
分类:
其他好文 时间:
2015-08-16 22:51:31
阅读次数:
112
1)字符串
主要方法有:strops()、substr()、str_split()、explode()等,更多方法查看PHP官方手册;
<?php
/**
* 字符串的方法:strpos()、substr()、print_r()、explode()
*/
$str="sun of beach";
//获取子字符串在当前字符串的索引位置
echo strpos($str,'ea').'';...
分类:
Web程序 时间:
2015-08-12 19:23:20
阅读次数:
183
Description:There are a group of students. Some of them may know each other, while others don't. For example, A and B know each other, B and C know ea...
分类:
其他好文 时间:
2015-08-11 18:19:30
阅读次数:
127
restrictE: 表示该directive仅能以element方式使用,即:A: 表示该directive仅能以attribute方式使用,即:EA: 表示该directive既能以element方式使用,也能以attribute方式使用transclude你的directive可能接受页面上的...
分类:
其他好文 时间:
2015-08-07 22:14:46
阅读次数:
131
如果你经常需要在Eclipse里打开相关资源文件所在的文件夹,比较麻烦,要右键,属性,在Location一栏中把所在的文件夹拷贝一下,然后再去资源管理器里输入这个路径,回车,打开它。解决方法: 用EasyExplorer插件,有了这个插件就可以很方便地打开资源文件所在的文件夹了.安装: Ea...
分类:
系统相关 时间:
2015-08-06 18:10:21
阅读次数:
191
题意:如图所示,给出P、Q、R三点的坐标,AB、BC、AC被点F、D、E划分成m1:m2、m3:m4、m5:m6,给出m1~m6的数值,求△ABC的三个顶点A、B、C的坐标。
题解:根据梅涅劳斯定理,如果有两个三角形是这样组成的:
结论:(BD/DC)×(CE/EA)×(AF/FB)=1
证明省略,直接运用结论,在题中所给的三角形中有6组这样的三角形,分别可以推出后面两个边的比值:
△CBQ...
分类:
其他好文 时间:
2015-08-03 17:01:58
阅读次数:
149