#1268
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 | #63111476 | Utilizator | |
| Fișier | easyquery.cpp | Dimensiune | 738 B |
| Data încărcării | 14 Februarie 2026, 22:14 | Scor/rezultat | 80 puncte |
easyquery.cpp: In function 'int main()': easyquery.cpp:12:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++){ ^ easyquery.cpp:17:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<x;i++){ ^ easyquery.cpp:29:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=2;i<=n;i++){ ^ easyquery.cpp:32:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++){ ^
| Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
|---|---|---|---|---|---|---|
| 1 | 0 secunde | OK. | 20 | 20 | Exemplu | |
| 2 | 0 secunde | OK. | 20 | 20 | ||
| 3 | 0 secunde | OK. | 20 | 20 | ||
| 4 | 0.024 secunde | OK. | 20 | 20 | ||
| 5 | 0.068 secunde | Raspuns gresit. | 20 | 0 | ||
| Punctaj total | 80 | |||||
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ă.