2860基础解法(Python) 摘要:解题思路:全小写(大写)、替换空格、删除冗余注意事项:一定要加strip()参考代码:n1 = input().lower().replace(' ', '').str…… 题解列表 2023年04月09日 0 点赞 2 评论 256 浏览 评分:9.9
字符串判等(C++) 摘要:解题思路: 你可以使用 C++ 标准库中的函数 tolower 和 isspace 来忽略大小写和空格。 具体来说,你可以对每个字符使用 tolower 函数将它转换为小写字母,并使用 isspa…… 题解列表 2022年12月26日 1 点赞 0 评论 746 浏览 评分:9.9
字符串判等(简介) 摘要:解题思路:注意事项:参考代码:package arrLast; //题目 2860: 字符串判等 import java.util.Scanner; public class t_2860 { …… 题解列表 2024年02月04日 0 点赞 0 评论 125 浏览 评分:0.0
String方法>>>>>>>>>>>>>>>>>>>>>>> 摘要:import java.util.Scanner;public class Main { public static void main(String[] args) { Scan…… 题解列表 2023年10月16日 0 点赞 0 评论 189 浏览 评分:0.0
字符串判等java 摘要:解题思路:注意事项:参考代码:public class Test { public static void main(String[] args) { Scanner scanne…… 题解列表 2023年10月13日 0 点赞 0 评论 225 浏览 评分:0.0
编写题解 2860: 字符串判等 java 正则表达式 摘要:import java.util.Scanner; import java.util.regex.Matcher; import java.util.regex.Pattern; publi…… 题解列表 2023年10月07日 0 点赞 0 评论 154 浏览 评分:0.0
2860: 字符串判等 摘要:解题思路:注意事项:参考代码:a = input().strip()b = input().strip()c = a.replace(" ", "")d = b.replace(" ", "")c =…… 题解列表 2024年08月01日 0 点赞 0 评论 489 浏览 评分:0.0
2860: 字符串判等 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){string s,snew;getline(cin,s);f…… 题解列表 2024年11月03日 0 点赞 0 评论 93 浏览 评分:0.0
字符串判等,,,,,, 摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; int main(){ // 定义四个字符串变量,用于存储输入和处…… 题解列表 2024年11月29日 0 点赞 0 评论 151 浏览 评分:0.0