Borderou de evaluare (job #1444752)

Utilizator MihaiEMihaiE MihaiE Data 30 mai 2015 09:42:06
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
10ms296kbOK1030
212ms784kbOK10
3172ms4272kbOK10
4180ms4284kbOK100
5Depăşit50640kbTime limit exceeded.0
6Depăşit40004kbTime limit exceeded.0
70ms260kbKilled by signal 11(SIGSEGV).0
80ms268kbKilled by signal 11(SIGSEGV).00
9Depăşit55680kbTime limit exceeded.0
100ms260kbKilled by signal 11(SIGSEGV).0
Punctaj total30

Ceva nu functioneaza?