蛇行矩阵 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; int i,j; int k=1,m=1; scanf("%d",&n); for(i=0;i<…… 题解列表 2018年11月05日 0 点赞 0 评论 839 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.7 (C++代码)使用vector可变长数组,个人用 摘要:解题思路:向量 vector 是一种对象实体, 能够容纳许多其他类型相同的元素, 因此又被称为容器。 与string相同, vector 同属于STL(Standard Template Librar…… 题解列表 2018年11月05日 0 点赞 0 评论 1046 浏览 评分:0.0
蓝桥杯基础练习VIP-高精度加法 (C语言代码) 摘要:解题思路:注意事项: 注意 ++ 的位置 参考代码:#include <cstdio> #include <cstring> #include <string> #include <c…… 题解列表 2018年11月05日 1 点赞 0 评论 901 浏览 评分:9.5
求哪里错了?? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int m,n,freq,num,max=0,temp; int i,j; while(scanf("%d%d"…… 题解列表 2018年11月05日 0 点赞 0 评论 695 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.10 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,n,a=1; scanf("%d",&n); for (i=n-1;i>=1;i--) { a=(…… 题解列表 2018年11月05日 0 点赞 0 评论 478 浏览 评分:0.0
字符逆序 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class 字符逆序 { public static void main(String []args…… 题解列表 2018年11月05日 0 点赞 0 评论 463 浏览 评分:0.0
C语言训练-亲密数 (C++代码) 摘要:解题思路:题目把答案报出来了,直接打印也可以。无脑写了一段,本来以为会比较耗时间和内存,但是结果还是0MB,0ms,看来c++的数据结构优化的还是很可以的注意事项:参考代码:#define _CRT_…… 题解列表 2018年11月05日 0 点赞 0 评论 1386 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题10.5 (C语言代码)来自刚刚学习c的小菜鸟 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,num=0,h=0; int i,j,k,m=0; int a[100]; scanf("%d",…… 题解列表 2018年11月05日 0 点赞 2 评论 932 浏览 评分:9.9
妹子杀手的故事 (C语言代码) 摘要:解题思路:注意事项:参考代码:int a,b;while(scanf("%d %d\n",&a,&b)!=EOF) if(a==0 && b==0) { break;…… 题解列表 2018年11月05日 6 点赞 0 评论 1445 浏览 评分:7.3
C语言考试练习题_保留字母 (C++代码) 摘要:解题思路:注意事项:可能有空格参考代码:#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> #incl…… 题解列表 2018年11月05日 0 点赞 0 评论 698 浏览 评分:0.0