samedi 22 février 2014

Re: obj 8-2 topic




On 2014-02-21, Marek Novotny <(E-Mail Removed)> wrote:
> #!/usr/bin/perl
> # File: Obj8-2.pl
> use strict;
> use warnings;
>
> my @array=(5,4,3,1,7,23,12,5,43,29,32,18,49);
> my $answer = 0;


Your algorithm only works for a non-empty array of non-negative numbers.





Aucun commentaire:

Enregistrer un commentaire