#1268
EasyQuery
Să se gestioneze stocul unui magazin.
Problema | EasyQuery | Operații I/O |
![]() easyquery.in /easyquery.out
|
---|---|---|---|
Limita timp | 0.4 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #57128866 | Utilizator | |
Fișier | easyquery.cpp | Dimensiune | 1.71 KB |
Data încărcării | 17 Martie 2025, 18:31 | Scor / rezultat | Eroare de compilare |
easyquery.cpp:55:13: error: redefinition of 'std::ifstream fin' ifstream fin("easyquery.in"); ^ easyquery.cpp:6:10: error: 'std::ifstream fin' previously declared here ifstream fin("easyquery.in"); ^ easyquery.cpp:56:14: error: redefinition of 'std::ofstream fout' ofstream fout("easyquery.out"); ^ easyquery.cpp:7:10: error: 'std::ofstream fout' previously declared here ofstream fout("easyquery.out"); ^ easyquery.cpp:60:16: error: redefinition of 'long long int sp [10005]' longer sp[10005], v[10005]; ^ easyquery.cpp:11:8: error: 'long long int sp [10005]' previously declared here longer sp[10005], v[10005]; ^ easyquery.cpp:60:26: error: redefinition of 'long long int v [10005]' longer sp[10005], v[10005]; ^ easyquery.cpp:11:19: error: 'long long int v [10005]' previously declared here longer sp[10005], v[10005]; ^ easyquery.cpp: In function 'int main()': easyquery.cpp:76:5: error: redefinition of 'int main()' int main() ^ easyquery.cpp:33:5: error: 'int main()' previously defined here int main() ^
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema EasyQuery 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ă.