Pagini recente » Borderou de evaluare (job #1731298) | Borderou de evaluare (job #3115483) | Borderou de evaluare (job #2668617) | Borderou de evaluare (job #1269168) | Borderou de evaluare (job #1309990)
Borderou de evaluare (job #1309990)
Raport evaluator
Compilare:
user.cpp: In function ‘int expresie()’:
user.cpp:14:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '+' || S[i] == '-'){
^
user.cpp:14:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '+' || S[i] == '-'){
^
user.cpp:15:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '+'){
^
user.cpp: In function ‘int termen()’:
user.cpp:30:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '*' || S[i] == '/'){
^
user.cpp:30:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] == '*' || S[i] == '/'){
^
user.cpp:31:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '*'){
^
user.cpp: In function ‘int factor()’:
user.cpp:45:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(S[i] == '('){
^
user.cpp:51:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] >= '0' && S[i] <= '9'){
^
user.cpp:51:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(S[i] >= '0' && S[i] <= '9'){
^
user.cpp:52:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
sum = sum * 10 + (S[i] - '0');
^
user.cpp: In function ‘int main()’:
user.cpp:60:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
fin >> S + 1;i = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 412kb | OK | 10 |
| 2 | 0ms | 412kb | OK | 10 |
| 3 | 0ms | 408kb | OK | 10 |
| 4 | 0ms | 408kb | 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 | 512kb | Incorect | 0 |
| Punctaj total | 40 |