三国游戏 - 暴力搜索 摘要:```c++ #include using namespace std; typedef long long LL; const int N = 1e5+10; int x[N], y[…… 题解列表 2024年03月01日 1 点赞 1 评论 1454 浏览 评分:9.8
高精度处理,注意进制 摘要:#### 题目描述 小蓝最近在研究一种浮点数的表示方法:R 格式。对于一个大于 0 的浮点数 d,可以用 R 格式的整数来表示。给定一个转换参数 n,将浮点数转换为 R格式整数的做法是: …… 题解列表 2024年04月16日 9 点赞 0 评论 1685 浏览 评分:9.8
C二级辅导-阶乘数列 (C语言代码) 摘要:这个题,求阶乘和,循环遍历就可以了,不用双重个循环,每次计算阶乘和,然后累加就可以主要注意数值的大小,用int肯定放不下的,必须用double,并且中间的阶乘结果也要用double才能不会出现答案错误…… 题解列表 2017年06月06日 30 点赞 23 评论 11483 浏览 评分:9.9
简单的a+b (C语言代码) 摘要:最基本的在线刷题入门,基本输入输出,参考http://www.dotcpp.com/wp/34.html『ACM入门』蓝桥杯ACM训练系统基本输入输出教程…… 题解列表 2017年06月07日 0 点赞 0 评论 3011 浏览 评分:9.9
母牛的故事 (C语言代码) 摘要:#include<stdio.h>#include<string.h>#include<stdlib.h>#include<iostream>using namespace std;int main(…… 题解列表 2017年06月09日 1 点赞 0 评论 2027 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:#include<stdio.h>#include<stdlib.h>int main(){ int i, k, t, m, n = 0; int a[5]; scanf("%d", &i);//输入…… 题解列表 2017年06月11日 0 点赞 0 评论 2486 浏览 评分:9.9
台球碰撞 (C语言代码) 摘要:题目分析具体看代码吧代码 #include<stdio.h> #include<math.h> int main() { double L,W,x,y,R,a,v…… 题解列表 2017年06月20日 4 点赞 5 评论 1745 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题8.5 (C语言代码) 摘要:#include<stdio.h> void overturnStr( char* str,int max); int main() { char inputStr[1024]; s…… 题解列表 2017年06月23日 0 点赞 0 评论 1594 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题7.5 (C语言代码) 摘要:#include<stdio.h> int main() { int a[9]; int i; for(i=0;i<10;i++) { scanf("%d",&a[i]); } fo…… 题解列表 2017年06月24日 3 点赞 1 评论 1956 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题7.4 (C语言代码) 摘要:#include<stdio.h> int main(void) { int a[10]; int i,pos; int find=0,x; for(i=0;i<9;i++)sca…… 题解列表 2017年07月02日 0 点赞 0 评论 1534 浏览 评分:9.9