Find the bug - Code Translated Basic to C - Single File Short Subroutines
- Status: Closed
- Prêmio: $40
- Inscrições Recebidas: 1
- Vencedor: ambrozija
Síntese do concurso
I've have some code that was translated from BASIC to C but there is a bug somewhere. Correctly identify the bug first!
No need to compile and test. Just review the code and identify the bug.
Source code in BASIC:
http://www.dspguide.com/ch12/3.htm (BASIC Line numbers in the 1000s)
http://www.dspguide.com/ch12/5.htm (BASIC Line numbers in the 3000s)
Translated code in C:
Compare the BASIC code in the links provided to the attached file: fft-bug.c
Symptom: The code compiles and runs but the output is not correct.
I'm expecting some small logic error or a +/- that is backwareds. Perhaps an int vs float problem.
Contest will be terminated once the problem is identified.
First to identify, wins.
In the event of multiple bugs/winners, I reserve the right to decide how the award is distributed.
Habilidades Recomendadas
Feedback do Empregador
“This contest was to find a bug in a subroutine. He found it quickly and was correct about the issue. Recommended.”
rpxmike, United States.
Painel de Comentários
Como começar com concursos
-
Publique seu Concurso Rápido e fácil
-
Obtenha Toneladas de Inscrições De todo o mundo
-
Premie a melhor inscrição Baixe os arquivos, é fácil!