Pagini recente » Borderou de evaluare (job #2720744) | Borderou de evaluare (job #562765) | Borderou de evaluare (job #2700537) | Borderou de evaluare (job #82439) | Borderou de evaluare (job #3210310)
Borderou de evaluare (job #3210310)
Raport evaluator
Compilare:
main.cpp: In function 'int expresie()':
main.cpp:22:13: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | while(s[i] == '-' || s[i] == '+')
| ^
main.cpp:22:28: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | while(s[i] == '-' || s[i] == '+')
| ^
main.cpp:24:14: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | if(s[i] == '+')
| ^
main.cpp: In function 'int factor()':
main.cpp:40:13: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | while(s[i] == '*' || s[i] == '/')
| ^
main.cpp:40:28: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | while(s[i] == '*' || s[i] == '/')
| ^
main.cpp:42:14: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | if(s[i] == '*')
| ^
main.cpp: In function 'int termen()':
main.cpp:58:10: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | if(s[i] == '(')
| ^
main.cpp: In function 'int constanta()':
main.cpp:73:13: warning: array subscript has type 'char' [-Wchar-subscripts]
73 | while(s[i]>='0' && s[i]<= '9')
| ^
main.cpp:73:26: warning: array subscript has type 'char' [-Wchar-subscripts]
73 | while(s[i]>='0' && s[i]<= '9')
| ^
main.cpp:75:25: warning: array subscript has type 'char' [-Wchar-subscripts]
75 | r = r * 10 + (s[i] - '0');
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | OK | 10 |
10 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 40 |