Pagini recente » Borderou de evaluare (job #1190021) | Borderou de evaluare (job #3141515) | Borderou de evaluare (job #712023) | Borderou de evaluare (job #532612) | Borderou de evaluare (job #1514326)
Borderou de evaluare (job #1514326)
Raport evaluator
Compilare:
user.cpp: In function ‘int analiza(std::string)’:
user.cpp:44:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<x.size();i++)
^
user.cpp:68:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!op.empty()&&p[op.top()]>=p[x[i]])
^
user.cpp:68:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(!op.empty()&&p[op.top()]>=p[x[i]])
^
user.cpp:81:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void back(int, int, int&)’:
user.cpp:85:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘int ap(std::string, std::string)’:
user.cpp:113:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
apa[j]=apb[j]=0;
^
user.cpp:113:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
apa[j]=apb[j]=0;
^
user.cpp:115:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<a1.size();i++)
^
user.cpp:117:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isalpha(a1[i])) apa[a1[i]]=1;
^
user.cpp:119:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<b1.size();i++)
^
user.cpp:121:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(isalpha(b1[i])) apb[b1[i]]=1;
^
user.cpp:125:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(apa[j]==apb[j])
^
user.cpp:125:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(apa[j]==apb[j])
^
user.cpp:127:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(apa[j]==1) c.push_back(j);
^
user.cpp: In function ‘int main()’:
user.cpp:138:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,d,r=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 40ms | 472kb | Incorect | 0 |
6 | 12ms | 452kb | Incorect | 0 |
7 | 4ms | 444kb | Incorect | 0 |
8 | 0ms | 440kb | Incorect | 0 |
9 | 0ms | 440kb | Incorect | 0 |
10 | 4ms | 444kb | Incorect | 0 |
Punctaj total | 20 |