Borderou de evaluare (job #1415787)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 6 aprilie 2015 12:02:14
Problema Drumuri5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

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:52: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
24ms3792kbOK5
34ms3792kbOK5
44ms3792kbOK5
54ms3804kbOK5
64ms3804kbOK5
724ms3836kbOK5
812ms3816kbOK5
916ms3832kbOK5
1064ms3872kbOK5
11Depăşit4732kbTime limit exceeded.0
12Depăşit4716kbTime limit exceeded.0
13Depăşit6180kbTime limit exceeded.0
14Depăşit6220kbTime limit exceeded.0
15Depăşit6976kbTime limit exceeded.0
16Depăşit7028kbTime limit exceeded.0
17Depăşit10012kbTime limit exceeded.0
18Depăşit9236kbTime limit exceeded.0
19Depăşit10200kbTime limit exceeded.0
20Depăşit11828kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?