Pagini recente » Borderou de evaluare (job #333088) | Borderou de evaluare (job #2636497) | Borderou de evaluare (job #3217355) | Borderou de evaluare (job #2103582) | Borderou de evaluare (job #2710012)
Borderou de evaluare (job #2710012)
Raport evaluator
Compilare:
main.cpp: In function 'void B(int, int, int)':
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:11:17: note: in expansion of macro 'm'
#define S s, i, m
^
main.cpp:14:76: note: in expansion of macro 'S'
void B(Q) {if (i == j) in >> E[i], V[k] = E[i], M[k] = i, A[k] = 1; else B(S), B(D), C(k);}
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:12:14: note: in expansion of macro 'm'
#define D d, m+1, j
^
main.cpp:14:82: note: in expansion of macro 'D'
void B(Q) {if (i == j) in >> E[i], V[k] = E[i], M[k] = i, A[k] = 1; else B(S), B(D), C(k);}
^
main.cpp: In function 'int I(int, int, int, int)':
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:12:14: note: in expansion of macro 'm'
#define D d, m+1, j
^
main.cpp:15:73: note: in expansion of macro 'D'
int I(int p, Q) {if (i == j) return i; if (A[s] < p) return I(p - A[s], D); return I(p, S);}
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:11:17: note: in expansion of macro 'm'
#define S s, i, m
^
main.cpp:15:89: note: in expansion of macro 'S'
int I(int p, Q) {if (i == j) return i; if (A[s] < p) return I(p - A[s], D); return I(p, S);}
^
main.cpp: In function 'void X(int, int, int)':
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:11:17: note: in expansion of macro 'm'
#define S s, i, m
^
main.cpp:16:107: note: in expansion of macro 'S'
void X(Q) {if (i > b or j < a) return; if (i >= a and j <= b) {if (v <= V[k]) v = V[k], p = M[k];} else X(S), X(D);}
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 23ms | 524kb | OK | 10 |
2 | 32ms | 1179kb | Incorect | 0 |
3 | 364ms | 7208kb | Incorect | 0 |
4 | 529ms | 7733kb | Incorect | 0 |
5 | 936ms | 14680kb | Incorect | 0 |
6 | 670ms | 15466kb | Incorect | 0 |
7 | 1236ms | 16252kb | Incorect | 0 |
8 | 2684ms | 32133kb | Incorect | 0 |
9 | 2661ms | 31981kb | Incorect | 0 |
10 | 2744ms | 32505kb | Incorect | 0 |
Punctaj total | 10 |