#194
Să se genereze toate anagramele unui cuvânt citit.
| Problema | Anagrame1 | Operații I/O |
anagrame1.in/anagrame1.out
|
|---|---|---|---|
| Limita timp | 0.5 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #63822816 | Utilizator | |
| Fișier | anagrame1.cpp | Dimensiune | 781 B |
| Data încărcării | 20 Martie 2026, 10:02 | Scor/rezultat | 0 puncte |
anagrame1.cpp: In function 'void bkt(int)': anagrame1.cpp:23:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(n);i++) ^ anagrame1.cpp:27:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(k==strlen(n)) ^ anagrame1.cpp:26:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if(cont(k)) ^ anagrame1.cpp: In function 'int main()': anagrame1.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<strlen(n)-1;i++) ^ anagrame1.cpp:37:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=i+1;j<strlen(n);j++) ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | Depășit | Limita de timp depășită | 20 | 0 | Exemplu | |
| 2 | Depășit | Limita de timp depășită | 40 | 0 | ||
| 3 | Depășit | Limita de timp depășită | 40 | 0 | ||
| Punctaj total | 0 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Anagrame1 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ă.