Borderou de evaluare (job #1231019)

Utilizator visanrVisan Radu visanr Data 19 septembrie 2014 14:14:16
Problema Treespotting Status done
Runda Infoarena Cup 2014 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int, int)’: user.cpp:18:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Good[Node].size(); ++ i) ^ user.cpp: In function ‘int main()’: user.cpp:49:32: warning: suggest parentheses around assignment used as truth value [-Wparentheses] Level[j] = Used[j] = CntGood[j] = 0; ^ user.cpp:56:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k = 0; k < Bad[j].size(); ++ k) ^ user.cpp:65:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Ans.size(); ++ i) ^ user.cpp:25:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("treespotting.in", "r", stdin); ^ user.cpp:26:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("treespotting.out", "w", stdout); ^ user.cpp:28: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:31:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &X, &Y); ^ user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i %i", &X, &Y); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2616kbOK1010
24ms2616kbOK1010
34ms2624kbIncorect00
4Depăşit2740kbTime limit exceeded.00
5Depăşit3364kbTime limit exceeded.00
6Depăşit3728kbTime limit exceeded.0
7Depăşit4844kbTime limit exceeded.0
8Depăşit5572kbTime limit exceeded.0
9Depăşit6068kbTime limit exceeded.00
10Depăşit6504kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?