题解 2936: 简单算术表达式求值 摘要:解题思路:用find查找运算符所在的位置,然后用切片的方式分离运算数,最后执行运算。&nbs…… 题解列表 2025年07月25日 0 点赞 0 评论 380 浏览 评分:0.0
2936: 简单算术表达式求值 ```cpp#includeusingnamespacestd;intjs(inta,charc,intb){if(c=='+')cout 题解列表 2024年07月25日 0 点赞 0 评论 643 浏览 评分:0.0
简单算术表达式求值(C++) #includeusingnamespacestd;intmain(){inta,b;charch;scanf("%d%c%d",&a,&ch,&b);switch(ch){case'+':cout 题解列表 2023年03月03日 0 点赞 0 评论 677 浏览 评分:0.0
构建函数表达算数表达式的值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>void jia(int a,int b){ int add=0; add=a+b; printf("%d",add);}void …… 题解列表 2023年04月08日 0 点赞 0 评论 683 浏览 评分: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 评论 609 浏览 评分:0.0
简单算术表达式求值(整点花活,三目运算符) 摘要:参考代码: ```c #include int main() { int a; char c; int b; scanf("%d%c%d",&a,&c,&b); int d…… 题解列表 2023年09月21日 1 点赞 0 评论 616 浏览 评分:0.0
题解 2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int yun(int x,int y,char z){ int d; if(z=='+') d=x+y; …… 题解列表 2024年05月07日 0 点赞 0 评论 657 浏览 评分: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 评论 491 浏览 评分:0.0
2936: 简单算术表达式求值 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>int main(){ …… 题解列表 2022年11月07日 0 点赞 0 评论 703 浏览 评分:2.0