Pagini recente » Borderou de evaluare (job #788786) | Borderou de evaluare (job #240127) | Borderou de evaluare (job #924948) | Borderou de evaluare (job #925048) | Borderou de evaluare (job #3210306)
Borderou de evaluare (job #3210306)
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:21: warning: array subscript has type 'char' [-Wchar-subscripts]
73 | while(isdigit(s[i]) == 1)
| ^
main.cpp:75:24: 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 |