Borderou de evaluare (job #1444761)

Utilizator MihaiEMihaiE MihaiE Data 30 mai 2015 09:44:11
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:37: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%lld%lld%lld%lld",&n,&a,&b,&c); ^ user.cpp:33:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j=0;j<d[i].size();j++){ ^ user.cpp:35:40: 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=] if (l==bb) printf("%d ",d[i][j]),bb+=10; ^ user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.in","r",stdin); ^ user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("radixsort.out","w",stdout); ^ user.cpp:18:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld%lld%lld",&n,&a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbOK1030
212ms796kbOK10
3172ms4284kbOK10
4180ms4288kbOK100
5Depăşit49748kbTime limit exceeded.0
6Depăşit42704kbTime limit exceeded.0
7268ms5232kbOK10
80ms272kbKilled by signal 11(SIGSEGV).00
9Depăşit45500kbTime limit exceeded.0
10Depăşit39812kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?