Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1308268)
| Utilizator | Data | 3 ianuarie 2015 21:02:15 | |
|---|---|---|---|
| Problema | Text3 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 58 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
while(in>>ch[n+1]+1){
^
user.cpp:20:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][strlen(ch[i]+1)]]+1>d[ch[i][1]]){
^
user.cpp:20:50: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][strlen(ch[i]+1)]]+1>d[ch[i][1]]){
^
user.cpp:21:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][1]]=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:21:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[i][1]]=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:23:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[ch[i][1]]>=maxim){
^
user.cpp:24:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
maxim=d[ch[i][1]];
^
user.cpp:28:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c[i].max=d[ch[i][strlen(ch[i]+1)]]+1;
^
user.cpp:35:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=1; j<=strlen(ch[i]+1); j++)
^
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 0ms | 468kb | Partial incorect | 4 |
| 2 | 0ms | 440kb | Partial incorect | 4 |
| 3 | 0ms | 400kb | Corect | 10 |
| 4 | 0ms | 404kb | Partial incorect | 4 |
| 5 | 0ms | 708kb | Partial incorect | 4 |
| 6 | 4ms | 860kb | Corect | 10 |
| 7 | 0ms | 400kb | Partial incorect | 4 |
| 8 | 4ms | 1000kb | Partial incorect | 4 |
| 9 | 0ms | 440kb | Partial incorect | 4 |
| 10 | 0ms | 436kb | Corect | 10 |
| Punctaj total | 58 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
