Pagini recente » Borderou de evaluare (job #1909327) | Borderou de evaluare (job #691143) | Borderou de evaluare (job #1892969) | Borderou de evaluare (job #1900663) | Borderou de evaluare (job #2164772)
Borderou de evaluare (job #2164772)
Raport evaluator
Compilare:
user.cpp: In function ‘int expresie()’:
user.cpp:11:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:11:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='+'||s[i]=='-')
^
user.cpp:12:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='+')++i,r+=termen();
^
user.cpp: In function ‘int termen()’:
user.cpp:18:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*'||s[i]=='/')
^
user.cpp:18:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]=='*'||s[i]=='/')
^
user.cpp:19:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='*')++i,r*=factor();
^
user.cpp: In function ‘int factor()’:
user.cpp:25:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(s[i]=='('){
^
user.cpp:31:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0'&&s[i]<='9')r=r*10+(s[i]-'0'),++i;
^
user.cpp:31:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0'&&s[i]<='9')r=r*10+(s[i]-'0'),++i;
^
user.cpp:31:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(s[i]>='0'&&s[i]<='9')r=r*10+(s[i]-'0'),++i;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2660kb | OK | 10 |
| 2 | 4ms | 2680kb | OK | 10 |
| 3 | 4ms | 2776kb | OK | 10 |
| 4 | 4ms | 2888kb | Incorect | 0 |
| 5 | 4ms | 2812kb | Incorect | 0 |
| 6 | 4ms | 2784kb | Incorect | 0 |
| 7 | 4ms | 2728kb | Incorect | 0 |
| 8 | 4ms | 2728kb | Incorect | 0 |
| 9 | 4ms | 2740kb | OK | 10 |
| 10 | 4ms | 2772kb | Incorect | 0 |
| Punctaj total | 40 |