1048: [编程入门]自定义函数之字符串拷贝 摘要:解题思路:注意事项:getchar();//去回车;输入方式学习参考代码:int main(){ int n,m,i; char n1[100]; scanf("%d",&n); getcha…… 题解列表 2021年08月02日 0 点赞 0 评论 347 浏览 评分:0.0
DNA----------------------------------- 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "math.h"char S[100];void X(int a, int x,int y) { for (int…… 题解列表 2021年08月02日 0 点赞 0 评论 323 浏览 评分:0.0
IP判断---------------------------------- 摘要:解题思路:注意事项:参考代码: #include "stdio.h"int main() { char S[100]; int a=0; while (scanf("%s", S)!=EOF) { …… 题解列表 2021年08月02日 0 点赞 0 评论 405 浏览 评分:0.0
数据结构-静态链表(C++) 摘要:#include <iostream> #include <string> #include <iomanip> #define MAXSIZE 11 using namespace …… 题解列表 2021年08月02日 0 点赞 0 评论 414 浏览 评分:0.0
java选择排序 摘要:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { …… 题解列表 2021年08月02日 0 点赞 0 评论 357 浏览 评分:0.0
编写题解 1144: C语言训练-自守数问题 摘要:解题思路:注意事项:注意数据类型使用long long ,否则范围不够。参考代码:#include<stdio.h> int main() { long long i; for(i=0;i<=…… 题解列表 2021年08月02日 0 点赞 0 评论 379 浏览 评分:0.0
二级C语言-阶乘公式求职 摘要:解题思路:题目要求返回值是double类型,前我都只注意定义函数是double型忽略了返回值。注意事项:参考代码:#include<stdio.h>double fact(int x){ int …… 题解列表 2021年08月02日 0 点赞 0 评论 343 浏览 评分:0.0
题解 1037: [编程入门]宏定义的练习 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split())if(a>b): print(a%b)else: print(b%a)…… 题解列表 2021年08月02日 0 点赞 0 评论 465 浏览 评分:0.0
用大数类来解决1977!;并且是非递归的使用(Java代码) 摘要:解题思路:知道大数类的应用注意事项:参考代码: public static void main(String[] args) { BigInteger res = cal(1977…… 题解列表 2021年08月02日 0 点赞 0 评论 390 浏览 评分:0.0
奖学金,思维简化,巧用数组 摘要:解题思路:运用数组进行排序注意事项:在编译器上运行例子是正确的,提交是不知为啥运行错误,求大佬舅救救参考代码:#include<stdio.h>int main(){ int i,j,n,t,k,f;…… 题解列表 2021年08月02日 0 点赞 0 评论 374 浏览 评分:0.0