Find Jobs
Hire Freelancers

Code two optimal solutions to simple coding challenges in generic C++ for Linux

$10-30 USD

Cancelado
Publicado hace alrededor de 8 años

$10-30 USD

Pagado a la entrega
You will be given a simple project that involves coding about a 100 to 200 line C++ project to complete a coding challenge. You can not use STL, boost, third party software, or any of the new features of C++ 11/14/17. I am looking for a super optimal solution so I can impress my friends who I am competing against. If you do well on this challenge, I will hire you for more coding challenges. There are two coding challenges. I have already coded them myself and it took me about 1 hour to do both and my version took 100 lines of code. If you bid on this project, I will send you a PDF describing the challenges because I don't want the challenges to be public. Also, you can IM me for the project description prior to bidding. Thank you.
ID del proyecto: 9574859

Información sobre el proyecto

12 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hello, I am a Software Engineer and a competitive programmer and I have been using C++ for all my projects and coding contests. I currently rank 493 out of almost 38000 competitive programmers. Link to check - [login to view URL] Since I have a lot of experience in coding with C++, I can assure you that I will be able to complete the task that you specify and deliver it to you WITHIN 15 MINS from starting the project. Hoping to work with you. Thank You.
$20 USD en 0 día
4,9 (43 comentarios)
4,6
4,6
12 freelancers están ofertando un promedio de $26 USD por este trabajo
Avatar del usuario
Hello. Perhaps, we worked together before. Can you send more details about your assignment? Hope, my previous solution was enough optimized..
$27 USD en 3 días
4,9 (1090 comentarios)
7,5
7,5
Avatar del usuario
Hello, I teach C++. Here is a quickly coded up solution for you. It should be quite optimised, by avoiding unnecessary /redundant IF conditions/checks(and so on). If you like it , I can do the other one for you, once the bid is accepted. #include <stdio.h> int GetMaxNumWordsInSentence (char *str) { int nTotWords=0; // total words found in loongest sentance int nWordCount=0,i=0; bool bInMiddleOfWord=false; char ch=0; for (i=0; str[i] != '\0' ; i++) { ch = str[i]; if(!bInMiddleOfWord) { if( (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z')) { bInMiddleOfWord = true; } } else { if (ch == ' ') // end of word encountered { nWordCount++; bInMiddleOfWord = false; } else if (ch == '.' || ch == '!' || ch == '?') // end of sentance encountered { if(++nWordCount > nTotWords) // compare number of words found in last sentance, with num of words in this sentance nTotWords = nWordCount; nWordCount =0; } } }// end for return nTotWords; } int main(int argc, char *argv[]) { char szBuffer[100]= "We will see what the time is. Happy Hour is now?"; int sol = GetMaxNumWordsInSentence(szBuffer); printf("\n\rLongest sentance contained %d words\n\r", sol); char szBuffer2[100]= "Fore score and seven years ago.  This is a great car!"; int sol2 = GetMaxNumWordsInSentence (szBuffer2); printf("\n\rLongest sentance contained %d words\n\r", sol2); printf("\n\rHelllo world!\n\r"); return 0; }
$35 USD en 1 día
5,0 (38 comentarios)
6,4
6,4
Avatar del usuario
Hi I have 11 years of experience. I would like to optimize your code.
$35 USD en 2 días
4,9 (17 comentarios)
4,6
4,6
Avatar del usuario
I have an 8+ yrs working with C/C++ that includes image processing , device drivers , communication protocol stakcs and what not. lets see what you have got as a challenge
$25 USD en 1 día
5,0 (1 comentario)
1,8
1,8
Avatar del usuario
I am enrolled in undergraduate program of BS(Computer Sciences). Right now, I am in my final year and since our first semester, we are taught C++ and we've been working in C and C++. So, right now, I've full grip over C++ including all of its concepts like Structs, Classes, Inheritance, Polymorphism, etc.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I am an algorithmic problem solver and i am solving algorithmic challenges for 3 years in different web sites, i have participated in several online & onsite programming contests including ICPC-2015 Dhaka Regional. You can give me shot and I can guaranty you that you won't be disappointed.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Maintaining a rank in top 10000 on spoj makes me the best candidate for this . Also I am not alone ,,, I can easily do both of your questions you specified....just message me and I will send you their solutions Please give me a chance
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
hi i have both the solutions . u cud ping me for the solutions. .
$35 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de UNITED STATES
New Kensington, United States
4,2
71
Forma de pago verificada
Miembro desde abr 7, 2006

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.