Borderou de evaluare (job #1254538)

Utilizator atatomirTatomir Alex atatomir Data 2 noiembrie 2014 21:24:30
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:69: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:70: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:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:74: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
20ms844kbRaspuns gresit0
380ms1468kbRaspuns gresit0
4Depăşit2268kbTime limit exceeded.0
5Depăşit2112kbTime limit exceeded.0
6Depăşit1936kbTime limit exceeded.0
7Depăşit2272kbTime limit exceeded.0
8Depăşit2268kbTime limit exceeded.0
9Depăşit2256kbTime limit exceeded.0
10Depăşit1856kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?