Skip to main content
mpapec's user avatar
mpapec's user avatar
mpapec's user avatar
mpapec
Software Engineer at IPC
  • Member for 15 years
  • Last seen more than a week ago
Stats
50,575
reputation
222
reached
0
answers
1
question
Loading…
About

Users with best score/answer ratio

perl -MpQuery -MData::Dumper -e '*Q = *pQuery;
print Dumper map [
    sort { $b->{ratio} <=> $a->{ratio} }
    map {
        @h{qw(s a u)} = map Q($_)->text,
          @{ Q($_)->find("td") };
        s/k// and $_ *= 1000 for @h{qw(s a)};
        $h{ratio} = $h{s}/$h{a};
        +{%h};
    } @{ Q($_)->find("tr") }
], @{ Q(pop)->find(".fl") }[0,1];
' http://stackoverflow.com/tags/perl/topusers
This user doesn’t have any gold badges yet.
15
silver badges
3
bronze badges
Top tags
0
Score
1
Posts
100
Posts %
0
Score
1
Posts
100
Posts %
Top posts