摘要:        
#include <bits/stdc++.h> #define ll long long using namespace std; //利用桶标记的概念 int a[26]; // a[0]代表字母a出现的次数,a[1]代表b...以此类推 int main() { string s; cin>>    阅读全文
posted @ 2024-10-31 15:09
行胜于言Ibl
阅读(48)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include<bits/stdc++.h> #define ll long long using namespace std; /* double b = 3.1415926535 C++的保留小数 fixed << setprecision(小数位数)<<要保留小数的变量或表达式 fixed     阅读全文
posted @ 2024-10-31 15:07
行胜于言Ibl
阅读(110)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> #define ll long long using namespace std; int main() { string s; getline(cin,s); cout<<s.size()<<endl; int cnt=0; for(int i=0    阅读全文
posted @ 2024-10-31 15:06
行胜于言Ibl
阅读(82)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include<bits/stdc++.h> #define ll long long using namespace std; int main(){ //长度不相等:1234567 5267 长度长的数字大 string a,b; cin>>a>>b; if(a.size()!=b.size(    阅读全文
posted @ 2024-10-31 15:05
行胜于言Ibl
阅读(62)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include <bits/stdc++.h> using namespace std; int main() { int n; cin>>n; char maxn[51],t[51]; //先输入第一个单词 cin>>maxn; n--; //数量-1 while(n--){ cin>>t; /    阅读全文
posted @ 2024-10-31 15:02
行胜于言Ibl
阅读(118)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include<bits/stdc++.h> using namespace std; int main(){ string a,b; //字符串可能空格,所以使用扫描一整行的方式 getline(cin,a); getline(cin,b); //把a字符串变成长的 if(a.size()<b.    阅读全文
posted @ 2024-10-31 14:59
行胜于言Ibl
阅读(96)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号