Pagini recente » Borderou de evaluare (job #3298549) | Borderou de evaluare (job #1081356) | Borderou de evaluare (job #2957721) | Borderou de evaluare (job #3247722) | Borderou de evaluare (job #2922844)
Borderou de evaluare (job #2922844)
Raport evaluator
Compilare:
main.c: In function 'fact':
main.c:8:8: warning: array subscript has type 'char' [-Wchar-subscripts]
8 | if (v[vi] == '(') {
| ^
main.c:14:22: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | while (vi < vl && v[vi] >= '0' && v[vi] <= '9') {
| ^
main.c:14:38: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | while (vi < vl && v[vi] >= '0' && v[vi] <= '9') {
| ^
main.c:15:19: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | x = x * 10 + v[vi] - '0';
| ^
main.c: In function 'minmax':
main.c:27:22: warning: array subscript has type 'char' [-Wchar-subscripts]
27 | while (vi < vl && v[vi] != '\n') {
| ^
main.c:28:13: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | s = v[vi++];
| ~~^~
main.c:31:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
31 | if (s == 'm' && b < a || s == 'M' && b > a)
| ~~~~~~~~~^~~~~~~~
main.c: In function 'main':
main.c:39:7: warning: unused variable 'n' [-Wunused-variable]
39 | int n, i;
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Incorect | 0 |
2 | 1ms | 184kb | Incorect | 0 |
3 | 2ms | 204kb | Incorect | 0 |
4 | 1ms | 184kb | Incorect | 0 |
5 | 1ms | 184kb | Incorect | 0 |
6 | 1ms | 184kb | Incorect | 0 |
7 | 1ms | 184kb | Incorect | 0 |
8 | 1ms | 184kb | Incorect | 0 |
9 | 1ms | 184kb | Incorect | 0 |
10 | 1ms | 184kb | Incorect | 0 |
11 | 1ms | 184kb | Incorect | 0 |
12 | 12ms | 307kb | Incorect | 0 |
13 | 3ms | 307kb | Incorect | 0 |
14 | 12ms | 253kb | Incorect | 0 |
15 | 1ms | 184kb | Incorect | 0 |
16 | 1ms | 184kb | Incorect | 0 |
17 | 1ms | 184kb | Incorect | 0 |
18 | 12ms | 307kb | Incorect | 0 |
19 | 12ms | 274kb | Incorect | 0 |
20 | 12ms | 311kb | Incorect | 0 |
Punctaj total | 0 |