Home
Projekte
Cpp
Functional
Beispiele
word_count
Zurück
word_count
Makefile
kira.pl
kira2.pl
massif.out.perl_with_array
massif.out.perl_without_array
massif.out.with_boost
massif.out.with_cin
massif.out.with_getline
word_count
word_count.cpp
#!/usr/bin/perl -w use strict; my @rows; my %hash; my $key; chomp(@rows =
); foreach (@rows) { $hash{$_} ++; }; foreach $key (sort keys %hash) { my $value = $hash{$key}; print "$key: $value\n"; };
TOP
Contact me
Fr Jul 30 13:54:24 CEST 2021