Problema | Paranteze | Operații I/O |
paranteze.in /paranteze.out
|
---|---|---|---|
Limita timp | 1 secunde | Limita memorie |
Total: 64 MB
/
Stivă 8 MB
|
Id soluție | #40332195 | Utilizator | |
Fișier | paranteze.cpp | Dimensiune | 1009 B |
Data încărcării | 06 Decembrie 2022, 10:24 | Scor / rezultat | 0 puncte |
paranteze.cpp: In function 'int main()': paranteze.cpp:19:14: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] st[0]=NULL; ^ paranteze.cpp:21:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0; j<strlen(s); j++){ ^ paranteze.cpp:35:59: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(s[j]=']' && st[vf]=='[' && vf>0) ^
Test | Timp | Mesaj evaluare | Scor posibil | Scor obținut | ||
---|---|---|---|---|---|---|
1 | 0.304 secunde | Raspuns gresit. | 20 | 0 | Exemplu | |
2 | 0.296 secunde | Raspuns gresit. | 20 | 0 | ||
3 | 0.16 secunde | Raspuns gresit. | 20 | 0 | ||
4 | 0.216 secunde | Raspuns gresit. | 20 | 0 | ||
5 | 0.296 secunde | Raspuns gresit. | 20 | 0 | ||
Punctaj total | 0 |
www.pbinfo.ro permite evaluarea a două tipuri de probleme:
Problema Paranteze 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ă.