Pagini recente » Borderou de evaluare (job #3110781) | Borderou de evaluare (job #2686198) | Borderou de evaluare (job #3127386) | Borderou de evaluare (job #3110858) | Borderou de evaluare (job #2152534)
Borderou de evaluare (job #2152534)
Raport evaluator
Compilare:
user.cpp: In function ‘int aduna()’:
user.cpp:14:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:14:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:16:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='+')
^
user.cpp: In function ‘int produs()’:
user.cpp:26:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*'||s[i]=='/')
^
user.cpp:26:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*'||s[i]=='/')
^
user.cpp:28:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='*')
^
user.cpp:31:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='/')
^
user.cpp: In function ‘int exp()’:
user.cpp:39:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='(')
^
user.cpp:47:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
user.cpp:47:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0' && s[i]<='9')
^
user.cpp:49:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez=rez*10+(s[i]-'0');
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1316kb | OK | 10 |
| 2 | 0ms | 1316kb | OK | 10 |
| 3 | 0ms | 1320kb | OK | 10 |
| 4 | 0ms | 1320kb | Incorect | 0 |
| 5 | 0ms | 1316kb | Incorect | 0 |
| 6 | 0ms | 1316kb | Incorect | 0 |
| 7 | 0ms | 1328kb | Incorect | 0 |
| 8 | 0ms | 1328kb | Incorect | 0 |
| 9 | 0ms | 1412kb | OK | 10 |
| 10 | 0ms | 1412kb | Incorect | 0 |
| Punctaj total | 40 |