|
|
×
提示!该题解未通过审核,建议分享者本着启发他人,照亮自己的初衷以图文并茂形式完善之,请勿粘贴代码。#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #define x first #define y second using namespace std; typedef pair<char,char> PCC;
const int N = 3010; PCC pcc[N];
int main() { int n, len; cin >> n >> len; if(n == 1){ puts("1"); return 0; } for(int i = 1; i <= n; i ++) { string s; cin >> s; char minc = s[0], maxc = s[0]; for(int j = 1; j < len; j ++ ) {
if(s[j] < minc) minc = s[j 该题解等待再次审核........................................................................(剩余 955 个中英字符)
题目3953 [NOIP 2023]词典
2024-07-17 09:40:09
|