zoukankan      html  css  js  c++  java
  • codevs 4028 EZ系列

    4028 EZ系列之愤怒的一天

     
    题目描述 Description

    有一天,在某某教学楼某某课室某某课桌旁,某某某大声尖叫起来。

    在那一瞬间,勇敢的丁畅大大站了出来,向某某某讨好,结果被揍得半死。

    丁畅大大很愤怒,于是开始了一系列的报复行动。。。

    输入描述 Input Description

    看样例

    输出描述 Output Description

    看样例

    样例输入 Sample Input

    first

    68748974567484748467469

    5678987979789

    second

    57745787987989898

    65498494949849494984949498

    样例输出 Sample Output

    bigger

    less

    数据范围及提示 Data Size & Hint

    ^-^

    就是比大小

    #include<iostream>
    #include<cstdio>
    #include<cstring>
    #include<cmath>
    #include<algorithm>
    #include<string>
    
    using namespace std;
    
    
    char b[1000],a[1000];
    
    int main()
    {
        scanf("%s
    %s",a,b);
        if(strlen(a)>strlen(b))    printf("bigger
    ");
        else    printf("less
    ");
        return 0;
    }
    /*
    first
    68748974567484748467469
    5678987979789
    second
    57745787987989898
    65498494949849494984949498
    
    */
  • 相关阅读:
    yii2的安装
    php Laravel windows安装
    vimrc for windows
    Magento学习
    php Ajax 局部刷新
    php用于URL的base64
    分享自建的 Jrebel License Server 激活 Jrebel
    Windows下安装Redis服务(zip)
    Windows下安装Redis服务
    MySQL中有关TIMESTAMP和DATETIME的总结
  • 原文地址:https://www.cnblogs.com/kuaileyongheng/p/6711121.html
Copyright © 2011-2022 走看看