Pagini recente » Autentificare | Borderou de evaluare (job #3178663) | Borderou de evaluare (job #2219725) | Borderou de evaluare (job #1478712) | Borderou de evaluare (job #2868854)
Borderou de evaluare (job #2868854)
Raport evaluator
Compilare:
main.cpp: In function 'char cod(char)':
main.cpp:24:9: warning: variable 'c' set but not used [-Wunused-but-set-variable]
24 | int c;
| ^
main.cpp: In function 'long long int divimp2(long long int, long long int, int, char)':
main.cpp:87:22: warning: array subscript has type 'char' [-Wchar-subscripts]
87 | return fr[cod(ch)][n];
| ~~~^~~~
main.cpp:97:27: warning: array subscript has type 'char' [-Wchar-subscripts]
97 | return d[nr-1][cod(ch)]+divimp2(n-p/4, p/4, nr-1, invers(ch));
| ~~~^~~~
main.cpp:102:27: warning: array subscript has type 'char' [-Wchar-subscripts]
102 | return d[nr-1][cod(ch)]+d[nr-1][cod(invers(ch))]+divimp2(n-p/2, p/4, nr-1, invers(ch));
| ~~~^~~~
main.cpp:102:44: warning: array subscript has type 'char' [-Wchar-subscripts]
102 | return d[nr-1][cod(ch)]+d[nr-1][cod(invers(ch))]+divimp2(n-p/2, p/4, nr-1, invers(ch));
| ~~~^~~~~~~~~~~~
main.cpp:106:27: warning: array subscript has type 'char' [-Wchar-subscripts]
106 | return d[nr-1][cod(ch)]+2*d[nr-1][cod(invers(ch))]+divimp2(n-3*p/4, p/4, nr-1, ch);
| ~~~^~~~
main.cpp:106:46: warning: array subscript has type 'char' [-Wchar-subscripts]
106 | return d[nr-1][cod(ch)]+2*d[nr-1][cod(invers(ch))]+divimp2(n-3*p/4, p/4, nr-1, ch);
| ~~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:115:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
115 | fin>>x+1;
| ~^~
main.cpp:118:15: warning: array subscript has type 'char' [-Wchar-subscripts]
118 | fr[cod(x[i])][i]++;
| ~~~^~~~~~
main.cpp:119:17: warning: array subscript has type 'char' [-Wchar-subscripts]
119 | d[0][cod(x[i])]++;
| ~~~^~~~~~
main.cpp:145:23: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized]
145 | char ch=divimp(n, p, ok);
| ~~~~~~^~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 6ms | 6561kb | Corect | 10 |
| 2 | 6ms | 4657kb | Partial corect | 2 |
| 3 | 6ms | 4632kb | Partial corect | 2 |
| 4 | 14ms | 21270kb | Partial corect | 2 |
| 5 | 37ms | 21495kb | Partial corect | 2 |
| 6 | 43ms | 21512kb | Partial corect | 2 |
| 7 | 47ms | 21557kb | Partial corect | 2 |
| 8 | 52ms | 21614kb | Partial corect | 2 |
| 9 | 15ms | 21274kb | Partial corect | 2 |
| 10 | 14ms | 21278kb | Partial corect | 2 |
| 11 | 14ms | 21278kb | Partial corect | 2 |
| 12 | 18ms | 21286kb | Corect | 5 |
| 13 | 64ms | 8343kb | Partial corect | 2 |
| 14 | 81ms | 21868kb | Partial corect | 2 |
| 15 | 100ms | 22081kb | Partial corect | 2 |
| 16 | 124ms | 22278kb | Partial corect | 2 |
| 17 | 147ms | 22441kb | Partial corect | 2 |
| 18 | 177ms | 22630kb | Corect | 5 |
| 19 | 186ms | 22695kb | Corect | 5 |
| Punctaj total | 55 |