Borderou de evaluare (job #1255341)

Utilizator atatomirTatomir Alex atatomir Data 4 noiembrie 2014 18:33:13
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:28:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<list[nod].size();i++) DFS(nodes[i]); ^ user.cpp:31:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<nodes.size();j++){ ^ user.cpp:48:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j=0;j<nodes.size();j++){ ^ user.cpp: In function ‘int main()’: user.cpp:70: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:71: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:73:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:75: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
10ms492kbRaspuns gresit0
20ms840kbRaspuns gresit0
380ms1460kbRaspuns gresit0
4Depăşit2264kbTime limit exceeded.0
5Depăşit2100kbTime limit exceeded.0
6Depăşit1936kbTime limit exceeded.0
7Depăşit2264kbTime limit exceeded.0
8Depăşit2260kbTime limit exceeded.0
9Depăşit2252kbTime limit exceeded.0
10Depăşit1848kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?