Borderou de evaluare (job #1254498)

Utilizator atatomirTatomir Alex atatomir Data 2 noiembrie 2014 20:20:27
Problema PetSoft Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(long int)’: user.cpp:27:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<list[nod].size();i++) DFS(nodes[i]); ^ user.cpp:29:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<nodes.size();j++){ ^ user.cpp:57:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<=nodes.size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:64:36: 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:38: 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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:69:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&nr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms476kbRaspuns gresit0
20ms828kbRaspuns gresit0
30ms1440kbRaspuns gresit0
44ms2412kbRaspuns gresit0
54ms2320kbRaspuns gresit0
64ms2180kbRaspuns gresit0
78ms3216kbRaspuns gresit0
84ms2432kbRaspuns gresit0
98ms3136kbRaspuns gresit0
108ms2728kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?