Pagini recente » Borderou de evaluare (job #2905304) | Borderou de evaluare (job #3239169) | Borderou de evaluare (job #581984) | Borderou de evaluare (job #220295) | Borderou de evaluare (job #1497034)
Borderou de evaluare (job #1497034)
Raport evaluator
Compilare:
user.cpp: In function ‘int exp()’:
user.cpp:13:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] != '(')
^
user.cpp:16:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (v[i] >= '0' && v[i] <= '9')
^
user.cpp:16:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while (v[i] >= '0' && v[i] <= '9')
^
user.cpp:18:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr = nr * 10 + v[i] - '0';
^
user.cpp:23:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (v[i] == '(')
^
user.cpp: In function ‘int inmultire()’:
user.cpp:32:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] == '*')
^
user.cpp:38:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if (v[i] == '/')
^
user.cpp: In function ‘int scadere()’:
user.cpp:51:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] == '-')
^
user.cpp: In function ‘int adunare()’:
user.cpp:63:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] != '\0')
^
user.cpp:67:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] == ')')
^
user.cpp:70:10: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (v[i] == '+')
^
user.cpp: In function ‘int exp()’:
user.cpp:28:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int adunare()’:
user.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 420kb | OK | 10 |
3 | 0ms | 420kb | OK | 10 |
4 | 0ms | 380kb | Killed by signal 8(SIGFPE). | 0 |
5 | 0ms | 420kb | Incorect | 0 |
6 | 0ms | 420kb | Incorect | 0 |
7 | 0ms | 432kb | Incorect | 0 |
8 | 0ms | 428kb | Incorect | 0 |
9 | 0ms | 520kb | OK | 10 |
10 | 0ms | 512kb | Incorect | 0 |
Punctaj total | 40 |