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 | #15155529 | Utilizator | |
Fișier | anagrame1.cpp | Dimensiune | 1007 B |
Data încărcării | 02 Aprilie 2019, 21:01 | Scor / rezultat | Eroare de compilare |
anagrame1.cpp:8:29: warning: missing terminating " character [enabled by default] ofstream fout(permutari1.out"); ^ anagrame1.cpp:8:1: error: missing terminating " character ofstream fout(permutari1.out"); ^ anagrame1.cpp:8:15: error: 'permutari1' was not declared in this scope ofstream fout(permutari1.out"); ^ anagrame1.cpp:10:13: error: 'n' was not declared in this scope int st[100],n; ^ anagrame1.cpp: In function 'bool succesor(int)': anagrame1.cpp:15:12: error: 'st' was not declared in this scope return st[k]<n; ^ anagrame1.cpp:15:18: error: 'n' was not declared in this scope return st[k]<n; ^ anagrame1.cpp: In function 'bool solutie(int)': anagrame1.cpp:20:15: error: 'n' was not declared in this scope return k==n; ^ anagrame1.cpp: In function 'bool valid(int)': anagrame1.cpp:26:12: error: 'st' was not declared in this scope if(st[i]==st[k]) ^ anagrame1.cpp: In function 'void tipar(int)': anagrame1.cpp:33:17: error: 'st' was not declared in this scope fout<<S[st[i]-1]; ^ anagrame1.cpp: In function 'void bck()': anagrame1.cpp:39:5: error: 'st' was not declared in this scope st[k]=0; ^ anagrame1.cpp: In function 'int main()': anagrame1.cpp:60:5: error: 'n' was not declared in this scope n=strlen(S); ^ anagrame1.cpp: In function 'bool succesor(int)': anagrame1.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ anagrame1.cpp: In function 'bool solutie(int)': anagrame1.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
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ă.