Borderou de evaluare (job #2866299)

Utilizator AxicaVirtosu Alexandra Mihaela Axica Data 9 martie 2022 16:21:44
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int expresie()': main.cpp:16:13: warning: array subscript has type 'char' [-Wchar-subscripts] 16 | while(s[i]=='+' || s[i]=='-') | ^ main.cpp:16:26: warning: array subscript has type 'char' [-Wchar-subscripts] 16 | while(s[i]=='+' || s[i]=='-') | ^ main.cpp: In function 'int termen()': main.cpp:28:13: warning: array subscript has type 'char' [-Wchar-subscripts] 28 | while(s[i]=='*' || s[i]=='/') | ^ main.cpp:28:26: warning: array subscript has type 'char' [-Wchar-subscripts] 28 | while(s[i]=='*' || s[i]=='/') | ^ main.cpp:30:15: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | if(s[i]=='*') | ^ main.cpp: In function 'int factor()': main.cpp:47:10: warning: array subscript has type 'char' [-Wchar-subscripts] 47 | if(s[i]=='(') | ^ main.cpp:56:17: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | while(s[i]>='0' && s[i]<='9') | ^ main.cpp:56:30: warning: array subscript has type 'char' [-Wchar-subscripts] 56 | while(s[i]>='0' && s[i]<='9') | ^ main.cpp:58:23: warning: array subscript has type 'char' [-Wchar-subscripts] 58 | r=r*10+(s[i]-'0'); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbIncorect0
22ms184kbIncorect0
32ms184kbIncorect0
42ms184kbIncorect0
52ms184kbIncorect0
62ms184kbIncorect0
72ms184kbIncorect0
82ms184kbIncorect0
92ms184kbIncorect0
102ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?