编写题解 1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h> //atio函数,将字符串转换为数字.#include<string.h> …… 题解列表 2024年12月07日 4 点赞 0 评论 1049 浏览 评分:10.0
逆天解法,包得吃的。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,d=0; char ch; while(~scanf("%d",&a)) { ch=(ge…… 题解列表 2024年10月24日 2 点赞 0 评论 918 浏览 评分:10.0
我看没有人用结构体数组解,那我就写了一个(C语言) 1)**常规解法**我真的服了,第一次我是用这个方法,结果只过了50%,说是时间超限,找了半天实在不知道哪有问题,我就想着那就用结构体数组,用空间换时间。结构体数组过了,然后我看题解,发现大家都用常规解法,然后我再写一次居然过了,气死我了。```c#include#includeintmain(){i 题解列表 2024年08月12日 2 点赞 0 评论 675 浏览 评分:10.0
弟弟的作业-题解(C语言代码)atoi函数的应用 注意atoi函数的使用可以将字符串转化为整形数#include#includeintadd(inta,intb){returna+b;}intsub(inta,intb){returna-b;}intmain(){inta,b,re,cnt=0;charc, 题解列表 2019年11月17日 0 点赞 0 评论 1885 浏览 评分:9.9
弟弟的作业(我还行的!C语言代码) 摘要:### 题目分析 ####1.格式为a+b=c; ####2.a、b为纯数字,c可能为‘?’字符; ####3.运算符有 ‘+’ & ‘-’. ###解题思路(本题解的解题思路) #…… 题解列表 2020年01月06日 1 点赞 0 评论 1921 浏览 评分:9.9
弟弟的作业 摘要:解题思路:利用scanf的返回值来结果。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,k; char op; int sum=0;…… 题解列表 2023年05月10日 0 点赞 0 评论 529 浏览 评分:9.9
弟弟的作业-题解(C语言代码) 摘要:题目: 你的弟弟刚做完了“100以内数的加减法”这部分的作业,请你帮他检查一下。每道题目(包括弟弟的答案)的格式为a+b=c或者a-b=c,其中a和b是作业中给出的,均为不超过100的非负整数;c是…… 题解列表 2020年03月04日 0 点赞 0 评论 1977 浏览 评分:9.9
优质题解只有stdio.h 摘要:解题思路:注意事项:参考代码:#includeint main() { char equation[10]; int correct = 0; while (scanf("%s", …… 题解列表 2023年11月07日 0 点赞 0 评论 509 浏览 评分:9.9
编写题解 1073: 弟弟的作业 摘要:#include<iostream>using namespace std;int main(){ string st;int a=0,b=0,c=0;bool k=false,f=false;…… 题解列表 2022年07月31日 0 点赞 0 评论 558 浏览 评分:9.9
弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char c=10; int sum=0; int a=0,b=0,d=0,t,k=0,i=0…… 题解列表 2023年04月29日 0 点赞 0 评论 477 浏览 评分:9.9