@cooller
565 / 533 / 120
Регистрация: 25.12.2013
Сообщений: 1,456
|
05.05.2014, 23:05
|
|
Tony399, C++ | 1
2
3
4
5
6
7
8
9
| #include <iostream>
#include<string>
int main()
{
std::string first_word,second_word;
std::cin>>first_word>>second_word;
std::cout<<std::boolalpha<<(first_word[0]==second_word[second_word.size() - 1]);
return 0;
} |
|
0
|