Pagini recente » Borderou de evaluare (job #1360125) | Cod sursa (job #1360137) | Borderou de evaluare (job #1792012) | Borderou de evaluare (job #2868853)
Borderou de evaluare (job #2868853)
Raport evaluator
Compilare:
main.cpp: In function 'char cod(char)':
main.cpp:23:9: warning: variable 'c' set but not used [-Wunused-but-set-variable]
23 | int c;
| ^
main.cpp: In function 'long long int divimp2(long long int, long long int, int, char)':
main.cpp:86:22: warning: array subscript has type 'char' [-Wchar-subscripts]
86 | return fr[cod(ch)][n];
| ~~~^~~~
main.cpp:96:27: warning: array subscript has type 'char' [-Wchar-subscripts]
96 | return d[nr-1][cod(ch)]+divimp2(n-p/4, p/4, nr-1, invers(ch));
| ~~~^~~~
main.cpp:101:27: warning: array subscript has type 'char' [-Wchar-subscripts]
101 | return d[nr-1][cod(ch)]+d[nr-1][cod(invers(ch))]+divimp2(n-p/2, p/4, nr-1, invers(ch));
| ~~~^~~~
main.cpp:101:44: warning: array subscript has type 'char' [-Wchar-subscripts]
101 | return d[nr-1][cod(ch)]+d[nr-1][cod(invers(ch))]+divimp2(n-p/2, p/4, nr-1, invers(ch));
| ~~~^~~~~~~~~~~~
main.cpp:105:27: warning: array subscript has type 'char' [-Wchar-subscripts]
105 | 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:105:46: warning: array subscript has type 'char' [-Wchar-subscripts]
105 | 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:114:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
114 | fin>>x+1;
| ~^~
main.cpp:117:15: warning: array subscript has type 'char' [-Wchar-subscripts]
117 | fr[cod(x[i])][i]++;
| ~~~^~~~~~
main.cpp:118:17: warning: array subscript has type 'char' [-Wchar-subscripts]
118 | d[0][cod(x[i])]++;
| ~~~^~~~~~
main.cpp:144:23: warning: 'ok' may be used uninitialized in this function [-Wmaybe-uninitialized]
144 | char ch=divimp(n, p, ok);
| ~~~~~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 6561kb | Corect | 10 |
2 | 6ms | 4567kb | Partial corect | 2 |
3 | 6ms | 4677kb | Partial corect | 2 |
4 | 15ms | 21270kb | Partial corect | 2 |
5 | 38ms | 21454kb | Partial corect | 2 |
6 | 43ms | 21504kb | Partial corect | 2 |
7 | 48ms | 21585kb | Partial corect | 2 |
8 | 53ms | 21602kb | Partial corect | 2 |
9 | 14ms | 21274kb | Partial corect | 2 |
10 | 14ms | 21278kb | Partial corect | 2 |
11 | 13ms | 21282kb | Partial corect | 2 |
12 | 18ms | 21286kb | Partial corect | 2 |
13 | 64ms | 8372kb | Partial corect | 2 |
14 | 80ms | 21860kb | Partial corect | 2 |
15 | 99ms | 22073kb | Partial corect | 2 |
16 | 123ms | 22269kb | Partial corect | 2 |
17 | 146ms | 22323kb | Partial corect | 2 |
18 | 171ms | 22355kb | Partial corect | 2 |
19 | 175ms | 22372kb | Partial corect | 2 |
Punctaj total | 46 |