Pagini recente » Borderou de evaluare (job #2579865) | Borderou de evaluare (job #2958883) | Borderou de evaluare (job #1616493) | Borderou de evaluare (job #3001277) | Borderou de evaluare (job #1651075)
Borderou de evaluare (job #1651075)
Raport evaluator
Compilare:
user.cpp: In function ‘int expresie()’:
user.cpp:14:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]=='+' || s[p]=='-')
^
user.cpp:14:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]=='+' || s[p]=='-')
^
user.cpp:16:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p]=='+')
^
user.cpp: In function ‘int termen()’:
user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]=='*' || s[p]=='/')
^
user.cpp:32:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]=='*' || s[p]=='/')
^
user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p]=='*')
^
user.cpp: In function ‘int factor()’:
user.cpp:49:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]=='-')
^
user.cpp:54:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p]=='(')
^
user.cpp:61:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]>='0' && s[p]<='9')
^
user.cpp:61:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p]>='0' && s[p]<='9')
^
user.cpp:63:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val = val * 10 + (s[p] - '0');
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 404kb | OK | 10 |
2 | 0ms | 404kb | OK | 10 |
3 | 0ms | 404kb | OK | 10 |
4 | 0ms | 404kb | Incorect | 0 |
5 | 0ms | 400kb | Incorect | 0 |
6 | 0ms | 404kb | Incorect | 0 |
7 | 0ms | 412kb | Incorect | 0 |
8 | 0ms | 420kb | Incorect | 0 |
9 | 0ms | 504kb | OK | 10 |
10 | 0ms | 500kb | Incorect | 0 |
Punctaj total | 40 |