Search string:

General topic about Valladolid Online Judge

Moderator: Board moderators

Post Reply
davidander2030
New poster
Posts: 3
Joined: Fri Jan 27, 2012 4:11 pm

Search string:

Post by davidander2030 » Fri Jan 27, 2012 4:15 pm

Programs that take an array and the redundant array of numbers and determine the number of repetitions.
Text is entered. The key is pressed and the program number using each letter is printed on a separate line.
Input
The following program displays the number of occurrences of each letter can be entered.
It should have entered more than 6 characters.
Output
The calculation: In this program, each letter in the total number of occurrences of the search needed to be investigated.
After each letter separately. As you can see the output on a separate line is printed with the number of repeating itself.
Input
David
Output
A
V
D
A 2
D 3
I 1
V 2

Post Reply

Return to “General”