Pagini recente » Cod sursa (job #2414981) | Borderou de evaluare (job #1884661)
Borderou de evaluare (job #1884661)
Raport evaluator
Compilare:
user.cpp: In function ‘int eval()’:
user.cpp:14:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p] == '+' || s[p] == '-'){
^
user.cpp:14:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p] == '+' || s[p] == '-'){
^
user.cpp:15:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
switch(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:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p] == '*' || s[p] == '/'){
^
user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
switch(s[p]){
^
user.cpp: In function ‘int factor()’:
user.cpp:50:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[p] == '('){
^
user.cpp:55:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p] >= '0' && s[p] <= '9'){
^
user.cpp:55:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[p] >= '0' && s[p] <= '9'){
^
user.cpp:56:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r = r * 10 + s[p] - '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 | 412kb | Incorect | 0 |
6 | 0ms | 408kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 420kb | Incorect | 0 |
9 | 0ms | 516kb | OK | 10 |
10 | 0ms | 508kb | Incorect | 0 |
Punctaj total | 40 |