Borderou de evaluare (job #1415786)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 6 aprilie 2015 11:57:28
Problema Drumuri5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void df1(int)’: user.cpp:13:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<g[x].size();++i) ^ user.cpp: In function ‘void df2(int)’: user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<tr[x].size();++i) ^ user.cpp: In function ‘int main()’: user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:29:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&x,&y); ^ user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:47:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type {aka long long int}’ [-Wformat=] printf("%d ",el[i]); ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("drumuri5.in","r",stdin); ^ user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("drumuri5.out","w",stdout); ^ user.cpp:29:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:31:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3784kbOK5
24ms3788kbOK5
34ms3788kbOK5
44ms3792kbOK5
54ms3792kbOK5
64ms3800kbOK5
716ms3824kbIncorect0
88ms3812kbOK5
912ms3824kbOK5
1040ms3844kbIncorect0
11Depăşit4716kbTime limit exceeded.0
12Depăşit4700kbTime limit exceeded.0
13Depăşit6160kbTime limit exceeded.0
14Depăşit6208kbTime limit exceeded.0
15Depăşit6972kbTime limit exceeded.0
16Depăşit7024kbTime limit exceeded.0
17Depăşit10004kbTime limit exceeded.0
18Depăşit9228kbTime limit exceeded.0
19Depăşit10196kbTime limit exceeded.0
20Depăşit11824kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?