循环 (C语言代码) 摘要:解题思路:指数叠加的大整数运算。注意事项:题目上说的n<10100这一句应该是打错了,。我把程序查来查去查不出错。后来把输入的int改成字符串,设了200位,就通过了。参考代码:#include<st…… 题解列表 2017年12月18日 3 点赞 10 评论 3591 浏览 评分:9.2
C语言程序设计教程(第三版)课后习题6.11 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) {…… 题解列表 2017年12月18日 2 点赞 0 评论 1153 浏览 评分:0.0
WU-Tom数 (C语言代码) 摘要:参考代码:#include<stdio.h> int sum(char a[]) { int sum1=0,i; for(i=0;a[i]!='\0';i++) { …… 题解列表 2017年12月18日 6 点赞 0 评论 1584 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题10.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,a[100],j,k=0;//定义人员数量 int quit=0;//退出人数 s…… 题解列表 2017年12月18日 0 点赞 0 评论 761 浏览 评分:0.0
我美吗! 摘要:解题思路: 详见代码,不懂可以留言偶注意事项:每次循环完成后都要清空数组。参考代码://大数求和,所以必须用字符串解决计算 #include <stdio.h> #include <string…… 题解列表 2017年12月18日 3 点赞 1 评论 642 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>double fact(n){ int i; do…… 题解列表 2017年12月18日 0 点赞 0 评论 828 浏览 评分:0.0
2004年秋浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ int i,max,a[10],…… 题解列表 2017年12月18日 0 点赞 0 评论 1023 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(1) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <math.h>int main(){ double x,y; s…… 题解列表 2017年12月18日 0 点赞 0 评论 922 浏览 评分:0.0
2005年春浙江省计算机等级考试二级C 编程题(3) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){ int i,j,n,a[80][80],maxi,maxj,max…… 题解列表 2017年12月18日 0 点赞 0 评论 896 浏览 评分:0.0
2006年春浙江省计算机等级考试二级C 编程题(2) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>double fact(int k);double fact(k){ double sum…… 题解列表 2017年12月18日 0 点赞 0 评论 848 浏览 评分:0.0