Borderou de evaluare (job #1951013)

Utilizator qqqpppqqq ppp qqqppp Data 3 aprilie 2017 13:16:27
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
10ms884kbOK5
20ms896kbOK5
30ms944kbOK5
40ms912kbOK5
50ms956kbOK5
68ms1300kbOK5
78ms1296kbOK5
88ms1288kbOK5
960ms2372kbOK5
1068ms3680kbOK5
1168ms3688kbOK5
1268ms3680kbOK5
13264ms9352kbOK5
14272ms9376kbOK5
15268ms9376kbOK5
16Depăşit9576kbTime limit exceeded.0
17356ms9424kbOK5
18Depăşit11488kbTime limit exceeded.0
19Depăşit11464kbTime limit exceeded.0
20Depăşit9844kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?