Borderou de evaluare (job #2157433)
Utilizator | Data | 9 martie 2018 16:59:34 | |
---|---|---|---|
Problema | Capitala | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:26:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<v[i].size(); j++)
^
user.cpp: In function ‘void dfs2(int)’:
user.cpp:40:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<v[i].size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:63:16: error: ‘dist’ was not declared in this scope
f[i]=0,dist[i]=0;
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("capitala.in","r",stdin);
^
user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("capitala.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !