Borderou de evaluare (job #1415784)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 6 aprilie 2015 11:44:34
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 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 int*’ [-Wformat=] user.cpp:31:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘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 int*’ [-Wformat=] user.cpp:46:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<el.size();++i) ^ user.cpp:47:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long int> >::value_type {aka 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
14ms3776kbOK5
24ms3780kbOK5
34ms3784kbOK5
44ms3784kbOK5
54ms3792kbOK5
64ms3784kbOK5
716ms3812kbIncorect0
88ms3800kbOK5
912ms3812kbOK5
1040ms3828kbIncorect0
11Depăşit4480kbTime limit exceeded.0
12Depăşit4464kbTime limit exceeded.0
13Depăşit5564kbTime limit exceeded.0
14Depăşit5624kbTime limit exceeded.0
15Depăşit6148kbTime limit exceeded.0
16Depăşit6200kbTime limit exceeded.0
17Depăşit8772kbTime limit exceeded.0
18Depăşit7840kbTime limit exceeded.0
19Depăşit8560kbTime limit exceeded.0
20Depăşit9932kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?