HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > IMPC-2014-15 Questions > problem:


Ind_01-30. 50764 - Fast Typing Competition

IMPC-2014-15 Questions

Start: Nov.22.2014 at 03:00:00 PM
Finish: Nov.22.2014 at 08:00:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (1)

Contest problems

• 3rd-5. 50415 - The Scientist
• 3rd-6. 50695 - Longest link between...
• 4th-1. 50491 - Brokers
• 4th-2. 50524 - Elevator
• 4th-3. 50535 - Image Compression
• 4th-6. 50536 - Epoka Furgon Shpk
• Ind_01-10. 50752 - Student Groups
• Ind_01-20. 50416 - Placing Domino...
• Ind_01-30. 50764 - Fast Typing ...
• Ind_01-50. 50718 - Elevator
• Ind_02-10. 50497 - Falling Bricks - ...
• Ind_02-20. 50745 - Bitonic Sequence
• Ind_02-30. 50657 - Permutations an...
• Ind_03-10. 50743 - Total Scholarshi...
• Ind_03-20. 50515 - Lines - Revisited
• Ind_03-40. 50777 - Dwarfs Maze
• Ind_03-50. 50679 - Jetpack Hurdle J...

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan.

Fast Typing Competition

Tirana North Park secondary school is organizing a fast typing contest. The students are given a text but they are asked to type every word in reverse letter order. You are asked write a program to find out how many mistakes they had.

Question: Write a program that is going to read the original text and student text. In the end, your program is going to show how many words that they have written incorrectly. Note: You compare the words according to the given order.

Input specification
You will be given an integer (n) in the first line: the number of lines where 1 ≤ n ≤ 100. Then in the following n lines, you will be given a text which has been given to the student. The text contain only 10 numeric digits, 26 English letters and space char. And, every line contains at most 250 chars. Then, the following n lines contain the text typed by the student.

Output specification
Show one integer: the total number of words written improperly.

Sample Input I
2
The contest organization committee
They want to form k equal level groups
ehT tsetnc noitazinagro eettimmoc
yehT tnow ot mrof k lauqe level spuorg
Sample Output I
2

Explanation:
The student has written 2 words incorrectly:

  • The word "contest" has been written as "tsetnc" ('o' letter is missing)
  • The word "want" has been written as "tnow"


Для отправки решений необходимо выполнить вход.

www.contester.ru