Borderou de evaluare (job #1951022)

Utilizator qqqpppqqq ppp qqqppp Data 3 aprilie 2017 13:20:37
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void DF_pl(long int)’: user.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<G[nod].sz();i++) ^ user.cpp: In function ‘void DF_mn(long int)’: user.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<G[nod].sz();i++) ^ user.cpp: In function ‘int main()’: user.cpp:80:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<comps.sz();i++) ^ user.cpp:82:45: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<int>::size_type {aka unsigned int}’ [-Wformat=] printf("%ld ",comps[i].sz() ); ^ user.cpp:84:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<comps[i].sz();j++) printf("%d ",comps[i][j]); ^ user.cpp:40:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retele.in","r",stdin); ^ user.cpp:41:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retele.out","w",stdout); ^ user.cpp:43:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&n,&m); ^ user.cpp:47:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms888kbOK5
20ms888kbOK5
30ms940kbOK5
40ms908kbOK5
50ms952kbOK5
68ms1300kbOK5
78ms1300kbOK5
88ms1284kbOK5
956ms2372kbOK5
1068ms3680kbOK5
1168ms3692kbOK5
1268ms3680kbOK5
13268ms9348kbOK5
14264ms9376kbOK5
15264ms9372kbOK5
16Depăşit9580kbTime limit exceeded.0
17352ms9424kbOK5
18Depăşit11480kbTime limit exceeded.0
19Depăşit11464kbTime limit exceeded.0
20Depăşit9848kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?