Borderou de evaluare (job #1884063)
Utilizator | Data | 18 februarie 2017 13:57:48 | |
---|---|---|---|
Problema | Asmax | 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:14:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<g[i].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:36:19: error: ‘x’ was not declared in this scope
scanf("%d%d",&x,&y);
^
user.cpp:36:22: error: ‘y’ was not declared in this scope
scanf("%d%d",&x,&y);
^
user.cpp:27:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("asmax.in","r",stdin);
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("asmax.out","w",stdout);
^
user.cpp:30:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:33:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&val[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !