#3611
Se dă un număr natural n de exact trei cifre distincte. Să se calculeze suma tuturor numerelor care se pot obține prin interschimbarea cifrelor lui n.
Folclorul informatic
| Problema | sumacifperm | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #61823503 | Utilizator | |
| Fișier | sumacifperm.cpp | Dimensiune | 611 B |
| Data încărcării | 11 Decembrie 2025, 11:30 | Scor/rezultat | Eroare de compilare |
sumacifperm.cpp:5:8: warning: multi-character character constant [-Wmultichar] hkl';lk'/bjugolb jk,cfhykythjd]tdx ^ sumacifperm.cpp:19:5: error: stray '\' in program SA]DFW]R\]\ ^ sumacifperm.cpp:29:1: error: stray '\' in program ncznkcmbnv [e=aep\\\\\\\f\][;ll,df ^ sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:29:1: error: stray '\' in program sumacifperm.cpp:1:1: error: 'cbkmbnkmvnmkmnmbmnkmnmkb' does not name a type cbkmbnkmvnmkmnmbmnkmnmkb ^ sumacifperm.cpp:13:13: error: 'j' does not name a type fgh;j ^ sumacifperm.cpp:14:13: error: 'jk' does not name a type hdg;jk gkhdgdhl'k' ^ sumacifperm.cpp:16:32: error: 'lkfg' does not name a type sfljghllfklhghgglg;lkfg;klghl;kg;lkghfklgf;lgfkhlkfgkhfkkhreg vklnkcon 4e5hy5heyt4jue5ht6u5445u ^ sumacifperm.cpp:16:37: error: 'klghl' does not name a type sfljghllfklhghgglg;lkfg;klghl;kg;lkghfklgf;lgfkhlkfgkhfkkhreg vklnkcon 4e5hy5heyt4jue5ht6u5445u ^ sumacifperm.cpp:16:43: error: 'kg' does not name a type sfljghllfklhghgglg;lkfg;klghl;kg;lkghfklgf;lgfkhlkfgkhfkkhreg vklnkcon 4e5hy5heyt4jue5ht6u5445u ^ sumacifperm.cpp:16:46: error: 'lkghfklgf' does not name a type sfljghllfklhghgglg;lkfg;klghl;kg;lkghfklgf;lgfkhlkfgkhfkkhreg vklnkcon 4e5hy5heyt4jue5ht6u5445u ^ sumacifperm.cpp:16:56: error: 'lgfkhlkfgkhfkkhreg' does not name a type sfljghllfklhghgglg;lkfg;klghl;kg;lkghfklgf;lgfkhlkfgkhfkkhreg vklnkcon 4e5hy5heyt4jue5ht6u5445u ^ sumacifperm.cpp:18:1: error: 'WFEhsdC' does not name a type WFEhsdC ^ sumacifperm.cpp:21:1: error: 'HG' does not name a type HG ^ sumacifperm.cpp:27:9: error: 'fgh' does not name a type hgs;fgh;ah;,grshs ^ sumacifperm.cpp:27:13: error: 'ah' does not name a type hgs;fgh;ah;,grshs ^ sumacifperm.cpp:27:16: error: expected unqualified-id before ',' token hgs;fgh;ah;,grshs ^ sumacifperm.cpp:28:9: error: expected constructor, destructor, or type conversion before 'sSsd' sSsd[hla ^ sumacifperm.cpp:29:32: error: 'll' does not name a type ncznkcmbnv [e=aep\\\\\\\f\][;ll,df ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema sumacifperm 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ă.