Pagini recente » Borderou de evaluare (job #720703) | Borderou de evaluare (job #1066451) | Borderou de evaluare (job #2262896) | Borderou de evaluare (job #1826053) | Borderou de evaluare (job #1106140)
Borderou de evaluare (job #1106140)
Raport evaluator
Compilare:
user.cpp: In function ‘void create_arb(int, int, int)’:
user.cpp:52:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i<arb[L].size(); ++i)
^
user.cpp:55:99: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (v[arb[node][i]].x < v[arb[node][mini]].x || v[arb[node][i]].x == v[arb[node][mini]].x && v[arb[node][i]].y < v[arb[node][mini]].y)
^
user.cpp:59:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i<arb[L].size() + arb[R].size(); ++i)
^
user.cpp:62:99: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (v[arb[node][i]].x < v[arb[node][mini]].x || v[arb[node][i]].x == v[arb[node][mini]].x && v[arb[node][i]].y < v[arb[node][mini]].y)
^
user.cpp:72:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<arb[node].size(); ++i)
^
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:129:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (mid != arb[node].size() - 1)
^
user.cpp:138:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (mid == arb[node].size()-1)
^
user.cpp:122:18: warning: unused variable ‘ok1’ [-Wunused-variable]
bool ok1 = 0, ok2 = 0;
^
user.cpp:122:27: warning: unused variable ‘ok2’ [-Wunused-variable]
bool ok1 = 0, ok2 = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:171:9: warning: unused variable ‘mini’ [-Wunused-variable]
int mini = 1;
^
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:147:22: warning: ‘val1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else if (val1 >= val)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 5120kb | Incorect | 0 |
2 | 12ms | 5116kb | Incorect | 0 |
3 | 112ms | 6388kb | Incorect | 0 |
4 | 184ms | 7184kb | Incorect | 0 |
5 | 376ms | 9316kb | Incorect | 0 |
6 | 624ms | 8460kb | Incorect | 0 |
7 | 800ms | 9248kb | Incorect | 0 |
8 | 656ms | 8488kb | Incorect | 0 |
9 | 752ms | 8888kb | Incorect | 0 |
10 | 836ms | 9292kb | Incorect | 0 |
Punctaj total | 0 |