Pagini recente » Borderou de evaluare (job #2021879) | Borderou de evaluare (job #1950833) | Borderou de evaluare (job #1893788) | Borderou de evaluare (job #981167) | Borderou de evaluare (job #3201203)
Borderou de evaluare (job #3201203)
Raport evaluator
Compilare:
main.cpp: In function 'int Expresie()':
main.cpp:16:13: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | while(c[i] == '+' || c[i] == '-') {
| ^
main.cpp:16:28: warning: array subscript has type 'char' [-Wchar-subscripts]
16 | while(c[i] == '+' || c[i] == '-') {
| ^
main.cpp:17:14: warning: array subscript has type 'char' [-Wchar-subscripts]
17 | if(c[i] == '+') {
| ^
main.cpp: In function 'int Termen()':
main.cpp:31:13: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | while(c[i] == '*' || c[i] == '/') {
| ^
main.cpp:31:28: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | while(c[i] == '*' || c[i] == '/') {
| ^
main.cpp:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | if(c[i] == '*') {
| ^
main.cpp: In function 'int Factor()':
main.cpp:46:10: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if(c[i] == '(') {
| ^
main.cpp: In function 'int Numar()':
main.cpp:57:20: warning: array subscript has type 'char' [-Wchar-subscripts]
57 | while('0' <= c[i] && c[i] <= '9') {
| ^
main.cpp:57:28: warning: array subscript has type 'char' [-Wchar-subscripts]
57 | while('0' <= c[i] && c[i] <= '9') {
| ^
main.cpp:58:17: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | nm += c[i] - '0';
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
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 | 10 |