Borderou de evaluare (job #1951000)

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

Raport evaluator

Compilare: user.cpp: In function ‘void DF_pl(long int)’: user.cpp:37: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:51: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:103:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<comps.sz();i++) ^ user.cpp:105: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:107: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:58: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:59: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:61: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:65: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
10ms884kbOK5
20ms892kbOK5
30ms940kbOK5
40ms912kbOK5
50ms952kbOK5
68ms1296kbIncorect0
712ms1228kbIncorect0
88ms1288kbOK5
956ms2372kbOK5
1068ms3680kbOK5
1168ms3688kbOK5
1268ms3680kbOK5
13268ms9348kbOK5
14268ms9380kbOK5
15272ms9372kbOK5
16Depăşit9576kbTime limit exceeded.0
17352ms9424kbOK5
18400ms11484kbOK5
19Depăşit11460kbTime limit exceeded.0
20Depăşit9844kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?