Borderou de evaluare (job #2227454)
Utilizator | Data | 31 iulie 2018 19:54:22 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:5: error: expected ‘;’ before ‘vertices’
vertices = get_int(), edges = get_int();
^~~~~~~~
user.cpp: At global scope:
user.cpp:20:36: warning: always_inline function might not be inlinable [-Wattributes]
__attribute__((always_inline)) int get_int()
^~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.in", "r", stdin);
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dfs.out", "w", stdout);
^
user.cpp:40:44: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
vertices = get_int(), edges = get_int();
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !