1480: 模拟计算器(两种解法) 摘要:解题思路:注意事项:参考代码:Scanner sc=new Scanner(System.in); String str = sc.nextLine(); String[] s = str…… 题解列表 2024年04月05日 1 点赞 0 评论 554 浏览 评分:9.9
1480 模拟计算器 初学者一定能懂 摘要:解题思路:用强制转换把ch转换成int类型注意事项:需要理解强制转换的定义,括号里面的是需要转换到的数据类型。e.g #include <stdio.h> int main() …… 题解列表 2024年11月17日 3 点赞 0 评论 710 浏览 评分:9.9
用match case写 摘要:解题思路:注意事项:除法取的整除//参考代码:a,b,c=input().split()a=int(a)b=int(b)match c: case "+"…… 题解列表 2026年03月13日 1 点赞 0 评论 2 浏览 评分:10.0