2005年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意数据类型和输出格式参考代码:#include<stdio.h>int main(){ double F; int i; for(i = -100;i <= 1…… 题解列表 2018年07月03日 0 点赞 0 评论 861 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:直接代入函数注意事项:double pow(double x,double y)计算x的y次幂参考代码:#include<stdio.h>#include<math.h>int main()…… 题解列表 2018年07月03日 0 点赞 0 评论 816 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:注意函数的返回值,第一次写的int,wa一次参考代码:#include<stdio.h>double fact(int k){ int f; if(k == 0 || …… 题解列表 2018年07月03日 0 点赞 0 评论 1101 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题11.3 (C语言代码) 摘要:解题思路:结构体注意事项:参考代码:#include<stdio.h>struct student{ char id[20]; char name[20]; int score1; …… 题解列表 2018年07月03日 0 点赞 0 评论 627 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[10003]; int m,n; int…… 题解列表 2018年07月03日 0 点赞 0 评论 797 浏览 评分:0.0
P1005 (C++代码) 摘要:解题思路:动态规划注意事项:参考代码:#include <cstdlib>#include<iostream>using namespace std;int s[1001];int main(int …… 题解列表 2018年07月03日 0 点赞 0 评论 762 浏览 评分:8.0
字符逆序 (C语言代码) 摘要:解题思路:正向输入,逆向输出 注意事项:要注意scanf和gets的区别,前者以空格划分字符串参考代码:#include<iostream>#include<cstring>using namespa…… 题解列表 2018年07月03日 0 点赞 0 评论 579 浏览 评分:0.0
基础训练数列排序 (Java代码) 摘要:解题思路:注意事项:参考代码:package cWeb.acm; import java.util.Arrays; import java.util.Scanner; public cl…… 题解列表 2018年07月02日 0 点赞 0 评论 793 浏览 评分:0.0
P1003 (C语言代码) 摘要:解题思路:每次都按一个往返来加,和M来比较注意事项:参考代码:#include<stdio.h>int main(){ int M,T,U,F,D; int i; char ch; …… 题解列表 2018年07月02日 0 点赞 0 评论 714 浏览 评分:0.0
蓝桥杯算法训练VIP-特殊的数字四十 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int f(int n) { int sum=0; while(…… 题解列表 2018年07月02日 2 点赞 0 评论 920 浏览 评分:2.0