码迷,mamicode.com
首页 >  
搜索关键字:minus    ( 587个结果
code forces 1173 B. Nauuo and Chess
B. Nauuo and Chess 原题链接:http://codeforces.com/contest/1173/problem/B 题目大意: 在一个m x m的棋盘中放n个棋子,满足 |ri?rj| + |ci?cj| ≥ |i?j| |ri?rj| + |ci?cj| ≥ |i?j| (r ...
分类:其他好文   时间:2019-06-08 18:56:17    阅读次数:95
PAT算法题C++实现(Basic)1022 D进制的A+B
输入两个非负 10 进制整数 A 和 B (≤2^?30?? ?1),输出 A+B 的 D (1<D≤10)进制数。 输入格式:输入在一行中依次给出 3 个整数 A、B 和 D。 输出格式:输出 A+B 的 D 进制数。 输入样例:123 456 8输出样例:1103 这题注意考虑,a和b同时为0的 ...
分类:编程语言   时间:2019-06-08 00:52:06    阅读次数:126
搜索的应用--计算最优解:Aizu - ALDS1_4_D Allocation
搜索的应用-计算最优解 题目: You are given nn packages of wiwi kg from a belt conveyor in order (i=0,1,...n?1i=0,1,...n?1). You should load all packages onto kk tr ...
分类:其他好文   时间:2019-06-07 19:25:09    阅读次数:127
实验五 函数程序设计
#include "stdafx.h" #include "stdio.h" int add(int x,int y) { int a; a=x+y; return a; } int minus(int x,int y) { int mi; mi=x-y; return mi; } int mult ...
分类:其他好文   时间:2019-06-06 16:09:52    阅读次数:75
5.1
#include "stdafx.h"#include <stdio.h>#include <math.h>int add(int x,int y){ int i; i=x+y; return i;}int minus(int x,int y) {int i; i=x-y; return(i);}i ...
分类:其他好文   时间:2019-06-06 16:05:10    阅读次数:88
实验五
1. #include<stdio.h>int add(int x,int y){ int z; z=x+y; return z;}int minus(int x,int y){ int z; z=x-y; return z;}int multip(int x,int y){ int z; z=x* ...
分类:其他好文   时间:2019-06-06 15:59:42    阅读次数:81
第五次上机
1. int add(int x,int y){ int z; z=x+y; return(z); } int minus(int x,int y){ int z; z=x-y; return(z); } int multip(int x,int y){ int z; z=x*y; return(z ...
分类:其他好文   时间:2019-06-06 15:49:45    阅读次数:76
6.6实验五
1. #include <stdio.h> int main() { float add(float x,float y); float minus(float x,float y); float multiply(float x,float y); float division(float x,f ...
分类:其他好文   时间:2019-06-06 15:42:05    阅读次数:94
实验五
1. #include "stdafx.h"#include "stdio.h"int add(int a,int b){ return(a+b);}int minus(int a,int b){ return(a-b);}int multip(int a,int b){ return(a*b);} ...
分类:其他好文   时间:2019-06-06 15:39:42    阅读次数:76
实验五
#include <stdio.h> #include <math.h> int main(int argc, char* argv[]) { int add(int a,int b); int minus(int a,int b); int multip(int a,int b); int quo ...
分类:其他好文   时间:2019-06-06 15:33:13    阅读次数:94
587条   上一页 1 ... 11 12 13 14 15 ... 59 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!