Find Jobs
Hire Freelancers

Convert function form python to haskell - open to bidding

$10-30 USD

已关闭
已发布大约 7 年前

$10-30 USD

货到付款
#! /usr/bin/python import random import sys def recursive_solution(nums, masGrande): if len(nums) == 0: return nums result = recursive_solution(nums[1:], masGrande) if (nums[0] > masGrande) or (masGrande == -1): sequence_with = [nums[0]] + recursive_solution(nums[1:], nums[0]) if len(sequence_with) >= len(result): result = sequence_with return result def printResult(lst) : cargo_types = ['frumento', 'armis', 'aere', 'pannum', 'sparto', 'garum'] for i in lst : print str([login to view URL]( cargo_types, 1 )[0]) + " " + str(i) if (len([login to view URL]) >= 2) : fichero = open([login to view URL][1],'r') else : fichero = open("[login to view URL]",'r') lista = [] for line in fichero : line = [login to view URL]() [login to view URL](int(line[1])) import random import sys solucio = recursive_solution(lista,-1) printResult(solucio)
项目 ID: 13510038

关于此项目

5提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$37 USD来参与此工作竞价
用户头像
Hi I am interested in this I can work with both python and haskell. Could you upload a .txt with the python code because the indentation is destroyed in the post
$28 USD 在1天之内
5.0 (16条评论)
4.4
4.4
用户头像
hello, place your confidence in my Python/Haskell knowledge and experience. let's check if there're any additional requirements and discuss a solution. greets, srdjan
$20 USD 在3天之内
5.0 (15条评论)
4.1
4.1
用户头像
Hi. I have gone through the code. The job looks fairly simple. I am good at haskell programming. I can get the job done in a day.
$15 USD 在1天之内
5.0 (9条评论)
3.4
3.4
用户头像
Hello. I can do it in Haskell. I know Python a bit only, but that is enough to read that code.
$20 USD 在3天之内
5.0 (2条评论)
0.8
0.8

关于客户

SPAIN的国旗
Lleida, Spain
5.0
9
付款方式已验证
会员自3月 5, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。