字符串的输入输出处理 摘要:解题思路:while (gets(str) != NULL)用来进行判断是否输入结束注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){…… 题解列表 2021年10月14日 0 点赞 0 评论 432 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<b&&a<c) if…… 题解列表 2021年10月14日 0 点赞 0 评论 377 浏览 评分:0.0
1040: [编程入门]实数的打印 标题-题解(python) 摘要:解题思路:注意事项:参考代码:a = float(input())print('{:6.2f}'.format(a))print('{:6.2f} {:6.2f}'.f…… 题解列表 2021年10月14日 0 点赞 0 评论 481 浏览 评分:0.0
1044: [编程入门]三个字符串的排序-题解(python代码) 摘要:解题思路:注意事项:参考代码:l = []for i in range(3): l.append(input())l.sort()for i in l: print(i)…… 题解列表 2021年10月14日 0 点赞 0 评论 477 浏览 评分:0.0
堆栈的使用sgdfhjas 摘要:解题思路:注意事项:参考代码:#include "stdio.h"#include "stdlib.h"#define MaxSize 100typedef int ElemType;typedef …… 题解列表 2021年10月15日 0 点赞 0 评论 400 浏览 评分:0.0
1097: 蛇行矩阵 摘要:解题思路:先寻找每一行的规律,然后暴力输出注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][n]…… 题解列表 2021年10月15日 0 点赞 0 评论 361 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include <stdio.h> struct student{ char id[10]; char name[20]; int …… 题解列表 2021年10月15日 0 点赞 0 评论 687 浏览 评分:0.0
Java实现(简单易懂,逆推公式) 摘要:package com.edu.hhxy;import java.util.Scanner;/** * @author five-five * @link https://www.dotcpp.com…… 题解列表 2021年10月15日 0 点赞 0 评论 586 浏览 评分:0.0
二级C语言-分段函数-题解(python) 摘要:解题思路:注意事项:参考代码:x = int(input())if x<1: y = xelif 1<=x<10: y = 2*x-1else: y = 3*x-11print("{…… 题解列表 2021年10月15日 0 点赞 0 评论 467 浏览 评分:0.0
题解 1116: IP判断 摘要:解题思路:巧用scanf函数的返回值来实现循环注意事项:取反是当返回值为-1的时候取反为1,循环结束参考代码:#include<stdio.h>int main(){ int a,b,c,d,k; c…… 题解列表 2021年10月15日 0 点赞 0 评论 500 浏览 评分:0.0