#1359
Scrieţi un program care să citească o ecuație de un anumit tip și care să determine: a) tipul ecuației citite; b) soluția ecuației obținută prin rezolvarea acestei ecuații.
| Problema | ecuatie2 | Operații I/O |
ecuatie2.in/ecuatie2.out
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64825288 | Utilizator | |
| Fișier | ecuatie2.cpp | Dimensiune | 1.02 KB |
| Data încărcării | 03 Iunie 2026, 22:32 | Scor/rezultat | 0 puncte |
ecuatie2.cpp: In function ‘int main()’: ecuatie2.cpp:58:24: warning: ‘tip’ may be used uninitialized [-Wmaybe-uninitialized] 58 | cout << "Tip: " << tip << endl; | ^~~ ecuatie2.cpp:10:22: note: ‘tip’ was declared here 10 | int a, b, x = 0, tip; | ^~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 2 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 3 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 4 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 5 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 6 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 7 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 8 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 9 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 10 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 11 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 12 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 13 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 14 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 15 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 16 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 17 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 18 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 19 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| 20 | 0.001 secunde | Raspuns gresit. | 5 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema ecuatie2 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ă.