Pagini recente » Borderou de evaluare (job #52908) | Borderou de evaluare (job #2963044) | Borderou de evaluare (job #553564) | Borderou de evaluare (job #535835) | Borderou de evaluare (job #2138174)
Borderou de evaluare (job #2138174)
Raport evaluator
Compilare:
user.cpp: In function ‘void frecventa()’:
user.cpp:32:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[0][c[i]]++;
^
user.cpp: In function ‘int main()’:
user.cpp:166:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:187:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:187:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:195:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:195:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:196:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:196:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:198:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:158:15: warning: unused variable ‘ascii’ [-Wunused-variable]
int q,i,k,ascii;
^
user.cpp:159:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp:160:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch,litera;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:154:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:163:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld %d",&lg,&q);
^
user.cpp:164:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c+1,100012,f);
^
user.cpp:165:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 840kb | Corect | 10 |
| 2 | 0ms | 844kb | Partial corect | 2 |
| 3 | 0ms | 940kb | Partial corect | 2 |
| 4 | 0ms | 968kb | Partial corect | 2 |
| 5 | 44ms | 4112kb | Partial corect | 2 |
| 6 | 48ms | 4116kb | Partial corect | 2 |
| 7 | 56ms | 4116kb | Partial corect | 2 |
| 8 | 60ms | 4112kb | Partial corect | 2 |
| 9 | 4ms | 1856kb | Partial corect | 2 |
| 10 | 4ms | 4116kb | Partial corect | 2 |
| 11 | 4ms | 1756kb | Partial corect | 2 |
| 12 | 8ms | 4116kb | Partial corect | 2 |
| 13 | 88ms | 12320kb | Partial corect | 2 |
| 14 | 104ms | 20524kb | Partial corect | 2 |
| 15 | 120ms | 36948kb | Partial corect | 2 |
| 16 | 164ms | 45156kb | Partial corect | 2 |
| 17 | 212ms | 47208kb | Partial corect | 2 |
| 18 | 272ms | 49256kb | Partial corect | 2 |
| 19 | 284ms | 51704kb | Partial corect | 2 |
| Punctaj total | 46 |