Pagini recente » Borderou de evaluare (job #1665201) | Borderou de evaluare (job #1446896) | Borderou de evaluare (job #898732) | Borderou de evaluare (job #2392936) | Borderou de evaluare (job #1020473)
Borderou de evaluare (job #1020473)
Raport evaluator
Compilare:
user.cpp: In function ‘int expresie()’:
user.cpp:14:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+' || s[i]=='-')
^
user.cpp:14:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+' || s[i]=='-')
^
user.cpp:15:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='+')
^
user.cpp: In function ‘int termen()’:
user.cpp:33:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*' || s[i]=='/')
^
user.cpp:33:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*' || s[i]=='/')
^
user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='*')
^
user.cpp: In function ‘int factor()’:
user.cpp:54:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='(')
^
user.cpp:63:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
user.cpp:63:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
user.cpp:65:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r=r*10+s[i]-'0';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 360kb | OK | 10 |
2 | 0ms | 360kb | OK | 10 |
3 | 0ms | 360kb | OK | 10 |
4 | 0ms | 360kb | Incorect | 0 |
5 | 0ms | 360kb | Incorect | 0 |
6 | 0ms | 360kb | Incorect | 0 |
7 | 0ms | 368kb | Incorect | 0 |
8 | 0ms | 364kb | Incorect | 0 |
9 | 4ms | 452kb | OK | 10 |
10 | 4ms | 452kb | Incorect | 0 |
Punctaj total | 40 |