Borderou de evaluare (job #1455416)
Utilizator | Data | 27 iunie 2015 23:00:56 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:20:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<V[index].size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:52:4: error: request for member ‘close’ in ‘f’, which is of pointer type ‘FILE* {aka _IO_FILE*}’ (maybe you meant to use ‘->’ ?)
f.close(f);f.close(g);
^
user.cpp:52:15: error: request for member ‘close’ in ‘f’, which is of pointer type ‘FILE* {aka _IO_FILE*}’ (maybe you meant to use ‘->’ ?)
f.close(f);f.close(g);
^
user.cpp:33:15: warning: unused variable ‘j’ [-Wunused-variable]
int x, y, i, j;
^
user.cpp:35:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &N, &M);
^
user.cpp:38:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !