Pagini recente » Borderou de evaluare (job #1794343) | Borderou de evaluare (job #2591164) | Borderou de evaluare (job #1742575) | Borderou de evaluare (job #1103861) | Borderou de evaluare (job #2253393)
Borderou de evaluare (job #2253393)
Raport evaluator
Compilare:
user.cpp: In function ‘int eval()’:
user.cpp:14:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[p] == '+')
^
user.cpp:19:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p] == '-')
^
user.cpp: In function ‘int termen()’:
user.cpp:31:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[p] == '*')
^
user.cpp:34:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p] == '/')
^
user.cpp: In function ‘int factor()’:
user.cpp:46:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (s[p] == '(')
^
user.cpp:54:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (isdigit(s[p]))
^
user.cpp:55:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{r = r * 10 + (s[p] - '0') ;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1320kb | OK | 10 |
2 | 0ms | 1324kb | Incorect | 0 |
3 | 0ms | 1324kb | Incorect | 0 |
4 | 0ms | 1320kb | Incorect | 0 |
5 | 0ms | 1320kb | Incorect | 0 |
6 | 0ms | 1328kb | Incorect | 0 |
7 | 0ms | 1328kb | Incorect | 0 |
8 | 0ms | 1328kb | Incorect | 0 |
9 | 0ms | 1420kb | Incorect | 0 |
10 | 0ms | 1412kb | Incorect | 0 |
Punctaj total | 10 |