码迷,mamicode.com
首页 >  
搜索关键字:九度    ( 670个结果
九度[1112]拦截导弹
1 # include<iostream> 2 # include<cstring> 3 # include<algorithm> 4 using namespace std; 5 int main(){ 6 int n=0; 7 int a[30]; 8 int b[30]; 9 int i=0,
分类:其他好文   时间:2016-02-05 19:17:15    阅读次数:129
九度[1103]二次方程计算器
1 # include<iostream> 2 # include<string> 3 # include<iomanip> 4 # include<cmath> 5 using namespace std; 6 int a=0,b=0,c=0; 7 void getPar(string s,int
分类:其他好文   时间:2016-02-05 01:13:14    阅读次数:198
九度[1101]计算表达式
1 # include<cstdio> 2 # include<iostream> 3 # include<cstring> 4 using namespace std; 5 struct node{ 6 int value; 7 int next; 8 }a[500]; 9 char c[100]
分类:其他好文   时间:2016-02-02 21:33:54    阅读次数:358
九度[1085]求root(N,K)
1 # include<iostream> 2 using namespace std; 3 int main(){ 4 long long int x=0,y=0,k=0; 5 while(cin>>x>>y>>k) 6 { 7 long long int sum=1; 8 k--; 9 whil
分类:其他好文   时间:2016-02-01 22:15:07    阅读次数:413
九度[1082]代理服务器
1 # include<iostream> 2 # include<string> 3 # include<cstring> 4 using namespace std; 5 int main(){ 6 int n=0,m=0; 7 string a[1000],b[5000]; 8 int pos
分类:其他好文   时间:2016-01-31 21:49:19    阅读次数:278
九度[1084]整数拆分
1 #include <iostream> 2 3 using namespace std; 4 5 int dp[1000001]; 6 7 int main() { 8 int n; 9 while (cin >> n) { 10 dp[1] = 1; 11 dp[2] = 2; 12 for
分类:其他好文   时间:2016-01-31 21:38:02    阅读次数:194
九度[1080]进制转换
1 # include<iostream> 2 # include<string> 3 # include<cstring> 4 using namespace std; 5 struct bigint{ //定义一个大整数类 6 int a[500]; 7 int remain; 8 int i;
分类:其他好文   时间:2016-01-31 21:09:08    阅读次数:207
【C语言】九度OJ机试题源码
题库:http://ac.jobdu.com/tutorialproblems.php题号1202排序 1 #include 2 #include 3 #include 4 5 /*递增排序*/ 6 int compInc(const void *a,const void *b) 7 { 8 ...
分类:编程语言   时间:2016-01-27 12:50:06    阅读次数:294
【剑指offer】树的子结构
转载请注明出处:http://blog.csdn.net/ns_code/article/details/25907685 剑指offer第18题,九度OJ上測试通过!题目描写叙述:输入两颗二叉树A。B,推断B是不是A的子结构。输入:输入可能包括多个測试例子。输入以EOF结束。对于每一个測试案例,....
分类:其他好文   时间:2016-01-23 10:19:53    阅读次数:144
<九度 OJ>题目1545:奇怪的连通图
题目描述: 已知一个无向带权图,求最小整数k。使仅使用权值小于等于k的边,节点1可以与节点n连通。 输入: 输入包含多组测试用例,每组测试用例的开头为一个整数n(1 接下去m行,描述图上边的信息,包括三个整数,a(1 输出: 输出为一个整数k,若找不到一个整数满足条件,则输出-1。 样例输入: 3 3 1 3 5 1...
分类:其他好文   时间:2016-01-18 16:13:17    阅读次数:156
670条   上一页 1 ... 25 26 27 28 29 ... 67 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!