码迷,mamicode.com
首页 >  
搜索关键字:printf bc    ( 16964个结果
P5163 WD与地图
###链接 贴一下青君大佬的博客~ #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back #define pi pair<int,int> #define mk make_pair us ...
分类:其他好文   时间:2020-11-27 11:15:36    阅读次数:6
Atcoder Beginner Contest 184
Atcoder Beginner Contest 184 A-Determinant Solution: 输出$ad-bc$ #include <iostream> using namespace std; int main() { int a, b, c, d; cin >> a >> b >> ...
分类:其他好文   时间:2020-11-26 15:23:49    阅读次数:14
Linux常用命令
打印命令 使用echo命令进行打印输出 echo '123' echo $PATH printf打印命令,常用于格式化输出 printf "hello world \n" printf "%d%s\n" 1 "abc" printenv命令可以打印环境变量 printenv 时间日期类命令 -dat ...
分类:系统相关   时间:2020-11-26 15:12:09    阅读次数:35
测试1
#include<stdio.h> int main(void){ int i,j,sum,allsum; for(j=1;j<=50;j++) {sum=0; for(i=1;i<=j;i++) sum+=i; allsum+=sum; } printf("%d",allsum); return ...
分类:其他好文   时间:2020-11-26 15:02:26    阅读次数:5
测试2
#include<stdio.h> int main(void){ int a,b,c,d,i=0; for(a=0;a<=9;a++) for(b=0;b<=9;b++) for(c=0;c<=9;c++) for(d=0;d<=9;d++) if((10a+b)(10c+d)==(10b+a)( ...
分类:其他好文   时间:2020-11-26 15:00:57    阅读次数:6
开箱即用
参考链接:https://zh.wikipedia.org/wiki/%E5%BC%80%E7%AE%B1%E5%8D%B3%E7%94%A8 开箱即用功能又称为out of the box(OOTB)或者称为off the shelf,在软件上指产品安装后无需配置或修改就可以使用。 常用的开箱即用 ...
分类:其他好文   时间:2020-11-26 14:59:48    阅读次数:8
11.14 补题
7-1 阅览室,感觉思路还好,但是写的太繁琐了,借鉴一下过的代码,又写了一遍;,代码: #include<bits/stdc++.h> using namespace std; int s[1010],w[1010]; int main() { int n; cin>>n; while(n--) { ...
分类:其他好文   时间:2020-11-26 14:11:33    阅读次数:3
lex和yacc学习
main.h文件 #ifndef MAIN_HPP #define MAIN_HPP #include <iostream>//使用C++库 #include <string> #include <stdio.h>//printf和FILE要用的 using namespace std; /* * ...
分类:其他好文   时间:2020-11-24 13:01:44    阅读次数:22
实验三
#include<math.h> #include<stdio.h> int main(){ float a,b,c,x1,x2; float delta,real,imag; printf("Enter a,b,c:"); while(scanf("%f%f%f",&a,&b,&c)!=EOF){ ...
分类:其他好文   时间:2020-11-24 12:17:23    阅读次数:9
一顿操作猛如虎,一看头发。。。
#include <math.h> #include <stdio.h> int main() { float a, b, c, x1, x2; float delta, real, imag; printf("Enter a, b, c: "); while(scanf("%f%f%f", &a, ...
分类:其他好文   时间:2020-11-24 12:14:01    阅读次数:6
16964条   上一页 1 ... 26 27 28 29 30 ... 1697 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!