![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hdoj
tttwtt
这个作者很懒,什么都没留下…
展开
-
hdoj2007 && pow精度问题
题解 #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> #include<bits/stdc++.h> using namespace std; int main() { int m,n; int a[10000]; int res1,res2; while(scanf("%d%d",&m,&n)!=EO.原创 2021-03-13 15:18:04 · 94 阅读 · 0 评论 -
hdoj2005 && 闰年计算方法
题解 #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> #include<bits/stdc++.h> using namespace std; int main() { int year,mon,day; int mon_set[13]={0,31,28,31,30,31,30,31,31,30,31,30,31}; int.原创 2021-03-07 17:02:10 · 78 阅读 · 0 评论 -
hdoj 题目分类(转载)
整合分类: 基础题: 1000、1001、1004、1005、1008、1012、1013、1014、1017、1019、1021、1028、1029、1032、1037、1040、1048、1056、1058、1061、1070、1076、1089、1090、1091、1092、1093、1094、1095、1096、1097、1098、1106、1108、1157、1163、1164、1170、1194、1196、1197、1201、1202、1205、1219、1234、1235、1236、1248、转载 2021-03-07 16:27:55 · 193 阅读 · 0 评论 -
hdoj2002 && 除法运算
题解 #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> #include<bits/stdc++.h> using namespace std; #define PI 3.1415927 int main() { double r; double result; while (scanf("%lf",&r)!=EOF).原创 2021-03-07 16:25:22 · 61 阅读 · 0 评论 -
hdoj2000 && scanf函数
题解 #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> #include<bits/stdc++.h> using namespace std; int main() { char a[3],swap; while(scanf("%c%c%c",&a[0],&a[1],&a[2])!=EOF){ .原创 2021-03-04 15:31:38 · 89 阅读 · 1 评论 -
hdoj1001 && 常见的oj错误类型
题解 #include<stdio.h> #include<math.h> #include<string.h> #include<stdlib.h> #include<bits/stdc++.h> using namespace std; int main() { int t; long a,b; scanf("%d",&t); for(int i=1;i<=t;i++){ scan.原创 2021-02-27 11:37:34 · 272 阅读 · 0 评论 -
hdoj1000 && EOF
题解 #include<stdio.h> #include<bits/stdc++.h> using namespace std; int main() { int a,b; while(cin>>a){ cin>>b; cout<<a+b<<endl; } return 0; } 学习笔记: 一、EOF EOF,是End Of File的缩写,存在于文本文件的结尾,表示文件结束。EOF的值为-1。 在终端输入数据时,不会产生EOF。.原创 2020-12-29 15:49:07 · 108 阅读 · 0 评论