Borderou de evaluare (job #2927239)

Utilizator Cazacu2006RazvanRazvan Cazacu Cazacu2006Razvan Data 19 octombrie 2022 20:15:45
Problema Expresii min-max Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 15

Raport evaluator

Compilare: main.cpp: In function 'int operatie()': main.cpp:11:10: warning: array subscript has type 'char' [-Wchar-subscripts] 11 | if(x[i]=='(') | ^ main.cpp:20:17: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | while(x[i]>='0' && x[i]<='9') | ^ main.cpp:20:30: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | while(x[i]>='0' && x[i]<='9') | ^ main.cpp:22:23: warning: array subscript has type 'char' [-Wchar-subscripts] 22 | y=y*10+(x[i]-'0'); | ^ main.cpp: In function 'int expresie()': main.cpp:33:12: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | while(x[i]=='m' || x[i]=='M') | ^ main.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | while(x[i]=='m' || x[i]=='M') | ^ main.cpp:35:12: warning: array subscript has type 'char' [-Wchar-subscripts] 35 | if(x[i]=='m') | ^ main.cpp:41:17: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | else if(x[i]=='M') | ^ main.cpp: In function 'int main()': main.cpp:55:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses] 55 | fin>>x+1; | ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbIncorect0
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect0
70ms184kbIncorect0
80ms184kbIncorect0
90ms184kbIncorect0
100ms184kbIncorect0
110ms184kbIncorect0
120ms184kbIncorect0
130ms184kbIncorect0
140ms184kbIncorect0
150ms188kbIncorect0
160ms184kbOK5
170ms184kbOK5
180ms184kbOK5
190ms188kbIncorect0
200ms184kbIncorect0
Punctaj total15

Ceva nu functioneaza?