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 | #13310400 | Utilizator | |
Fișier | anagrame1.cpp | Dimensiune | 814 B |
Data încărcării | 17 Ianuarie 2019, 18:58 | Scor / rezultat | Eroare de compilare |
anagrame1.cpp:5:14: error: conflicting declaration 'std::ofstream fin' ofstream fin ("anagrame1.out"); ^ anagrame1.cpp:4:10: error: 'fin' has a previous declaration as 'std::ifstream fin' ifstream fin("anagrame1.in"); ^ anagrame1.cpp: In function 'void tip()': anagrame1.cpp:13:13: error: 'fout' was not declared in this scope fout<<v[st[i]-1]; ^ anagrame1.cpp:14:9: error: 'fout' was not declared in this scope fout<<'\n'; ^ anagrame1.cpp: In function 'void bacc(int)': anagrame1.cpp:25:28: error: 'scrie' was not declared in this scope if(k==n) scrie(); ^ anagrame1.cpp: In function 'int main()': anagrame1.cpp:34:5: error: 'is' was not declared in this scope is.get(v,1000); ^ anagrame1.cpp:33:9: warning: unused variable 'i' [-Wunused-variable] int i; ^
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ă.