题解 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 using namespace std; const int N=110; char s[N]; int main(){ int T; cin>>T……

2858: 整理药名

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

c语言代码解决问题

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

整理药名(c语言)

摘要:```c ```c #include #include int main() { int n,i,j,t; scanf("%d",&n); /*输入个数*/ ……