Borderou de evaluare (job #933674)

Utilizator visanrVisan Radu visanr Data 30 martie 2013 11:48:04
Problema Componente biconexe Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void DFS(int, int)’: user.cpp:10:44: error: ‘typeof’ was not declared in this scope #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); ++ it) ^ user.cpp:39:5: note: in expansion of macro ‘forit’ forit(it, G[Node]) ^ user.cpp:39:11: error: expected ‘;’ before ‘it’ forit(it, G[Node]) ^ user.cpp:10:46: note: in definition of macro ‘forit’ #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); ++ it) ^ user.cpp:39:11: error: ‘it’ was not declared in this scope forit(it, G[Node]) ^ user.cpp:10:64: note: in definition of macro ‘forit’ #define forit(it, v) for(typeof((v).begin()) it = (v).begin(); it != (v).end(); ++ it) ^ user.cpp: In function ‘int main()’: user.cpp:72:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < Bic.size(); ++ i) ^ user.cpp:74:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < Bic[i].size(); ++ j) ^ user.cpp:55:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biconex.in", "r", stdin); ^ user.cpp:56:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("biconex.out", "w", stdout); ^ user.cpp:58:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &N, &M); ^ user.cpp:61:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &X, &Y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1428kbCorect10
24ms1428kbCorect10
34ms1424kbCorect10
44ms1468kbCorect10
54ms1500kbCorect10
616ms1744kbCorect10
720ms2016kbCorect10
884ms4436kbCorect10
9124ms5588kbCorect10
10156ms7128kbCorect10
Punctaj total0

Ceva nu functioneaza?