Pagini recente » Borderou de evaluare (job #1672603) | Borderou de evaluare (job #361253) | Borderou de evaluare (job #231026) | Borderou de evaluare (job #754096) | Borderou de evaluare (job #1359548)
Borderou de evaluare (job #1359548)
Raport evaluator
Compilare:
user.cpp: In function ‘int eval()’:
user.cpp:27:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] == '+' || sir[poz] == '-')
^
user.cpp:27:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] == '+' || sir[poz] == '-')
^
user.cpp:28:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
switch(sir[poz]){
^
user.cpp: In function ‘int expr()’:
user.cpp:42:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] == '*' || sir[poz] == '/')
^
user.cpp:42:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] == '*' || sir[poz] == '/')
^
user.cpp:43:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
switch(sir[poz]){
^
user.cpp: In function ‘int fact()’:
user.cpp:57:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(sir[poz] == '('){
^
user.cpp:62:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] >= '0' && sir[poz] <= '9'){
^
user.cpp:62:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(sir[poz] >= '0' && sir[poz] <= '9'){
^
user.cpp:63:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
num = num * 10 + sir[poz] - '0';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 412kb | OK | 10 |
2 | 0ms | 408kb | OK | 10 |
3 | 0ms | 416kb | OK | 10 |
4 | 0ms | 412kb | Incorect | 0 |
5 | 0ms | 408kb | Incorect | 0 |
6 | 0ms | 408kb | Incorect | 0 |
7 | 0ms | 420kb | Incorect | 0 |
8 | 0ms | 424kb | Incorect | 0 |
9 | 0ms | 508kb | OK | 10 |
10 | 0ms | 504kb | Incorect | 0 |
Punctaj total | 40 |