Pagini recente » Borderou de evaluare (job #2051624) | Borderou de evaluare (job #1933851) | Borderou de evaluare (job #2287660) | Borderou de evaluare (job #1296190) | Borderou de evaluare (job #2138192)
Borderou de evaluare (job #2138192)
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:167:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:188:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:188:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:196:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:196:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]=frcaps[litera];
^
user.cpp:197:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:197:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];
^
user.cpp:199:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:159:15: warning: unused variable ‘ascii’ [-Wunused-variable]
int q,i,k,ascii;
^
user.cpp:160:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp:161:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch,litera;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:155:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:164: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:165: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:166: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 | 856kb | Corect | 10 |
2 | 0ms | 872kb | Partial corect | 2 |
3 | 0ms | 940kb | Partial corect | 2 |
4 | 0ms | 964kb | Partial corect | 2 |
5 | 44ms | 4116kb | Partial corect | 2 |
6 | 48ms | 4116kb | Partial corect | 2 |
7 | 56ms | 4112kb | Partial corect | 2 |
8 | 60ms | 4108kb | Partial corect | 2 |
9 | 4ms | 1852kb | Partial corect | 2 |
10 | 4ms | 4116kb | Partial corect | 2 |
11 | 4ms | 1748kb | Partial corect | 2 |
12 | 8ms | 4120kb | Partial corect | 2 |
13 | 88ms | 12320kb | Partial corect | 2 |
14 | 100ms | 20524kb | Partial corect | 2 |
15 | 120ms | 36944kb | Partial corect | 2 |
16 | 160ms | 45152kb | Partial corect | 2 |
17 | 208ms | 47204kb | Partial corect | 2 |
18 | 260ms | 49256kb | Partial corect | 2 |
19 | 272ms | 51704kb | Partial corect | 2 |
Punctaj total | 46 |