码迷,mamicode.com
首页 >  
搜索关键字:jsp include    ( 101623个结果
CSP202104-2领域均值
思路清晰就好,不是很难只是有点复杂。 #include<bits/stdc++.h> #define atest using namespace std; int n,l,r,t; int mapp[601][601]; int main(){ cin>>n; cin>>l; cin>>r; cin ...
分类:其他好文   时间:2021-05-03 11:58:33    阅读次数:0
实验4 函数和数组应用编程
实验任务1 #include <stdio.h> long long fun(int n); // 函数声明 int main() { int n; long long f; while(scanf("%d", &n) != EOF) { f = fun(n); // 函数调用 printf("n ...
分类:编程语言   时间:2021-04-30 12:31:46    阅读次数:0
实验四
任务1 #include <stdio.h> long long fun(int n); // 函数声明 int main() { int n; long long f; while(scanf("%d", &n) != EOF) { f = fun(n); // 函数调用 printf("n = ...
分类:其他好文   时间:2021-04-30 12:31:08    阅读次数:0
实验4
#include<stdio.h> void fun(int n); int main(){ int n; long long f; while(scanf("%d", &n)!=EOF){ fun(n); } return 0; } void fun(int n){ int f[505],a[50 ...
分类:其他好文   时间:2021-04-30 12:29:16    阅读次数:0
实验四
#include <stdio.h> long long fun(int n); // 函数声明 int main() { int n; long long f; while(scanf("%d", &n) != EOF) { f = fun(n); // 函数调用 printf("n = %d, ...
分类:其他好文   时间:2021-04-30 12:24:09    阅读次数:0
一文读懂C++ String类在算法竞赛中的常见用法
一文读懂C++ String类在算法竞赛中的常见用法 string 相较于C语言的字符数组可方便太多了,在算法竞赛中能大大节省我们的时间。以下是我在刷题中会使用到的常见String用法。注释都写好了。 #include <iostream> #include <string> using names ...
分类:编程语言   时间:2021-04-30 12:14:45    阅读次数:0
c语言:结果不理解
#include <stdio.h> int main() { int a;float b; scanf("a=%d,b=%f",&a,&b); printf("%d,%f\n",a,b); printf("%d\n",a+(int)b); getchar(); } 应该输入:a=45,b=3.6 ...
分类:编程语言   时间:2021-04-29 11:51:37    阅读次数:0
hivalric Blossom
原题链接 题意:很多链,然后让每条链中各个元素都要挨在一起,然后给他们每个元素分配层数,层数相同的要以元素大小从左往右。 题解:就是两个栈模拟一下贪心即可。 代码: #include <algorithm> #include <cstring> #include <cstdio> #include ...
分类:其他好文   时间:2021-04-29 11:36:03    阅读次数:0
c语言中程序的循环控制 大小值的判断及赋值
c语言中程序的循环控制 大小值的判断及赋值。 输出长度大于高度的矩形。 1、 #include <stdio.h> int main(void) { int i, j, height, width, min, max; printf("please input the height and widt ...
分类:编程语言   时间:2021-04-28 12:21:22    阅读次数:0
10以内的数字的四则运算
#include <iostream>#include <cstdlib>#include <ctime>using namespace std;int main(){ int num1,num2,op,result1,result2; //num1,num2:操作数;op:运算符;result1, ...
分类:其他好文   时间:2021-04-28 12:11:52    阅读次数:0
101623条   上一页 1 ... 38 39 40 41 42 ... 10163 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!