Pagini recente » Borderou de evaluare (job #2834909) | Borderou de evaluare (job #1688065) | Borderou de evaluare (job #1829992) | Borderou de evaluare (job #501048) | Borderou de evaluare (job #2138248)
Borderou de evaluare (job #2138248)
Raport evaluator
Compilare:
user.cpp: In function ‘void frecventa()’:
user.cpp:33:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fr[0][c[i]]++;
^
user.cpp: In function ‘int main()’:
user.cpp:168:12: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
c[lg+1]=NULL;
^
user.cpp:190:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];///daca sirul nu e inversat la fr sirului neinversat mai adaugam sumele partiale pana la pozitia poz a literei obisnuite
^
user.cpp:190:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frsir[litera]+=suma[poz][litera];///daca sirul nu e inversat la fr sirului neinversat mai adaugam sumele partiale pana la pozitia poz a literei obisnuite
^
user.cpp:191:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:191:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g," %d\n",frsir[litera]);
^
user.cpp:197:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frcaps[litera]+=suma[poz][litera];
^
user.cpp:197:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frcaps[litera]+=suma[poz][litera];
^
user.cpp:198:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fprintf(g," %d\n",frcaps[litera]);
^
user.cpp:198:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g," %d\n",frcaps[litera]);
^
user.cpp:160:15: warning: unused variable ‘ascii’ [-Wunused-variable]
int q,i,k,ascii;
^
user.cpp:161:19: warning: unused variable ‘p’ [-Wunused-variable]
long long poz,p;
^
user.cpp:162:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch,litera,literaop;
^
user.cpp:162:20: warning: unused variable ‘literaop’ [-Wunused-variable]
char ch,litera,literaop;
^
user.cpp: In function ‘long long int rez(long long int)’:
user.cpp:156:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:165:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 856kb | Corect | 10 |
2 | 0ms | 860kb | Corect | 5 |
3 | 0ms | 956kb | Corect | 5 |
4 | 0ms | 980kb | Corect | 5 |
5 | 44ms | 4128kb | Corect | 5 |
6 | 52ms | 4128kb | Corect | 5 |
7 | 56ms | 4132kb | Corect | 5 |
8 | 64ms | 4128kb | Corect | 5 |
9 | 4ms | 1864kb | Corect | 5 |
10 | 4ms | 4124kb | Corect | 5 |
11 | 4ms | 1768kb | Corect | 5 |
12 | 8ms | 4128kb | Corect | 5 |
13 | 92ms | 12336kb | Corect | 5 |
14 | 108ms | 20544kb | Corect | 5 |
15 | 124ms | 36964kb | Corect | 5 |
16 | 172ms | 45164kb | Corect | 5 |
17 | 220ms | 47224kb | Corect | 5 |
18 | 276ms | 49276kb | Corect | 5 |
19 | 288ms | 51724kb | Corect | 5 |
Punctaj total | 100 |