码迷,mamicode.com
首页 >  
搜索关键字:include    ( 84546个结果
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
php命名空间和include引用
php命名空间在第一个文件开关以namespace 命名空间名,则当前的文件为该命名空间,当include其他文件的,其他文件的命名空间为文件的开头namespace名,如没有为全局,不因为include继承,查看当前文件的命名空间可用echo '"', __NAMESPACE__, '"'; ph ...
分类:Web程序   时间:2021-04-28 12:03:18    阅读次数:0
[ AGC001 F ] Wide Swap
题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> #include <queue> using namespace std; const int N = 500010, INF = 1e9; in ...
分类:其他好文   时间:2021-04-28 11:51:48    阅读次数:0
c语言 4-25输出向下的金字塔
输出向下的金字塔 1、for语句 #include <stdio.h> int main(void) { int i, j, layer; puts("please input the layer"); printf("layer = "); scanf("%d", &layer); for(i = ...
分类:编程语言   时间:2021-04-27 15:19:08    阅读次数:0
2021团体程序设计天梯赛 L1-6 吉老师的回归
思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; int main() { int n, t, num = 0; string now; cin >> n >> t; getchar(); for (int i = 1; i ...
分类:其他好文   时间:2021-04-27 15:16:28    阅读次数:0
使用opencv第三方库的makefile文件示例
1.生成可执行程序 INCLUDE = $(shell pkg-config --cflags opencv)#opencv的include头文件路径 LIBS = $(shell pkg-config --libs opencv) -lm #opencv的lib库文件路径 OTHERLIB= -l ...
分类:其他好文   时间:2021-04-27 15:10:02    阅读次数:0
2021团体程序设计天梯赛 L1-8 乘法口诀数列
思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; const int maxn = 1000 + 5; int ans[maxn]; int main() { int a, b, n; cin >> a >> b >> n; ...
分类:其他好文   时间:2021-04-27 15:09:43    阅读次数:0
84546条   上一页 1 ... 35 36 37 38 39 ... 8455 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!