Borderou de evaluare (job #2118425)
Utilizator | Data | 30 ianuarie 2018 17:18:39 | |
---|---|---|---|
Problema | Sate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:17: error: ISO C++ forbids declaration of ‘dfs’ with no type [-fpermissive]
dfs(int x, int c)
^
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a[x].size(); i++)
^
user.cpp:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:22:18: warning: unused variable ‘sum’ [-Wunused-variable]
int n, m, x, y, sum = 0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !