Borderou de evaluare (job #1457276)

Utilizator piroComisia piro Data 3 iulie 2015 01:44:00
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sons.size(); ++i) ^ user.cpp:33:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < sons.size(); ++j) ^ user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sons.size(); ++i) { ^ user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int d = 1; d < sons.size(); ++d) ^ user.cpp:41:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < sons.size(); ++i) { ^ user.cpp:43:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j == sons.size()) ^ user.cpp: In function ‘int main()’: user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petsoft.in", "r", stdin); ^ user.cpp:65:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("petsoft.out", "w", stdout); ^ user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:71:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &father); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms516kbCool!10
20ms1208kbCool!10
34ms2412kbCool!10
48ms4340kbCool!10
512ms4164kbCool!10
612ms3884kbCool!10
720ms5940kbCool!10
812ms4368kbCool!10
920ms5772kbCool!10
1016ms4972kbCool!10
Punctaj total100

Ceva nu functioneaza?