--------------------20180804ios
#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