#1458
Dându-se o ecuaţie de gradul 2, să se scrie un program care determină soluţiile acestei ecuaţii.
Problema | ecuatii_grad_2 | Operații I/O |
![]() ecuatii.in /ecuatii.out
|
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #56463634 | Utilizator | |
Fișier | ecuatii_grad_2.cpp | Dimensiune | 1.93 KB |
Data încărcării | 20 Februarie 2025, 11:42 | Scor / rezultat | 0 puncte |
ecuatii_grad_2.cpp: In function 'int ston(char*)': ecuatii_grad_2.cpp:28:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(s); ++i) { ^ ecuatii_grad_2.cpp: In function 'int findX(char*)': ecuatii_grad_2.cpp:36:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < strlen(s); ++i) { ^ ecuatii_grad_2.cpp: In function 'int main()': ecuatii_grad_2.cpp:58:9: warning: unused variable 'n' [-Wunused-variable] int n = strlen(s); ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
3 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
4 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
5 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
6 | 0 secunde | Raspuns gresit. | 5 | 0 | Exemplu | |
7 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
8 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
9 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
10 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
11 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
12 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
13 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ecuatii_grad_2 face parte din prima categorie. Soluția propusă de tine va fi evaluată astfel:
Suma punctajelor acordate pe testele utilizate pentru verificare este 100. Astfel, soluția ta poate obține cel mult 100 de puncte, caz în care se poate considera corectă.