Pagini recente » Borderou de evaluare (job #2724262) | Borderou de evaluare (job #1406528) | Borderou de evaluare (job #2023839) | Borderou de evaluare (job #299164) | Borderou de evaluare (job #2910356)
Borderou de evaluare (job #2910356)
Raport evaluator
Compilare:
main.cpp: In function 'long long int divide2(long long int, int, char)':
main.cpp:52:18: warning: array subscript has type 'char' [-Wchar-subscripts]
52 | return f[poz][ch];
| ^~
main.cpp:54:21: warning: array subscript has type 'char' [-Wchar-subscripts]
54 | return f[poz][inv(ch)];
| ~~~^~~~
main.cpp:69:32: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | aux = (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ^~
main.cpp:69:46: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | aux = (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ~~~^~~~
main.cpp:71:36: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | aux = 2 * (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ^~
main.cpp:71:50: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | aux = 2 * (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ~~~^~~~
main.cpp:73:36: warning: array subscript has type 'char' [-Wchar-subscripts]
73 | aux = 3 * (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ^~
main.cpp:73:50: warning: array subscript has type 'char' [-Wchar-subscripts]
73 | aux = 3 * (x / (2 * n)) * (f[n][ch] + f[n][inv(ch)]);
| ~~~^~~~
main.cpp:77:15: warning: array subscript has type 'char' [-Wchar-subscripts]
77 | aux = f[n][ch];
| ^~
main.cpp:79:15: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | aux = f[n][ch] + f[n][inv(ch)];
| ^~
main.cpp:79:29: warning: array subscript has type 'char' [-Wchar-subscripts]
79 | aux = f[n][ch] + f[n][inv(ch)];
| ~~~^~~~
main.cpp:81:15: warning: array subscript has type 'char' [-Wchar-subscripts]
81 | aux = f[n][ch] + 2 * f[n][inv(ch)];
| ^~
main.cpp:81:33: warning: array subscript has type 'char' [-Wchar-subscripts]
81 | aux = f[n][ch] + 2 * f[n][inv(ch)];
| ~~~^~~~
main.cpp: In function 'int main()':
main.cpp:97:12: warning: array subscript has type 'char' [-Wchar-subscripts]
97 | f[i][s[i]]++;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Corect | 10 |
2 | 1ms | 184kb | Partial corect | 2 |
3 | 1ms | 184kb | Partial corect | 2 |
4 | 1ms | 184kb | Partial corect | 2 |
5 | 45ms | 2932kb | Partial corect | 2 |
6 | 40ms | 2928kb | Partial corect | 2 |
7 | 57ms | 5095kb | Partial corect | 2 |
8 | 50ms | 5062kb | Partial corect | 2 |
9 | 4ms | 2666kb | Partial corect | 2 |
10 | 4ms | 2666kb | Partial corect | 2 |
11 | 6ms | 2666kb | Partial corect | 2 |
12 | 4ms | 2666kb | Corect | 5 |
13 | 88ms | 11493kb | Partial corect | 2 |
14 | 161ms | 19894kb | Partial corect | 2 |
15 | 138ms | 36978kb | Partial corect | 2 |
16 | 193ms | 43368kb | Partial corect | 2 |
17 | 265ms | 45674kb | Partial corect | 2 |
18 | 532ms | 50020kb | Corect | 5 |
19 | 358ms | 50704kb | Corect | 5 |
Punctaj total | 55 |