ABC338(A-C)

A

#include
using namespace std;
int main()
{
    string s;
    cin>>s;
    int l=s.length();
    if(s[0]<'A'||s[0]>'Z'){
        cout<<"No"<'z'){
                cout<<"No"<

B

#include
using namespace std;
int main()
{
    string s;
    cin>>s;
    int l=s.length();
    map mp;
    for(int i=0;imax){
            max=i.second;
            ans=i.first;
        }
    }
    cout<

C

#include
#define ll long long
using namespace std;
int main()
{
    ll n;
    cin>>n;
    ll q[n];
    ll a[n];
    ll b[n];
    for(ll i=0;i>q[i];
    }    
    for(ll i=0;i>a[i];
    }  
    for(ll i=0;i>b[i];
    }  
    ll maxs1=1e18;
    for(ll i=0;imaxs){
            maxs=maxs1-i+maxb;
        }
    }
cout<

你可能感兴趣的:(c语言,算法,c++)