码迷,mamicode.com
首页 >  
搜索关键字:cmp    ( 878个结果
hdu 4882 ZCC Loves Codefires(贪心)
# include<stdio.h> # include <algorithm> # include <string.h> using namespace std; struct node { int v; int t; }; struct node a[100010]; bool cmp(node ...
分类:其他好文   时间:2017-06-24 21:46:52    阅读次数:126
oj---九度oj---1061
#include #include #include using namespace std; struct Student{ char name[105]; int grade; int age; }student[1005]; bool cmp(Student a,Student b){ if(... ...
分类:其他好文   时间:2017-06-21 21:05:38    阅读次数:159
Python之数据结构:元组
一、元组 tupleA=(1,2,3,4,5,6) print tupleA 1、元组支持的运算符 tup1+tup2 tup1*2 3 in tup2 for i in tup2: print i tup2 is tup1 元组支持的内置函数 len(tup1) cmp(tup1,tup2) ma ...
分类:编程语言   时间:2017-06-12 19:53:55    阅读次数:228
Python数据类型的操作
一、数字(Number) 1.数学函数: cmp(x, y) 2.随机数函数: 3.三角函数: 4.数学常量: 二、字符串 1.Python 的字符串内建函数: capitalize()将字符串的第一个字符转换为大写 center(width, fillchar) count(str, beg= 0 ...
分类:编程语言   时间:2017-06-10 18:19:03    阅读次数:260
Python之内建函数
常用内置函数: abs(): 绝对值 max(): 最大值 min(): 最小值 len(): 长度 divmod(): 取商和模 pow(): 指数运算 round(): 返回浮点数 callable(): 判断函数是否可调用 isinstance(): 判断对象/变量是否为某一类型 cmp(): ...
分类:编程语言   时间:2017-06-10 14:09:53    阅读次数:195
常用的ARM指令
数据处理指令 (1)数据传输指令 mov mvn (2)算术指令 add sub rsb adc sbc rsc (3)逻辑指令 and orr eor bic //与或非 (4)比较指令 cmp cmn tst teq (5)乘法指令 mvl mla umull umlal smull smlal ...
分类:其他好文   时间:2017-06-09 14:12:48    阅读次数:148
oj---pat---b1004
#include #include using namespace std; struct student{ char name[11]; char id[20]; int grade; }stu[1000]; bool cmp(student a,student b){ return a.grad... ...
分类:其他好文   时间:2017-06-04 15:48:06    阅读次数:177
Linux常用命令
cat: cksum: cmp: diff: file: find: cut: ln: mc: mv: od: paste: split: tee: ...
分类:系统相关   时间:2017-06-02 21:07:19    阅读次数:314
暴力解hdu4930Fighting the Landlords
#include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; int a[20],b[20],na,nb; bool cmp(int aa,int bb) { return ...
分类:其他好文   时间:2017-05-31 12:14:15    阅读次数:207
vector 指针结果 排序
struct ET{ET(int i){n=i;};ET(){n=0;};int n;}; bool cmp(const ET* lhs, const ET* rhs) {//从大到小排列 return (lhs->n > rhs->n); }void __fastcall TForm18::But ...
分类:编程语言   时间:2017-05-25 10:10:04    阅读次数:209
878条   上一页 1 ... 30 31 32 33 34 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!