Pagini recente » Borderou de evaluare (job #906549) | Borderou de evaluare (job #2922475) | Borderou de evaluare (job #2686631) | Borderou de evaluare (job #2859405) | Borderou de evaluare (job #2927239)
Borderou de evaluare (job #2927239)
Raport evaluator
Compilare:
main.cpp: In function 'int operatie()':
main.cpp:11:10: warning: array subscript has type 'char' [-Wchar-subscripts]
11 | if(x[i]=='(')
| ^
main.cpp:20:17: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | while(x[i]>='0' && x[i]<='9')
| ^
main.cpp:20:30: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | while(x[i]>='0' && x[i]<='9')
| ^
main.cpp:22:23: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | y=y*10+(x[i]-'0');
| ^
main.cpp: In function 'int expresie()':
main.cpp:33:12: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | while(x[i]=='m' || x[i]=='M')
| ^
main.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | while(x[i]=='m' || x[i]=='M')
| ^
main.cpp:35:12: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | if(x[i]=='m')
| ^
main.cpp:41:17: warning: array subscript has type 'char' [-Wchar-subscripts]
41 | else if(x[i]=='M')
| ^
main.cpp: In function 'int main()':
main.cpp:55:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
55 | fin>>x+1;
| ~^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Incorect | 0 |
2 | 0ms | 184kb | Incorect | 0 |
3 | 0ms | 184kb | Incorect | 0 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | Incorect | 0 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
11 | 0ms | 184kb | Incorect | 0 |
12 | 0ms | 184kb | Incorect | 0 |
13 | 0ms | 184kb | Incorect | 0 |
14 | 0ms | 184kb | Incorect | 0 |
15 | 0ms | 188kb | Incorect | 0 |
16 | 0ms | 184kb | OK | 5 |
17 | 0ms | 184kb | OK | 5 |
18 | 0ms | 184kb | OK | 5 |
19 | 0ms | 188kb | Incorect | 0 |
20 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 15 |