#3154
anagrame_pfv
Se citește de la tastatură un cuvânt s
format din cel mult 11
litere mici distincte. Să se genereze în ordine alfabetică și să se afișeze toate anagramele cuvântului s
în care vocalele sunt puncte fixe.
Problema | anagrame_pfv | Operații I/O |
![]() |
---|---|---|---|
Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #58569133 | Utilizator | |
Fișier | anagrame_pfv.cpp | Dimensiune | 995 B |
Data încărcării | 20 Iunie 2025, 22:06 | Scor / rezultat | 0 puncte |
anagrame_pfv.cpp: In function 'bool solutie(int)': anagrame_pfv.cpp:8:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return(k==strlen(s)); ^ anagrame_pfv.cpp: In function 'void afisare()': anagrame_pfv.cpp:12:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1; i<=strlen(s); i++) ^ anagrame_pfv.cpp: In function 'void bkt(int)': anagrame_pfv.cpp:26:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else for(int i=1; i<=strlen(s); i++) ^ anagrame_pfv.cpp: In function 'int main()': anagrame_pfv.cpp:35:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(s)-1; i++) ^ anagrame_pfv.cpp:36:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=i+1; j<strlen(s); j++) ^ anagrame_pfv.cpp:45:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<strlen(s); i++) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
4 | 0 secunde | Raspuns gresit. | 20 | 0 | ||
5 | Depășit | Limita de timp depășită | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema anagrame_pfv 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ă.