Pagini recente » Borderou de evaluare (job #156075) | Borderou de evaluare (job #653812) | Borderou de evaluare (job #639696) | Borderou de evaluare (job #2296866) | Borderou de evaluare (job #2711887)
Borderou de evaluare (job #2711887)
Raport evaluator
Compilare:
main.cpp: In function 'double I(int, int)':
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:13:27: note: in expansion of macro 'm'
int l = i, p = i, q = m; while (p < m and q < j)
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:13:41: note: in expansion of macro 'm'
int l = i, p = i, q = m; while (p < m and q < j)
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:15:16: note: in expansion of macro 'm'
while (p < m) A[l++] = V[p++]; while (q < j) A[l++] = V[q++];
^
main.cpp:15:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (p < m) A[l++] = V[p++]; while (q < j) A[l++] = V[q++];
^~~~~
main.cpp:15:36: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
while (p < m) A[l++] = V[p++]; while (q < j) A[l++] = V[q++];
^~~~~
main.cpp:17:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'double R(int, int)':
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:21:21: note: in expansion of macro 'm'
double r = R(i, m); r = std::min(r, R(m, j)); I(i, j);
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:21:43: note: in expansion of macro 'm'
double r = R(i, m); r = std::min(r, R(m, j)); I(i, j);
^
main.cpp:8:13: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define m (i+j>>1)
~^~
main.cpp:22:54: note: in expansion of macro 'm'
for (int p = i; p < j; p++) if (abs(V[p].y() - V[m].y()) < r)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 131kb | Incorect | 0 |
2 | 4ms | 131kb | Incorect | 0 |
3 | 22ms | 393kb | Incorect | 0 |
4 | 22ms | 393kb | Incorect | 0 |
5 | 64ms | 1048kb | Incorect | 0 |
6 | 104ms | 1703kb | Incorect | 0 |
7 | 147ms | 2359kb | Incorect | 0 |
8 | 193ms | 3276kb | Incorect | 0 |
9 | 222ms | 3276kb | Incorect | 0 |
10 | 213ms | 3276kb | Incorect | 0 |
11 | 177ms | 2097kb | Incorect | 0 |
12 | 142ms | 2097kb | Incorect | 0 |
13 | 86ms | 1703kb | Incorect | 0 |
14 | 87ms | 1703kb | Incorect | 0 |
15 | 211ms | 1703kb | Incorect | 0 |
16 | 81ms | 1703kb | Incorect | 0 |
17 | 78ms | 1703kb | Incorect | 0 |
18 | 213ms | 1703kb | Incorect | 0 |
19 | 236ms | 2097kb | Incorect | 0 |
20 | 94ms | 2097kb | Incorect | 0 |
Punctaj total | 0 |