Find Jobs
Hire Freelancers

Simple Matrix Function in C -- 2

$10-30 USD

已完成
已发布超过 5 年前

$10-30 USD

货到付款
Considering a matrix of 10 rows by 12 columns containing integers, do a recursive function that locates in that matrix and returns how many sequences from numbers decreasing to 1 exist from the (lin, col) position and with initial value n. It is allowed to search right, left, up and down considering the value n minus one unit. As an example, the function should work for the program below, and this program should write "Qtd Seq = 4". Note that there are 4 sequences from the number 12 to the number 1 from the line = 2, column = 6 of the matrix below, identified with bold numbers and underlines. Remember that in language C the first line is 0 and also the first hill is 0. int main () {   int mat [10] [12] = {{34,45,18,56,98,33,42,67, 6,11,40,10}                    (88.59,23,34,44,11,34,61,43, 1,3,9)                    {33,32,31,22,33,77,12,11,34,98,72,74},                    {40,50,21,17,15,52,45,10, 9,32,27,30},                    (4,14,32,11,22,33,44,65, 8,52,76,12),                    {6,13,56,91,22,45,22,18, 7,45,23,44},                    (8, 9, 20, 87, 2, 5, 56, 5, 6, 5, 4, 3)                    (12.99.23, 4, 3.81, 42, 4, 8, 4.77, 2,                    (98.97, 96.95, 38, 1, 2, 3.56, 3.56, 1),                    (3,1,7,45,93,96, 1.46, 1, 2.41,23);   printf ("Qtd Seq =% d \ n", qtdseq (mat, 2,6,12)); }
项目 ID: 17307359

关于此项目

9提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
hi i am expert in c programming and i can easily handle your task please consider
$10 USD 在1天之内
3.3 (9条评论)
3.8
3.8
9威客以平均价$30 USD来参与此工作竞价
用户头像
I know algorithms and recursion well. I can finish the project within 24 hours so please consider this offer.
$25 USD 在1天之内
4.9 (12条评论)
3.6
3.6
用户头像
Hey, I have quite a good bit of experience with C/C++ programming. I did quite similar tasks for my programming courses too. I should be able to help you out.
$15 USD 在1天之内
5.0 (1条评论)
2.0
2.0
用户头像
it can be designed with the help of MUL and ADD function in C. if we designed same program in C++, it will be more reliable to use and other functionality can be added easily.
$20 USD 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Thank you for considering me for this project. It appears from the description that you need an efficient algorithm programmed into a recursive function in C. I will write a function to count all sequences that decreases to 1 from any number provided in the parameters. I've been programming in C for over 3 years and am well versed with its technicalities and writing efficient code, and can complete such tasks as this one within 2 days or less. I look forward to your reply.
$20 USD 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

BRAZIL的国旗
Caxias do Sul, Brazil
5.0
7
付款方式已验证
会员自6月 6, 2016起

客户认证

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