2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:#include<stdio.h> #include <stdlib.h> #include <math.h> int main() { int n,row,col; int **ma…… 题解列表 2019年01月03日 0 点赞 0 评论 1324 浏览 评分:0.0
C语言训练-"水仙花数"问题2 (C语言代码) 摘要:解题思路:自己看注意事项: 换行参考代码:#include<stdio.h>int main() { int a; for(a=100; a<1000; a++) { if((a/…… 题解列表 2019年01月03日 0 点赞 0 评论 579 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:函数的应用注意事项:保留两位数参考代码:#include<stdio.h>#include<math.h>int main() { float x; scanf("%f",&x); if(x…… 题解列表 2019年01月03日 0 点赞 0 评论 834 浏览 评分:0.0
C/C++ Vector动态数组 荣耀 (C/C++代码) 摘要:解题思路:定义一个vector向量容器来存储数据,相当于C语言中的动态数组。vector<int> vec;然后把数据存入vec容器中vec.push_back(data);然后复用switch开关语…… 题解列表 2019年01月03日 4 点赞 0 评论 897 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.1 (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include struct day { int year; int month; int day…… 题解列表 2019年01月03日 4 点赞 3 评论 876 浏览 评分:9.0
去除空格 (C++代码)此处可以骚操作一波 摘要:解题思路:读入,然后,输出,循环...注意事项:这里,scanf读入字符串时会自动识别空格,并结束一次输入,循环读入即实现题目要求。参考代码:#include <stdio.h> int main(…… 题解列表 2019年01月03日 4 点赞 1 评论 1225 浏览 评分:9.6
寻找奇整数 (C++代码) 摘要:解题思路:把原题中偶数都改成“-1”,然后直接查询给出的数字在列表中的位置参考代码:#include <iostream> using namespace std; int main() …… 题解列表 2019年01月03日 1 点赞 0 评论 1104 浏览 评分:0.0
计算输入数据的和与乘积 (C++代码) 摘要:解题思路:把数字作为char数组读入,处理起来会更方便一些。参考代码:#include <iostream> #include <cstring> using namespace std; …… 题解列表 2019年01月03日 0 点赞 0 评论 1432 浏览 评分:7.3
优质题解 C/C++数学思维推导求解汽水瓶 (C/C++语言代码) 摘要:编译测试:Linux Debain Ubuntu/Kali g++Windows Visual Studio/华为Source Insight 4.0解题思路:本题我的方法是进行数学推导! 毕竟像这…… 题解列表 2019年01月03日 3 点赞 0 评论 2528 浏览 评分:9.9
【出圈】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int n,m,i,curans,j; while(scan…… 题解列表 2019年01月04日 0 点赞 0 评论 837 浏览 评分:0.0