腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
首页
学习
活动
专区
工具
TVP
最新优惠活动
返回腾讯云官网
开发 & 算法杂谈
专栏成员
举报
66
文章
96069
阅读量
36
订阅数
订阅专栏
申请加入专栏
全部文章(66)
其他(33)
编程算法(15)
api(7)
云数据库 Redis(5)
人工智能(4)
linux(3)
unix(3)
缓存(3)
数据结构(3)
java(2)
python(2)
html(2)
http(2)
机器学习(1)
ios(1)
xml(1)
ide(1)
spring(1)
容器(1)
分布式(1)
黑客(1)
网络安全(1)
jvm(1)
wordpress(1)
面向对象编程(1)
zookeeper(1)
二叉树(1)
aop(1)
udp(1)
kernel(1)
gcc(1)
uml(1)
数据处理(1)
https(1)
nat(1)
搜索文章
搜索
搜索
关闭
Django-Database 之 Many-To-Many关系
其他
这里对Many-To-Many即多对多的映射关系以详细事例来分析Django中Database操作多对多映射关系的一些基本用法和注意事项
chain
2018-08-02
645
0
Coderbyte-Challenger之Letter Capitalize(单词字母大写)
其他
Have the function LetterCapitalize(str) take the str parameter being passed and capitalize the first letter of each word. Words will be separated by only one space.
chain
2018-08-02
745
0
PAT Advanced 1005
其他
Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the sum in English.
chain
2018-08-02
282
0
PAT Advanced 1066
其他
An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than one, rebalancing is done to restore this property. Figures 1-4 illustrate the rotation rules.
chain
2018-08-02
233
0
PAT Advanced 1067
其他
1067. Sort with Swap(0,*) (25) 时间限制 100 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY oper
chain
2018-08-02
266
0
PAT Advanced 1042
其他
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as weak, and in order to avoid "inside jobs" where employees collaborate with gamblers by performing inadequate shuffles, many casinos employ automatic shuffling machines. Your task is to simulate a shuffling machine.
chain
2018-08-02
260
0
PAT Advanced 1043
其他
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:
chain
2018-08-02
258
0
PAT Advanced 1001
其他
Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits).
chain
2018-08-02
312
0
PAT Basic 1010
其他
#include <stdio.h> int main() { int n, e, flag = 0; while (scanf("%d%d", &n, &e) != EOF) { if( n*e ) { if(flag) printf(" "); else flag = 1;
chain
2018-08-02
518
0
PAT Basic 1009
其他
#include<stdio.h> #include<string.h> /*此题和1008类似*/ void reverse(char *a,int left,int right) { while(left<right) { char temp=a[left]; a[left]=a[right]; a[right]=temp; left++;right--; } } int main() { char a[81]; gets(a); reverse(a,0,strlen(a)
chain
2018-08-02
339
0
PAT Basic 1008
其他
#include<stdio.h> #include<stdlib.h> /*三次逆置*/ void reverse(int *a,int left,int right) { while(left<right) { int temp=a[left]; a[left]=a[right]; a[right]=temp; left++;right--; } } int main() { int n,k,i; scanf("%d %d",&n,&k); int *a=(int *)m
chain
2018-08-02
464
0
PAT Basic 1007
其他
#include<stdio.h> #include<math.h> int a[100000]={0}; int main() { int n,i,j,flag,count=0; scanf("%d",&n); a[2]=a[3]=1; for(i=5;i<=n;i=i+2) { flag=1; for(j=3;j<=sqrt(i);j++) { if(a[j]==1) if(i%j==0) flag=0; } a[i]=flag; } i=3;
chain
2018-08-02
534
0
PAT Basic 1006
其他
#include<stdio.h> /*简单的模拟题*/ int main() { int n,a[3]={0},count=2,i; scanf("%d",&n); while(n/10 != 0) { a[count--]=n%10; n=n/10; } a[count]=n%10; if(a[0]!=0) for(i=0;i<a[0];i++) printf("%c",'B'); if(a[1]!=0) for(i=0;i<a[1];i++) printf(
chain
2018-08-02
556
0
PAT Basic 1005
其他
#include<stdio.h> #include<stdlib.h> int b[101]={0}; int main() { int n,i,temp,count=0,j,temp2; scanf("%d",&n); int *a=(int *)malloc(n*sizeof(int)); for(i=0;i<n;i++) scanf("%d",&a[i]); /*sort*/ for(i=0;i<n;i++) { int min=i; for(j=i;j<n;j++) {
chain
2018-08-02
960
0
PAT Basic 1002
其他
#include<stdio.h> char a[10][5]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"}; /*递归的从左至右输出各个位*/ void b(int sum,int count) { count++; if(sum/10 !=0 ) b(sum/10,count); if(count==1) printf("%s",a[sum%10]); else printf("%s ",a[sum%10]); }
chain
2018-08-02
669
0
PAT Basic 1001
其他
/*简单的模拟题*/ #include<stdio.h> int main() { int n,count=0; scanf("%d",&n); while(n!=1) { n=((n&1
chain
2018-08-02
603
0
PAT Advanced 1065
其他
Given three integers A, B and C in [-263, 263], you are supposed to tell whether A+B > C.
chain
2018-08-02
254
0
较快速在一个数组中查找最大值和最小值(2)
其他
/*分治法*/ #include<iostream> #include<string> #include<vector> #include<fstream> using namespace std; int a[16]={1,3,5,7,9,11,14,2,4,6,8,10,12,14,16,18}; int b[9]={3,1,5,9,4,2,7,6,10}; int t[2]; vector<string> splitEx(const string& src, string separate_chara
chain
2018-08-02
2.5K
0
静态数据竞争检测工具之LOCKSMITH-安装和使用
其他
静态数据竞争检测工具都是基于中间语言开发的,在安装之前必须要先安装Ocaml和CIL
chain
2018-08-02
537
0
Redis源码阅读之rdb.c
其他
REDIS_RDB_ENC_LZF |compressed_len | original_len | compressed_string
chain
2018-08-02
643
0
点击加载更多
社区活动
【纪录片】中国数据库前世今生
穿越半个世纪,探寻中国数据库50年的发展历程
立即查看
Python精品学习库
代码在线跑,知识轻松学
立即查看
博客搬家 | 分享价值百万资源包
自行/邀约他人一键搬运博客,速成社区影响力并领取好礼
立即体验
技术创作特训营·精选知识专栏
往期视频·千货材料·成员作品 最新动态
立即查看
领券
问题归档
专栏文章
快讯文章归档
关键词归档
开发者手册归档
开发者手册 Section 归档