#467
Se dă un număr natural n
cu exact trei cifre. Calculaţi produsul dintre cifra unităților și cifra sutelor.
Problema | Numar | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #58427429 | Utilizator | |
Fișier | numar.cpp | Dimensiune | 2.35 KB |
Data încărcării | 03 Iunie 2025, 17:26 | Scor / rezultat | Eroare de compilare |
numar.cpp: In function 'int main()': numar.cpp:19:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:33:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:47:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:61:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:75:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:89:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:103:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:117:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:131:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:145:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:159:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^ numar.cpp: In function 'int main()': numar.cpp:173:5: error: redefinition of 'int main()' int main() ^ numar.cpp:5:5: error: 'int main()' previously defined here int main() ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Numar 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ă.