Borderou de evaluare (job #1290651)

Utilizator atatomirTatomir Alex atatomir Data 11 decembrie 2014 17:35:30
Problema Disconnect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘void dfsReconf(long int)’: user.cpp:23:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(long i=0;i<list[nod].size();i++){ ^ user.cpp: In function ‘void removeEdge(long int, long int)’: user.cpp:33:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<list[a].size();i++){ ^ user.cpp: In function ‘void dfs(long int)’: user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(long i=0;i<list[nod].size();i++){ ^ user.cpp: In function ‘int main()’: user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] int type, x, y; scanf("%ld %ld %ld",&type,&x,&y); ^ user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:88:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:71:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.in","r",stdin); ^ user.cpp:72:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.out","w",stdout); ^ user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&N,&M); ^ user.cpp:76:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^ user.cpp:88:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int type, x, y; scanf("%ld %ld %ld",&type,&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1616kbOK10
24ms1648kbOK10
3348ms1752kbOK10
4352ms1892kbOK10
5500ms3676kbOK10
6372ms3952kbOK10
7Depăşit4144kbTime limit exceeded.0
8740ms4256kbOK10
9616ms4292kbOK10
10504ms4348kbOK10
Punctaj total90

Ceva nu functioneaza?