Borderou de evaluare (job #2642231)
Utilizator | Data | 14 august 2020 09:57:48 | |
---|---|---|---|
Problema | Heavy Path Decomposition | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs1(int)':
main.cpp:72:9: warning: unused variable 't1' [-Wunused-variable]
int t1 = Heavy_Edge[nod];
^~
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:96:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:98:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
aint[nod]=max(aint[2*nod],aint[2*nod+1]);
^~~~
main.cpp: In function 'int answer(int, int)':
main.cpp:169:77: error: expected ']' before ')' token
maxim = max1(maxim , query(1,1,n,height[y2],height[end1[com[y2]])]);
^
main.cpp:169:78: error: expected ')' before ']' token
maxim = max1(maxim , query(1,1,n,height[y2],height[end1[com[y2]])]);
^
main.cpp: In function 'char read_ch()':
main.cpp:19:35: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(_in_buff, 1, 32768, stdin);
^
main.cpp: In function 'int main()':
main.cpp:186:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.in","r",stdin);
^
main.cpp:187:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("heavypath.out","w",stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !