Kurse
AnmeldenBeginne KI zu lernen
Kurse
AnmeldenBeginne KI zu lernen
+ 2

Any way to make this code faster? (C++)

https://code.sololearn.com/cgw1WXfU69p6/?ref=app It uses bhaskara to solve a second degree equation.

c++mathfunctionquestioncodingplsoptimizedoubtbhaskarapls-help
2nd Oct 2019, 2:38 PM
Drodrigues
1 Antwort
0
Drodrigues Faster? Maybe. You can use less memory, if you use "printf()" or "puts()" instead of "cout".
5th Oct 2019, 6:53 PM
Manual
Manual - avatar

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
What kind of questions do companies ask in Data Analyst interviews (including Python, SQL, Power BI, and Excel)?
2 Votes
Give some simple practice questions in C
0 Votes
??
1 Votes
Ошибка в приложении Sololearn
1 Votes
NEO V2.0
1 Votes
Hello guys,
1 Votes
How many time I can use sololearn trial mode?
1 Votes
Did sololearn helped you to get easier a job?
1 Votes
Help me
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes