Pagini recente » Borderou de evaluare (job #2792726) | Borderou de evaluare (job #352148) | Borderou de evaluare (job #2045544) | Borderou de evaluare (job #968208) | Borderou de evaluare (job #2138133)
Borderou de evaluare (job #2138133)
Raport evaluator
Compilare:
user.cpp: In function ‘void frecventa()’:
user.cpp:29:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[0][c[i]]++;
^
user.cpp: In function ‘int main()’:
user.cpp:163:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:184:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:184:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:192:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:192:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:193:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:193:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:195:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:155:15: warning: unused variable ‘ascii’ [-Wunused-variable]
int q,i,k,ascii;
^
user.cpp:156:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp:157:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch,litera;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:151:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:160: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:161: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:162: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 | 876kb | Corect | 10 |
2 | 0ms | 936kb | Partial corect | 2 |
3 | 0ms | 940kb | Partial corect | 2 |
4 | 0ms | 964kb | Partial corect | 2 |
5 | 44ms | 4112kb | Partial corect | 2 |
6 | 48ms | 4116kb | Partial corect | 2 |
7 | 56ms | 4116kb | Partial corect | 2 |
8 | 60ms | 4116kb | Partial corect | 2 |
9 | 4ms | 1856kb | Partial corect | 2 |
10 | 4ms | 4112kb | 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 | 36944kb | Partial corect | 2 |
16 | 160ms | 45156kb | Partial corect | 2 |
17 | 208ms | 47208kb | Partial corect | 2 |
18 | 268ms | 49260kb | Partial corect | 2 |
19 | 280ms | 51708kb | Partial corect | 2 |
Punctaj total | 46 |