Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

$n = readline(); for($i = 0; $i < $n ; $i++) { $name = readline(); $names[$name] = (isset($names[$name]) ? $names[$name] + 1 : 1); }

($names[$name]) ? $names[$name] + 1 : 1);
}$n = readline();
for($i = 0; $i < $n ; $i++) {
    $name = readline();
    $names[$name]  = (isset
Source by quera.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
1+6 =