#945
Se dă un număr n scris în baza b și trebuie afișat în baza c.
| Problema | baze | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #60062366 | Utilizator | |
| Fișier | baze.c | Dimensiune | 436 B |
| Data încărcării | 16 Octombrie 2025, 16:59 | Scor/rezultat | 0 puncte |
baze.c: In function 'main': baze.c:7:5: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=] scanf("%d%d%d", &n,&b,&c); ^ baze.c:7:5: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] baze.c:7:5: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] baze.c:24:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d", n2); ^ baze.c:7:10: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &n,&b,&c); ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 2 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 3 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 4 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 5 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 6 | 0 secunde | Raspuns gresit. | 10 | 0 | ||
| 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 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema baze 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ă.