Borderou de evaluare (job #1309877)
Raport evaluator
Compilare:
user.cpp: In function ‘int Expresie()’:
user.cpp:13:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '+' || S[i] == '-'){
^
user.cpp:13:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '+' || S[i] == '-'){
^
user.cpp:14:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '+'){
^
user.cpp: In function ‘int Termen()’:
user.cpp:29:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '*' || S[i] == '/'){
^
user.cpp:29:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '*' || S[i] == '/'){
^
user.cpp:30:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '*'){
^
user.cpp: In function ‘int Factor()’:
user.cpp:44:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '('){
^
user.cpp:50:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] >= '0' && S[i] <= '9'){
^
user.cpp:50:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] >= '0' && S[i] <= '9'){
^
user.cpp:51:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sum = sum * 10 + (S[i] - '0');
^
user.cpp: In function ‘int main()’:
user.cpp:59:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
fin >> S + 1;i = 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 376kb | Time limit exceeded. | 0 |
2 | Depăşit | 376kb | Time limit exceeded. | 0 |
3 | Depăşit | 376kb | Time limit exceeded. | 0 |
4 | Depăşit | 372kb | Time limit exceeded. | 0 |
5 | Depăşit | 376kb | Time limit exceeded. | 0 |
6 | Depăşit | 372kb | Time limit exceeded. | 0 |
7 | Depăşit | 388kb | Time limit exceeded. | 0 |
8 | Depăşit | 388kb | Time limit exceeded. | 0 |
9 | Depăşit | 480kb | Time limit exceeded. | 0 |
10 | Depăşit | 472kb | Time limit exceeded. | 0 |
Punctaj total | 0 |