Borderou de evaluare (job #1415788)

Utilizator PetreCatalinFMI Petre Catalin PetreCatalin Data 6 aprilie 2015 12:02:39
Problema Drumuri5 Status done
Runda Teme Pregatire ACM Unibuc 2014, Anul I, Semestrul 2 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
14ms3788kbOK5
24ms3792kbOK5
34ms3792kbOK5
44ms3796kbOK5
54ms3796kbOK5
64ms3804kbOK5
724ms3836kbOK5
812ms3812kbOK5
916ms3828kbOK5
1060ms3872kbOK5
11Depăşit4732kbTime limit exceeded.0
12Depăşit4720kbTime limit exceeded.0
13Depăşit6180kbTime limit exceeded.0
14Depăşit6216kbTime limit exceeded.0
15Depăşit6972kbTime limit exceeded.0
16Depăşit7032kbTime limit exceeded.0
17Depăşit10008kbTime limit exceeded.0
18Depăşit9236kbTime limit exceeded.0
19Depăşit10196kbTime limit exceeded.0
20Depăşit11832kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?