Questions tagged as 'algoritmos'

0
answers

Generate digital signature Google maps statics api

Where can I find the operations performed by the algorithm (HMAC-SHA1) that uses Google maps api to obtain the signature that is incorporated at the end of the URL's? I want to program in Visual Basic from the URL and the "secret of signature of...
asked by 24.11.2017 / 13:32
2
answers

Logica Programming

I need if you can help me with a simple algorithm in whatever language, I have the following I have a existencia=3 , I have a two rows that have saldo=1 , saldo=3 , precio_uni=154.16 , precio_uni=116 . Well what...
asked by 10.08.2018 / 03:50
1
answer

why does this binary conversion give me an incorrect value in javascript?

I have the following decimal number converter function binario(numero) {  var division = 0;  var binario = [];  do {  division = numero / 2;  if (numero % 2 == 0) {  binario.unshift("1");  } else { ...
asked by 06.05.2017 / 15:32
1
answer

How to work with decimals in linux shell, conditional use if & else

I'm working on a code that allows to know the classification of a student through a note entered in shell linux, my problem is that I could not adjust the value to decimal places, if I use the "," the program runs but does not work good. I at...
asked by 01.10.2018 / 20:01
1
answer

Problem in the function call in Python 3

I have a code in python 3 and it gives me errors in calls to defined methods. My code: import hormiga import tareas class Colonia: def __init__ (self, tareas, n_iteraciones, evaporacion=0.1, n_hormigas=20): self.__constanteEva...
asked by 03.02.2018 / 14:35
1
answer

ABB: Values are not printed when traversing it

I have this implementation of a binary search tree in C; I have to do 3 routes in it: preorder, inbound and bidder. The problem is that I do not print anything and the code has no errors, I guess what is wrong is my logic, but I can not find t...
asked by 19.02.2018 / 05:52
1
answer

Algorithms / Cycles - Rewrite algorithm using cycles cycles 1-n

I am doing algorithm I exercises and I have a doubt about the statement that asks to do cycles 1-n. The statement is: Rewrite algorithms MI-16 to MI-18, using cycles 1-n And the MI-16 to MI-18 are the following: MI-16: Enter and repor...
asked by 05.12.2017 / 15:39
2
answers

add input values and subtract them if necessary

Good morning, I have the following script which adds the real-time values of 5 input, they all have the class input_values_provisionals and shows them in a span of id total_provisionals The question is that if for example the sum goes to 20 a...
asked by 05.04.2018 / 21:28
1
answer

Add input angular text

Suppose I have the following: <body data-ng-init="getTotal()"> <input type="number" ng-change="getTotal()" ng-model="factor.inputs[0]" ng-value="30"/> <input type="number" ng-change="getTotal()" ng-model="factor.inputs[1]" ng-va...
asked by 10.11.2016 / 12:31
1
answer

Rocking by percentage? [closed]

Good afternoon Dear, The problem itself is not coding but rather to define a process well and then codify it. I have the present situation, I must refer or delegate tasks to x or and webService according to a defined percentage. Example:...
asked by 29.10.2018 / 23:17