Pagini recente » Borderou de evaluare (job #2979350) | Borderou de evaluare (job #2686674) | Borderou de evaluare (job #1495248) | Borderou de evaluare (job #1743339) | Borderou de evaluare (job #2866299)
Borderou de evaluare (job #2866299)
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 |
1 | 2ms | 184kb | Incorect | 0 |
2 | 2ms | 184kb | Incorect | 0 |
3 | 2ms | 184kb | Incorect | 0 |
4 | 2ms | 184kb | Incorect | 0 |
5 | 2ms | 184kb | Incorect | 0 |
6 | 2ms | 184kb | Incorect | 0 |
7 | 2ms | 184kb | Incorect | 0 |
8 | 2ms | 184kb | Incorect | 0 |
9 | 2ms | 184kb | Incorect | 0 |
10 | 2ms | 184kb | Incorect | 0 |
Punctaj total | 0 |