Pagini recente » Borderou de evaluare (job #2251510) | Borderou de evaluare (job #2569164) | Borderou de evaluare (job #2761596) | Borderou de evaluare (job #2215462) | Borderou de evaluare (job #2777486)
Borderou de evaluare (job #2777486)
Raport evaluator
Compilare:
main.cpp: In function 'int calcul()':
main.cpp:19:14: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]=='+' || s[i]=='-')
^
main.cpp:19:27: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]=='+' || s[i]=='-')
^
main.cpp:21:15: warning: array subscript has type 'char' [-Wchar-subscripts]
if(s[i]=='+')
^
main.cpp: In function 'int termen()':
main.cpp:40:14: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]=='*' || s[i]=='/')
^
main.cpp:40:27: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]=='*' || s[i]=='/')
^
main.cpp:42:15: warning: array subscript has type 'char' [-Wchar-subscripts]
if(s[i]=='*')
^
main.cpp: In function 'int factor()':
main.cpp:60:10: warning: array subscript has type 'char' [-Wchar-subscripts]
if(s[i]=='(')
^
main.cpp:68:18: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
main.cpp:68:31: warning: array subscript has type 'char' [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
main.cpp:70:24: warning: array subscript has type 'char' [-Wchar-subscripts]
x=x*10+(s[i]-48);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 3ms | 262kb | OK | 10 |
10 | 3ms | 262kb | Incorect | 0 |
Punctaj total | 40 |