码迷,mamicode.com
首页 >  
搜索关键字:code    ( 108667个结果
Java注释模板
?? 设置注释模板的入口: Window->Preference->Java->Code Style->Code Template 然后展开Comments节点就是所有需设置注释的元素啦。现就每一个元素逐一介绍: 文件(Files)注释标签: /**   * @Title: ${file_name} * @Package ${package_name} * @Descrip...
分类:编程语言   时间:2014-10-04 20:04:57    阅读次数:176
BZOJ 3505 CQOI 2014 数三角形 数学
题目大意:给一张m*n的网格,问这里面以网格为顶点的三角形有多少个。 思路:数学题。首先算出所有互不相同的三点对,然后减掉其中三个点在一个直线上的点对就行了。注意答案开long long。 CODE: #include #include #include #include using namespace std; int m,n; int Gcd(int ...
分类:其他好文   时间:2014-10-04 19:06:07    阅读次数:191
Simple Python Dictionary :)
摘自 http://github.com/panweizeng/home/blob/master/code/python/dict/dict.py 支持简单的Ch to En 和En to Ch我把它放在 /usr/bin/dict 1234567891011$ dict 白痴单词:白痴 音标: b...
分类:编程语言   时间:2014-10-04 17:54:46    阅读次数:250
EntityFramework CodeFirst 01
最近将花点时间学习EF相关知识,通过文章来进行一个完整的学习,Code First是由先有代码后生成数据库;将通过一实例来进行学习;我们简单分为三层,其中DataLibrary为EF上下文处理层,ModelLib为实体层,而MainApplication为主程序层注意:DataLibrary层、Ma...
分类:其他好文   时间:2014-10-04 17:30:16    阅读次数:345
POJ 2631 Roads in the North 树的直径
题目大意:裸的树的直径。 思路:随便用一个点跑BFS,求出这个点到所有点的距离,取距离最长的那个点,再用那个点跑BFS,最远的距离就是这棵树的直径。 CODE: #include #include #include #include #include #define MAX 20010 using namespace std; int x,y,z; int...
分类:其他好文   时间:2014-10-04 16:32:56    阅读次数:242
《机器学习实战》菜鸟学习笔记(三)决策树
老规矩,Talk is cheap, show me your code.#-*-coding:utf-8-*-from math import logdef calcShannonEnt(datsSet): #长度 numEntries = len(dataSet) #字典统计 ...
分类:其他好文   时间:2014-10-04 14:58:46    阅读次数:218
Method, apparatus, and system for speculative abort control mechanisms
An apparatus and method is described herein for providing robust speculative code section abort control mechanisms. Hardware is able to track speculat...
分类:移动开发   时间:2014-10-04 01:14:05    阅读次数:357
Method, apparatus, and system for speculative abort control mechanisms
An apparatus and method is described herein for providing robust speculative code section abort control mechanisms. Hardware is able to track speculat...
分类:移动开发   时间:2014-10-04 00:25:45    阅读次数:343
phantomjs环境搭建已经运行
1、下载phantomjshttp://phantomjs.org/2、运行新建phantomjs.bat,记得改目录路径里面内容为:D:\java\phantomjs\phantomjs.exe D:\java\phantomjs\code\server.js 80803、新建server.js文...
分类:Web程序   时间:2014-10-04 00:08:45    阅读次数:282
JDBC入门
一】什么是JDBC?为什么使用? 1)sun公司为了是java程序员能灵活的访问各种不同的关系型数据库提供的规则。 2)为什么使用JDBC? 1》降低Java程序操作数据库的成本 2》使Java程序灵活移植 二】体验JDBC开发数据库的过程 code: // 1,注册数据库...
分类:数据库   时间:2014-10-04 00:03:15    阅读次数:345
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!