#1270
Se dă un număr natural în baza 16. Să se transforme acest număr în baza 10.
| Problema | b16 | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #62964546 | Utilizator | |
| Fișier | b16.cpp | Dimensiune | 384 B |
| Data încărcării | 09 Februarie 2026, 08:31 | Scor/rezultat | Eroare de compilare |
b16.cpp: In function 'int main()': b16.cpp:1276:34: error: 'strlen' was not declared in this scope b16.cpp:1277:17: warning: array subscript has type 'char' [-Wchar-subscripts] b16.cpp:1277:34: warning: array subscript has type 'char' [-Wchar-subscripts] b16.cpp:1278:22: warning: array subscript has type 'char' [-Wchar-subscripts] b16.cpp:1279:17: warning: array subscript has type 'char' [-Wchar-subscripts] b16.cpp:1279:34: warning: array subscript has type 'char' [-Wchar-subscripts] b16.cpp:1280:27: warning: array subscript has type 'char' [-Wchar-subscripts]
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema b16 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ă.