Pagini recente » Borderou de evaluare (job #1800706) | Borderou de evaluare (job #354591) | Borderou de evaluare (job #2893840) | Borderou de evaluare (job #206732) | Borderou de evaluare (job #1019497)
Borderou de evaluare (job #1019497)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z')
^
user.cpp:30:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z') m0[m0[0].nrel].a[m0[m0[0].nrel].a[0]]=x[i],i++,m0[m0[0].nrel].a[0]++;
^
user.cpp:30:96: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z') m0[m0[0].nrel].a[m0[m0[0].nrel].a[0]]=x[i],i++,m0[m0[0].nrel].a[0]++;
^
user.cpp:34:15: warning: NULL used in arithmetic [-Wpointer-arith]
while(x[1]!=NULL)
^
user.cpp:43:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z')
^
user.cpp:47:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z') mi[mi[0].nrel].a[mi[mi[0].nrel].a[0]]=x[i],i++,mi[mi[0].nrel].a[0]++;
^
user.cpp:47:96: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x[i]>='A'&&x[i]<='Z'||x[i]>='a'&&x[i]<='z') mi[mi[0].nrel].a[mi[mi[0].nrel].a[0]]=x[i],i++,mi[mi[0].nrel].a[0]++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1428kb | Time limit exceeded. | 0 |
2 | 0ms | 372kb | Raspuns partial corect | 4 |
3 | 0ms | 368kb | Raspuns partial corect | 4 |
4 | 0ms | 384kb | Corect | 10 |
5 | 0ms | 372kb | Incorect | 0 |
6 | 0ms | 384kb | Corect | 10 |
7 | 4ms | 400kb | Corect | 10 |
8 | Depăşit | 972kb | Time limit exceeded. | 0 |
9 | 4ms | 472kb | Raspuns partial corect | 4 |
10 | 8ms | 468kb | Incorect | 0 |
Punctaj total | 42 |