题解 2936: 简单算术表达式求值 摘要:解题思路:用find查找运算符所在的位置,然后用切片的方式分离运算数,最后执行运算。&nbs…… 题解列表 2025年07月25日 0 点赞 0 评论 357 浏览 评分:0.0
2936:简单算数表达式求值;;;;;;题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int s(int a,char c,int b){&nbs…… 题解列表 2025年07月24日 1 点赞 0 评论 340 浏览 评分:10.0
2936: 简单算术表达式求值 ```cpp#includeusingnamespacestd;intjs(inta,charc,intb){if(c=='+')cout 题解列表 2024年07月25日 0 点赞 0 评论 619 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll jiafa (ll x,ll y,…… 题解列表 2024年06月30日 0 点赞 0 评论 589 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;ll jiafa (ll x,ll y,…… 题解列表 2024年06月30日 0 点赞 0 评论 479 浏览 评分:0.0
编写题解 2936: 简单算术表达式求值 ```c#includeintmain(){intnum_1,num_2;charch;intresult;intfunction(intnum_1,intnum_2,charch);scanf("%d%c%d",&num_1,&ch,&num_2);result=function(num_1, 题解列表 2024年05月27日 3 点赞 0 评论 857 浏览 评分:9.9
题解 2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int yun(int x,int y,char z){ int d; if(z=='+') d=x+y; …… 题解列表 2024年05月07日 0 点赞 0 评论 638 浏览 评分:0.0
简单算术表达式求值(整点花活,三目运算符) 摘要:参考代码: ```c #include int main() { int a; char c; int b; scanf("%d%c%d",&a,&c,&b); int d…… 题解列表 2023年09月21日 0 点赞 0 评论 594 浏览 评分:0.0
编写题解 2936: 简单算术表达式求值(C++) 摘要:解题思路:使用switch参考代码:#include<bits/stdc++.h>using namespace std;int main(){ char ch; int a,b; …… 题解列表 2023年06月10日 0 点赞 0 评论 675 浏览 评分:9.9