1073: 弟弟的作业(C语言) 摘要:# 弟弟的作业 ## 代码示例 ```c #include #include #include #include int calcu(int a,int b,int c,char t){…… 题解列表 2021年07月13日 0 点赞 0 评论 479 浏览 评分:0.0
新手上路,注意车祸----c语言 摘要:解题思路:字符串分解后计算注意事项:无参考代码:#include<stdio.h>#include<string.h>int main(){ int p[5],s,i,j,m=0;char q[20]…… 题解列表 2021年08月26日 0 点赞 0 评论 330 浏览 评分:0.0
【C语言】弟弟的作业题解(字符串加减判断) 摘要:## 原题目 你的弟弟刚做完了“100以内数的加减法”这部分的作业,请你帮他检查一下。每道题目(包括弟弟的答案)的格式为a+b=c或者a-b=c,其中a和b是作业中给出的,均为不超过100的非负整数…… 题解列表 2021年10月07日 0 点赞 0 评论 381 浏览 评分:0.0
弟弟的作业 摘要:#include<stdio.h> int main() { int a,b,c,k,count=0; char op; //操作符 while (~(k=scan…… 题解列表 2021年12月04日 0 点赞 0 评论 308 浏览 评分:0.0
如果不是格式化怎么弄?比如数据结构中的任意组合? 摘要:#include<stdio.h> int main() { int a=0,b=0,right_count=0,status,sum=0; char c[4]={'+',&…… 题解列表 2022年01月11日 0 点赞 0 评论 146 浏览 评分:0.0
1073: 弟弟的作业(python 代码) 摘要:解题思路:注意事项:参考代码:s =0 while True: try: m = input() if '?' not in m: if '+' in …… 题解列表 2022年01月16日 0 点赞 0 评论 576 浏览 评分:0.0
弟弟的作业(C++代码) 摘要:解题思路:输入字符串,分别用while循环从字符串中把第一个数、第二个数和算式的结果放到整数a,b,c中,k是运算符号+或-;c的循环前要先判断"="后是否为"?",是问号的话直接判错;最后根据k的值…… 题解列表 2022年04月14日 0 点赞 0 评论 238 浏览 评分:0.0
1073: 弟弟的作业 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; char x; in…… 题解列表 2022年05月02日 0 点赞 0 评论 172 浏览 评分:0.0
C# 1073: 弟弟的作业 atoi(s.c_str())函数 摘要:```cpp #include using namespace std; int main() { //列如1+2=3; int a,c,ans=0;//…… 题解列表 2022年07月28日 0 点赞 0 评论 228 浏览 评分:0.0
c语言 弟弟的作业其实并不难,只要基础知识即可 摘要:解题思路:用结构体来接收内容,再用while(~scanf(……))来循环接收内容,最终我们判断等于号后面的是否是'?',如果是,就自动跳过(不用说肯定不是对的),如果不是我们来算一下…… 题解列表 2022年08月16日 0 点赞 0 评论 257 浏览 评分:0.0