码迷,mamicode.com
首页 >  
搜索关键字:friend    ( 1299个结果
JAVA中构造器和方法的区别点
要学习Java,你必须理解构造器。因为构造器可以提供许多特殊的方法,这个对于初学者经常混淆。但是,构造器和方法又有很多重要的区别。 下面将简单介绍一下 ,最后用一个表作了些简单的总结。 功能和作用的不同构造器是为了创建一个类的实例。这个过程也可以在创建一个对象的时候用到:Platypus p1 = ...
分类:编程语言   时间:2017-09-11 22:48:51    阅读次数:128
python实现简单购物车系统(练习)
#!Anaconda/anaconda/python #coding: utf-8 #列表练习,实现简单购物车系统 product_lists = [('iphone',5000), ('computer',6000), ('girl_friend',2000), ('boy_friend'... ...
分类:编程语言   时间:2017-09-08 01:17:13    阅读次数:314
二叉搜索树
#include using namespace std; template class BSTree; template class BSTNode { friend class BSTree; public: BSTNode() : data(type()), leftChild(NULL), ... ...
分类:其他好文   时间:2017-09-04 12:00:42    阅读次数:241
poj 2243 Knight Moves
Knight Moves Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14504 Accepted: 8110 Description A friend of you is doing research on the Trav ...
分类:其他好文   时间:2017-09-03 17:11:01    阅读次数:230
Nim Game
You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 to 3 ston ...
分类:其他好文   时间:2017-09-03 10:04:00    阅读次数:231
数据结构
void init() { for(int i = 1;i <= n;i++) pre[i] = i; } int findd(int x) 递归 { return pre[x] == x?x:findd(pre[x]); } void join(int a,int b) { int x = fin ...
分类:其他好文   时间:2017-09-02 23:28:41    阅读次数:423
HDU - 6152 Friend-Graph(暴力)
题意:给定n个人的关系,若存在三个及以上的人两两友好或两两不友好,则"Bad Team!",否则"Great Team!"。 分析:3000*3000内存10000+,因此存关系要用bool数组,否则mle。 ...
分类:其他好文   时间:2017-09-02 20:48:29    阅读次数:151
BZOJ 1878 [SDOI2009]HH的项链 (主席树 或 莫队算法)
题目链接 HH的项链 这道题可以直接上主席树的模板 当然用莫队算法也是可以做的 ...
分类:编程语言   时间:2017-09-02 19:07:57    阅读次数:205
Codeforces_849
A.只要考虑分成一个串的情况就可以了。 #include<bits/stdc++.h> using namespace std; int n,a[105]; int main() { ios::sync_with_stdio(0); cin >> n; for(int i = 1;i <= n;i+ ...
分类:其他好文   时间:2017-09-02 09:48:58    阅读次数:176
html页面的CSS、DIV命名规则
十二、 html页面的CSS、DIV命名规则 名称 命名 名称 命名 名称 命名 名称 命名 页头 header 广告条 banner 登录条 loginbar 标志 logo 侧栏 sidebar 菜单 menu 子菜单 subMenu 下拉菜单 dropMenu 导航 nav 工具条 toolb ...
分类:Web程序   时间:2017-09-02 01:07:36    阅读次数:282
1299条   上一页 1 ... 47 48 49 50 51 ... 130 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!