不用input,用标准输入来输入 摘要:解题思路:一个数%10获得个位上的数,一个数//10获得除了个位上的数注意事项:参考代码:import syswhile True: s_in=sys.stdin contenir=s_i…… 题解列表 2022年05月07日 0 点赞 0 评论 602 浏览 评分: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 评论 487 浏览 评分:0.0
用数组与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 评论 362 浏览 评分: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 评论 321 浏览 评分:0.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 评论 343 浏览 评分:0.0
编写题解 1001: [编程入门]第一个HelloWorld程序 摘要:#include <iostream> using namespace std; int main() { cout<<"**************************"<<en…… 题解列表 2022年05月07日 0 点赞 0 评论 267 浏览 评分: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 评论 338 浏览 评分: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 评论 389 浏览 评分:0.0
用数组自定义函数之字符提取 摘要:#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 评论 339 浏览 评分:0.0
编写题解 1004: [递归]母牛的故事 摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ …… 题解列表 2022年05月07日 0 点赞 0 评论 381 浏览 评分:0.0