Pagini recente » Cod sursa (job #1009194) | Borderou de evaluare (job #2597247) | Borderou de evaluare (job #521786) | Borderou de evaluare (job #2442260) | Borderou de evaluare (job #1867267)
Borderou de evaluare (job #1867267)
Raport evaluator
Compilare:
user.cpp: In function ‘int Fact(char, std::vector<int>&, int&)’:
user.cpp:20:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isdigit(mat[let][poz])){
^
user.cpp:22:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(isdigit(mat[let][poz])){
^
user.cpp:23:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans=ans*10+mat[let][poz]-'0';
^
user.cpp:27:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else if(mat[let][poz]!='('){
^
user.cpp:28:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans=v[mat[let][poz]-'a'];
^
user.cpp: In function ‘int Term(char, std::vector<int>&, int&)’:
user.cpp:40:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='*'||mat[let][poz]=='/'){
^
user.cpp:40:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='*'||mat[let][poz]=='/'){
^
user.cpp:41:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(mat[let][poz]=='*'){
^
user.cpp: In function ‘int E(char, std::vector<int>&, int&)’:
user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='+'||mat[let][poz]=='-'){
^
user.cpp:54:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(mat[let][poz]=='+'||mat[let][poz]=='-'){
^
user.cpp:55:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(mat[let][poz]=='+'){
^
user.cpp: In function ‘int Exp()’:
user.cpp:80:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v.push_back(val[expr[pos]]);
^
user.cpp: In function ‘int main()’:
user.cpp:99:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f1[ch]==0)
^
user.cpp:101:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f1[ch]=1;
^
user.cpp:104:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(f2[ch]==0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 408kb | OK | 10 |
2 | 0ms | 412kb | OK | 10 |
3 | 0ms | 412kb | OK | 10 |
4 | 0ms | 412kb | OK | 10 |
5 | 0ms | 352kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 408kb | OK | 10 |
7 | 0ms | 412kb | OK | 10 |
8 | 0ms | 412kb | OK | 10 |
9 | 0ms | 408kb | OK | 10 |
10 | 0ms | 412kb | OK | 10 |
Punctaj total | 90 |