Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <string>
- #include <vector>
- #include <algorithm>
- using namespace std;
- /*
- 01 Test 1
- Entrée
- abc
- fgh
- 5
- Sortie attendue
- 5
- 02 Test 2
- Entrée
- a
- b
- 1
- Sortie attendue
- 1
- 03 Test 3
- Entrée
- This is a simple phrase
- eyz?1z?1r1?z~?}v1?y?r?v
- 17
- Sortie attendue
- 17
- 04 Test 4
- Entrée
- A day that is void of your voice is to mean an incomplete one. For with your voice comes the soul melting laughter which is all I need to have a great and happy day. I hope mine makes you feel the same way.
- C"fc{"vjcv"ku"xqkf"qh"{qwt"xqkeg"ku"vq"ogcp"cp"kpeqorngvg"qpg0"Hqt"ykvj"{qwt"xqkeg"eqogu"vjg"uqwn"ognvkpi"ncwijvgt"yjkej"ku"cnn"K"pggf"vq"jcxg"c"itgcv"cpf"jcrr{"fc{0"K"jqrg"okpg"ocmgu"{qw"hggn"vjg"ucog"yc{0
- 2
- Sortie attendue
- 2
- */
- int main()
- {
- string decrypted;
- getline(cin, decrypted);
- string encrypted;
- getline(cin, encrypted);
- cout << encrypted[0] - decrypted[0] << endl;
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement