剪格子 (C++代码) 摘要:#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; …… 题解列表 2017年12月03日 5 点赞 4 评论 976 浏览 评分:0.0
回文数字 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <cstdio>int main(){ int n; scanf("%d",&n); int num=0; for(int a …… 题解列表 2017年12月01日 1 点赞 0 评论 1236 浏览 评分:0.0
打印十字图 (C++代码) 摘要:这题写了好久 原谅我用最蠢的办法写出来了 但思路是最简单的 直接硬上 简单粗暴 没有什么技术含量#include<iostream> using namespace std; char a[131…… 题解列表 2017年11月30日 2 点赞 0 评论 1205 浏览 评分:3.0
C语言程序设计教程(第三版)课后习题3.7 (C++代码) 摘要:解题思路:注意事项:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+…… 题解列表 2017年11月30日 0 点赞 0 评论 829 浏览 评分:0.0
汪汪与打针 (C++代码) 摘要:大家注意最多只能打4针,而且题目问的是能按时打针的次数,所以要注意#include<iostream> using namespace std; int main() { int a,b; …… 题解列表 2017年11月28日 2 点赞 0 评论 1558 浏览 评分:9.9
分糖果 (C++代码) 摘要:#include<iostream> using namespace std; int a[105]; int b[105]; bool f(int a[],int n) { for(i…… 题解列表 2017年11月28日 8 点赞 0 评论 2888 浏览 评分:0.0
永远的丰碑 (C++代码) 摘要:#include<iostream> using namespace std; int main() { int n; while(cin>>n) { if(n==0) …… 题解列表 2017年11月28日 3 点赞 0 评论 949 浏览 评分:2.0
钟神赛车 (C++代码)(标准题解)(与田忌赛马类似) 摘要:这题的题解是转自网上博客 是最标准的答案 (1)先比较两者的好马,如果田忌的好马可以赢过齐王的好马,果断去比,高手过招,赢了才更有满 足感,自豪感嘛! …… 题解列表 2017年11月28日 9 点赞 0 评论 2143 浏览 评分:6.0
C语言考试练习题_一元二次方程 (C++代码) 摘要:解题思路: int d = b*b-4*a*c; 1. d等于0,则两个根相等并等于负的2a分之b, 2. d大于0,则两个根不等,带入公式(-b-sqr…… 题解列表 2017年11月27日 3 点赞 0 评论 1226 浏览 评分:0.0
A+B for Input-Output Practice (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>using namespace std;int main(){ int n,a,b,s; cin…… 题解列表 2017年11月27日 0 点赞 0 评论 596 浏览 评分:0.0