原帖由 khandielas 于 2008-8-27 12:50 发表
#!/usr/bin/env perl
use strict;
use warnings;
open CHENGJI, 'chengji.log';
local $/;
$_ = ;
s/[A-Za-z]+//g;
my %chengji = reverse split;
my @k = reverse sort {$a$b} keys %chengji;
fo ...
原帖由 hitsubunnu 于 2008-8-28 15:36 发表
print sort {(split(/ /,$b))[1] (split(/ /,$a))[1]} ;
__END__
1 88
2 90
3 85
4 70
5 90
6 99
7 85
8 65
9 70
10 66
6 99
2 90
5 90
1 88
3 85
7 85
4 70
9 70
10 6 ...
say "my special long is fuck do computer"
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |