#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 | #43493296 | Utilizator | |
Fișier | easyquery.cpp | Dimensiune | 506 B |
Data încărcării | 29 Aprilie 2023, 01:29 | Scor / rezultat | Eroare de compilare |
easyquery.cpp: In function 'int main()': easyquery.cpp:8:15: error: variable 'std::ifstream f' has initializer but incomplete type ifstream f("easyquery.in") ^ easyquery.cpp:9:5: error: expected ',' or ';' before 'ofstream' ofstream g("easyquery.out") ^ easyquery.cpp:11:18: error: found ':' in nested-name-specifier, expected '::' for(i=1; i<=n:i++) ^ easyquery.cpp:11:17: error: 'n' is not a class, namespace, or enumeration for(i=1; i<=n:i++) ^ easyquery.cpp:11:22: error: expected ';' before ')' token for(i=1; i<=n:i++) ^ easyquery.cpp:12:12: error: 'v' was not declared in this scope f>>v[i]; ^ easyquery.cpp:19:9: error: 's' was not declared in this scope s[x]+=p; ^ easyquery.cpp:24:9: error: 's' was not declared in this scope s[i]+=s[i-1]; ^ easyquery.cpp:25:9: error: 'v' was not declared in this scope v[i]=v[i]+s[i]; ^ easyquery.cpp:28:9: error: 'g' was not declared in this scope g<<v[i]<<' '; ^ easyquery.cpp:28:12: error: 'v' was not declared in this scope g<<v[i]<<' '; ^
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ă.