Pagini recente » Borderou de evaluare (job #2802623) | Borderou de evaluare (job #2840547) | Borderou de evaluare (job #2355645) | Borderou de evaluare (job #2348146) | Borderou de evaluare (job #2470475)
Borderou de evaluare (job #2470475)
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 | 37ms | 3145kb | Incorect | 0 | 0 |
4 | 307ms | 6160kb | Incorect | 0 | 0 |
5 | 363ms | 8257kb | Incorect | 0 | 0 |
6 | 537ms | 8519kb | Incorect | 0 | 0 |
7 | 1914ms | 17825kb | Incorect | 0 | 0 |
8 | 2800ms | 11665kb | Time limit exceeded | 0 | 0 |
9 | 2800ms | 10919kb | Time limit exceeded | 0 |
10 | 2801ms | 11927kb | Time limit exceeded | 0 |
Punctaj total | 0 |