题解 2858: 整理药名

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

二维数组解决方式

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main ( ){     int n=0 ,i=0 ;     char a[101][2……

我很荣幸,将题解发了上来

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char s[1001];int main(){    int l,n;    ci……

整理药名(C++)简单实用

摘要:代码解析:参考代码:#include <iostream>#include <string>#include <cctype>using namespace std;string formatMedi……

编写题解 2858: 整理药名

摘要:参考代码:#include<bits/stdc++.h>using namespace std;char s[1001];int main(){    int l,n;    cin>>n;    f……

2858: 整理药名

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main() {    char a[100][100]; // 定义一个二维数组来存储……

解 2858: 整理药名

摘要:解题思路:注意事项:参考代码:n = int(input())for i in range(n):    s = input()    s = s.lower()    if s[0].isalpha……

编写题解 2858: 整理药名

摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n):    a=input()    b=[&#39; &#39; for k in range(len(a)……

2858: 整理药名(java)

摘要:解题思路:注意事项:参考代码:package arrLast; //题目 2858: 整理药名 import java.util.Scanner; public class t_2858 { ……

2858: 整理药名

摘要:``` #include using namespace std; const int N=110; char s[N]; int main() { int t; cin>>t; ……