Pagini recente » Borderou de evaluare (job #2307767) | Borderou de evaluare (job #686213) | Borderou de evaluare (job #2874680) | Borderou de evaluare (job #954973) | Borderou de evaluare (job #1106143)
Borderou de evaluare (job #1106143)
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 | 5128kb | OK | 10 |
2 | 20ms | 5156kb | Incorect | 0 |
3 | 124ms | 6432kb | Incorect | 0 |
4 | 604ms | 8528kb | Incorect | 0 |
5 | 1084ms | 11508kb | Incorect | 0 |
6 | 108ms | 5768kb | Killed by signal 6(SIGABRT). | 0 |
7 | 136ms | 5892kb | Killed by signal 6(SIGABRT). | 0 |
8 | 888ms | 9344kb | Incorect | 0 |
9 | 996ms | 9764kb | Incorect | 0 |
10 | 1104ms | 10248kb | Incorect | 0 |
Punctaj total | 10 |