#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 | #64785802 | Utilizator | |
| Fișier | anagrame1.cpp | Dimensiune | 755 B |
| Data încărcării | 31 Mai 2026, 12:09 | Scor/rezultat | 100 puncte |
anagrame1.cpp:1:19: warning: extra tokens at end of #include directive 1 | #include <fstream>> | ^ anagrame1.cpp:2:20: warning: extra tokens at end of #include directive 2 | #include <iostream>> | ^ anagrame1.cpp: In function ‘void tipar(int)’: anagrame1.cpp:17:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 17 | for ( int i = 1; i <= k; i++) | ^~~ anagrame1.cpp:19:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 19 | fout <<'\n'; | ^~~~
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0.001 secunde | OK. | 20 | 20 | Exemplu | |
| 2 | 0.001 secunde | OK. | 40 | 40 | ||
| 3 | 0.008 secunde | OK. | 40 | 40 | ||
| Punctaj total | 100 | |||||
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ă.