用数组自定义函数之字符提取 摘要:#include <stdio.h>#define N 100void oppo(char sz1[],char sz2[]){ int m,n=0,i; m=strlen(sz1); for(i=0…… 题解列表 2022年05月07日 0 点赞 0 评论 294 浏览 评分:0.0
编写题解 1003: [编程入门]密码破译 摘要:#include <iostream>using namespace std;string a;int main(){ cin>>a; for(int i=0;i<=a.size()-1;i++) …… 题解列表 2022年05月07日 0 点赞 0 评论 326 浏览 评分:0.0
编写题解 1002: [编程入门]三个数最大值 摘要:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; cout<<max(max(a,…… 题解列表 2022年05月07日 0 点赞 0 评论 287 浏览 评分:0.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:#include <iostream> using namespace std; int main() { cout<<"**************************"<<en…… 题解列表 2022年05月07日 0 点赞 0 评论 216 浏览 评分:0.0
保留字母(C++代码) 摘要:解题思路:只需要判断是否位英文字母来进行输出就可以很方便的完成这道题;注意事项:我不知道有没有空格,但用getline会更保险;要判断大小写;参考代码:#include<bits/stdc++.h>/…… 题解列表 2022年05月07日 0 点赞 0 评论 334 浏览 评分:6.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))printf("%d\n",a+b); retu…… 题解列表 2022年05月07日 0 点赞 0 评论 293 浏览 评分:0.0
小白数组思想c语言代码 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define N 100void oppo(char sz1[],char sz2[]){ int m,n,i; m=strlen(…… 题解列表 2022年05月07日 0 点赞 0 评论 269 浏览 评分:0.0
[编程入门]筛选N以内的素数 摘要:解题思路:这题十分简单,考的知识点是素数筛选表。1、设一个bool函数,来判断是否为素数。 bool cheack(int a){ for(int i=2;i*i<=a;i++) …… 题解列表 2022年05月07日 0 点赞 0 评论 333 浏览 评分:9.9
用数组与for循环解题 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define N 100void oppo(char sz[],int m){ int j; for(j=m-1;j>=0;j--)…… 题解列表 2022年05月07日 0 点赞 0 评论 303 浏览 评分:0.0
利用for循环解题 超简单的小白思想c语言代码 摘要:解题思路:注意事项:参考代码:#includevoid susu(int i){ int j,k; for(j=2;j<i;j++){ if(i%j==0){ printf("not prime…… 题解列表 2022年05月07日 0 点赞 0 评论 420 浏览 评分:0.0