题解列表
C语言程序设计教程(第三版)课后习题6.8 (C语言代码)
摘要:参考代码:int n;float child = 2.0, mother = 1.0;float sum;scanf("%d", &n);for(int i = 1; i <= n; i++) { ……
写个C++的(C++代码)
摘要:解题思路:和C差不多,,,注意事项:参考代码:#include<iostream>#include <cmath>using namespace std;int main(){ int a[10]; ……
蓝桥杯基础练习VIP-时间转换 (C++代码)
摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int t; scanf("%d",&t); int h,m,s; h=t/3600; ……
蓝桥杯基础练习VIP-分解质因数 (C++代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>#define maxn 10005bool isprime[maxn];int prime[ma……
蓝桥杯基础练习VIP-字符串对比 (C++代码)
摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ char s[11],d[11]; scanf("%s%s",……