Pagini recente » Borderou de evaluare (job #2587445) | Borderou de evaluare (job #9628) | Borderou de evaluare (job #207382) | Borderou de evaluare (job #2701606) | Borderou de evaluare (job #2470473)
Borderou de evaluare (job #2470473)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(poz>med)
^~
main.cpp:17:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(depth[aint[2*nod]]<depth[aint[2*nod+1]])
^~
main.cpp: In function 'int main()':
main.cpp:62:15: warning: unused variable 'j' [-Wunused-variable]
int i,m,n,j;
^
main.cpp:58:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in","r",stdin);
^
main.cpp:59:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out","w",stdout);
^
main.cpp:63:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&m,&n);
^
main.cpp:65:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&parent[i]);v[parent[i]].push_back(i);}
^
main.cpp:77:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 7ms | 2490kb | Incorect | 0 | 0 |
2 | 9ms | 2621kb | Incorect | 0 | 0 |
3 | 35ms | 3145kb | Incorect | 0 | 0 |
4 | 332ms | 6160kb | Incorect | 0 | 0 |
5 | 352ms | 8257kb | Incorect | 0 | 0 |
6 | 632ms | 8519kb | Incorect | 0 | 0 |
7 | 1586ms | 17825kb | Incorect | 0 | 0 |
8 | 2802ms | 12582kb | Time limit exceeded | 0 | 0 |
9 | 2801ms | 10891kb | Time limit exceeded | 0 |
10 | 2802ms | 11796kb | Time limit exceeded | 0 |
Punctaj total | 0 |