Borderou de evaluare (job #2701188)
Utilizator | Data | 30 ianuarie 2021 09:21:49 | |
---|---|---|---|
Problema | Arbore7 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'std::pair<long long int, long long int> dfs(long long int, long long int, long long int)':
main.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<adj[cr].size();i++){
~^~~~~~~~~~~~~~~
main.cpp:34:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<adj[cr].size();i++){
~^~~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:55:10: error: '::main' must return 'int'
int main()
^
main.cpp: In function 'int main()':
main.cpp:57:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tree7.in","r",stdin);
^
main.cpp:58:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore7.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 !