Borderou de evaluare (job #1470121)
Utilizator | Data | 10 august 2015 13:47:31 | |
---|---|---|---|
Problema | Cerere | 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:57:18: error: no match for ‘operator[]’ (operand types are ‘bool [100001]’ and ‘nod’)
if (!used[*it]) {
^
user.cpp:58:20: error: cannot convert ‘nod’ to ‘int’ for argument ‘1’ to ‘void dfs(int)’
dfs(*it);
^
user.cpp: In function ‘void cit(int&)’:
user.cpp:15:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(ax, 1, dim, stdin), pz = 0;
^
user.cpp:19:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(ax, 1, dim, stdin), pz = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cerere.in", "r", stdin);
^
user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cerere.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !