成绩评定-switch用法 摘要:解题思路:主要是switch用法,仔细看看这道题!!!注意事项:参考代码:#include<stdio.h>int main(){ int score; char grade; scanf("%d",…… 题解列表 2023年03月07日 0 点赞 0 评论 541 浏览 评分:0.0
三个数找最大值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; int max; scanf("%d%d%d",&a,&b,&c); max=a; if(…… 题解列表 2023年03月07日 0 点赞 0 评论 685 浏览 评分:0.0
1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,s=0; scanf("%d",&n); int a[n]; for(int i=0;i<n;i++…… 题解列表 2023年03月07日 0 点赞 0 评论 377 浏览 评分:0.0
charAt之字符串反转 解题思路:注意事项:参考代码:importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerinput=newScanner(System.in);Stringstr=input.next();Str 题解列表 2023年03月07日 0 点赞 0 评论 462 浏览 评分:0.0
================================================================ 摘要:参考代码:#include <stdio.h>#include <string.h>int function(char str[]){ int h1,m1,s1,h2,m2,s2,t=0; …… 题解列表 2023年03月08日 0 点赞 0 评论 585 浏览 评分:0.0
简单for循环 摘要:解题思路:1、根据对称性,只看前n/2行即可 2、发现奇数行和偶数行的规律 奇数行i/2个*-,结尾i/2个-* 中间全是 题解列表 2023年03月08日 0 点赞 0 评论 531 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 ```c#include#include#include#includeintmain(){chara[3][128];//每一行存一串字符串chartemp[128];//交换字符串for(inti=0;i<3;i++){gets(a[i]);}for(inti=0;i<3;i++)//冒泡排序{f 题解列表 2023年03月08日 0 点赞 0 评论 570 浏览 评分:0.0
一次过 简单栈问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ stack<char>q; string s; cin >>…… 题解列表 2023年03月08日 1 点赞 0 评论 615 浏览 评分:0.0
有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); double sum=0,f1=2,f2=1,f…… 题解列表 2023年03月08日 0 点赞 0 评论 337 浏览 评分:0.0