Pagini recente » Borderou de evaluare (job #946725) | Borderou de evaluare (job #1924403) | Borderou de evaluare (job #2285904) | Borderou de evaluare (job #296081) | Borderou de evaluare (job #1811118)
Borderou de evaluare (job #1811118)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{if(!poz[s[i]]){poz[s[i]]=1;rez[i]=1;}
^
user.cpp:15:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{if(!poz[s[i]]){poz[s[i]]=1;rez[i]=1;}
^
user.cpp:26:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(c='a';c<='z';c++)fir[c]=-1;
^
user.cpp:28:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fir[s[j]]==-1)fir[s[j]]=j;j++;}
^
user.cpp:28:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fir[s[j]]==-1)fir[s[j]]=j;j++;}
^
user.cpp:30:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fir[c]!=-1 && !viz[c])break;
^
user.cpp:30:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(fir[c]!=-1 && !viz[c])break;
^
user.cpp:33:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(firs<='z' && !viz[firs])
^
user.cpp:35:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
viz[firs]=1;}
^
user.cpp:36:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(firs!=c && !viz[c])
^
user.cpp:37:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
{sir[nr++]=c;viz[c]=1;}
^
user.cpp:11:8: warning: unused variable ‘vf’ [-Wunused-variable]
{int i,vf,n;
^
user.cpp:21:9: warning: variable ‘st’ set but not used [-Wunused-but-set-variable]
int j=0,st;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 5 |
2 | 0ms | 436kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 0ms | 444kb | Incorect | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 |
8 | 0ms | 444kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 0ms | 444kb | Incorect | 0 |
11 | 0ms | 640kb | Incorect | 0 |
12 | 0ms | 640kb | Incorect | 0 |
13 | 0ms | 636kb | Incorect | 0 |
14 | 0ms | 636kb | Incorect | 0 |
15 | 8ms | 2392kb | Incorect | 0 |
16 | 8ms | 2396kb | Incorect | 0 |
17 | 8ms | 2388kb | Incorect | 0 |
18 | 8ms | 2392kb | Incorect | 0 |
19 | 8ms | 2396kb | Incorect | 0 |
20 | 8ms | 2396kb | Incorect | 0 |
Punctaj total | 5 |