zoukankan      html  css  js  c++  java
  • 整理打卡

    --------------------20180804

    #include<iostream>
    #include<cstdio>
    using namespace std;
    int main(){
        string ans;
        int n;
        cin>>n;
        for(int i=1;i<=n;i++){
            string a;
            cin>>a;
            ans+=a;
        }
        cout<<endl<<ans;
        return 0;
    }
    
    /*
    3
    abc
    def
    ghi
    
    abcdefghi
    */ 
    #include<iostream>
    #include<cstdio>
    using namespace std;
    int main(){
        int a;
        cin>>a;
        cout<<a;
        return 0;
    }
    /*
    0023
    23
    */
    #include<iostream>
    #include<cstdio>
    #include<cstring>
    #include<algorithm>
    using namespace std;
    int main(){
        string a,b;
        cin>>a;b=a;
        reverse(a.begin(),a.end());
        cout<<b<<endl<<a<<endl;
        return 0;
    }
    /*
    12345
    12345
    54321
    */
    #include<iostream>
    #include<cstdio>
    #include<cstring>
    #include<algorithm>
    using namespace std;
    int main(){
        string a,b;
        getline(cin,a);
        cout<<a;
        return 0;
    }
    /*
    abc def gg
    abc def gg
    */
    #include<iostream>
    #include<cstdio>
    #include<cstring>
    #include<algorithm>
    using namespace std;
    int main(){
        string a,b;
        getline(cin,a,'#');
        cout<<endl<<a;
        return 0;
    }
    /*
    ldfjgjd dfjlg
    fgldg dljglds
    gfkds #
    
    ldfjgjd dfjlg
    fgldg dljglds
    gfkds
    */
    16进制
    由0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 
    构成,类似于2进制由0 1构成。
    10 11 12 13 14 15 
  • 相关阅读:
    JWT
    JS中try catch的用法
    React高级
    React基础
    获取当前时间前面的时间
    nodeJs
    数组里的字符串数字与数字互转
    寒假学习(二)spark学习
    寒假学习(一)Web开发人员学习路线图
    如何使用GitHub上传本地项目(idea功能强大可直接提交)
  • 原文地址:https://www.cnblogs.com/zzyh/p/7643369.html
Copyright © 2011-2022 走看看