Borderou de evaluare (job #1721964)
Utilizator | Data | 26 iunie 2016 21:20:26 | |
---|---|---|---|
Problema | Symmetricgraph2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs()’:
user.cpp:23:9: warning: unused variable ‘node1’ [-Wunused-variable]
int node1 , node2;
^
user.cpp:23:17: warning: unused variable ‘node2’ [-Wunused-variable]
int node1 , node2;
^
user.cpp: In function ‘int main()’:
user.cpp:91:18: error: too many arguments to function ‘void dinamik(int)’
dinamik(1 , 1);
^
user.cpp:60:6: note: declared here
void dinamik(int node)
^
user.cpp:77:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("symmetricgraph2.in","r",stdin);
^
user.cpp:78:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("symmetricgraph2.out","w",stdout);
^
user.cpp:80:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:84:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !