#162
Determinați toate permutările circulare spre stânga ale unui vector dat.
| Problema | PermCirc | Operații I/O |
tastatură/ecran
|
|---|---|---|---|
| Limita timp | 0.1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
| Id soluție | #64788603 | Utilizator | |
| Fișier | permcirc.cpp | Dimensiune | 374 B |
| Data încărcării | 31 Mai 2026, 18:45 | Scor/rezultat | 100 puncte |
permcirc.cpp: In function ‘int main()’: permcirc.cpp:12:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 12 | for (j=1;j<=n;j++) | ^~~ permcirc.cpp:14:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 14 | cout<<endl; | ^~~~ permcirc.cpp:15:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 15 | for (j=1;j<=n;j++) | ^~~ permcirc.cpp:17:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 17 | v[n]=x; | ^
| 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.001 secunde | OK. | 40 | 40 | ||
| Punctaj total | 100 | |||||
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema PermCirc 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ă.