![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
蓝桥杯试题集:入门
~无相~
这个作者很懒,什么都没留下…
展开
-
入门训练 A+B问题
#include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << a + b; return 0; }原创 2020-03-07 12:45:42 · 58 阅读 · 0 评论 -
试题 入门训练 序列求和
代码 注意要用long long 会爆int #include <stdio.h> #include <algorithm> #include <iostream> #include <iomanip> using namespace std; int main(){ long long n; cin >> n; ...原创 2020-03-07 12:44:18 · 107 阅读 · 0 评论 -
试题 入门训练 圆的面积
这个保留小数我有点头痛,浮点数本来想+0.00000005的,发现WA了,是因为double本来就不精准,所以还是用输出流函数吧 #include <stdio.h> #include <algorithm> #include <iostream> #include <iomanip> using namespace std; const doubl...原创 2020-03-07 12:40:02 · 242 阅读 · 0 评论 -
入门训练 Fibonacci数列
代码 #include <stdio.h> #include <algorithm> #include <iostream> #include <vector> using namespace std; const int mod=10007; int main(){ int s1=1,s2=1; int n; cin >...原创 2020-03-07 12:38:06 · 313 阅读 · 0 评论