Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #943428) | Borderou de evaluare (job #2067289) | Borderou de evaluare (job #435794) | Borderou de evaluare (job #1361960)
Borderou de evaluare (job #1361960)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int eval()’:
user.cpp:16:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:16:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:18:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='+')
^
user.cpp: In function ‘long long int termen()’:
user.cpp:35:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (s[i]=='*'||s[i]=='/')
^
user.cpp:35:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (s[i]=='*'||s[i]=='/')
^
user.cpp:37:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='*')
^
user.cpp: In function ‘long long int factor()’:
user.cpp:54:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='(')
^
user.cpp:62:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=s[i]&&s[i]<='9')
^
user.cpp:62:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while('0'<=s[i]&&s[i]<='9')
^
user.cpp:64: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 | 396kb | OK | 10 |
| 2 | 0ms | 400kb | OK | 10 |
| 3 | 0ms | 400kb | OK | 10 |
| 4 | 0ms | 404kb | Incorect | 0 |
| 5 | 0ms | 400kb | Incorect | 0 |
| 6 | 0ms | 400kb | Incorect | 0 |
| 7 | 0ms | 412kb | Incorect | 0 |
| 8 | 0ms | 412kb | Incorect | 0 |
| 9 | 0ms | 496kb | OK | 10 |
| 10 | 0ms | 496kb | Incorect | 0 |
| Punctaj total | 40 |