Borderou de evaluare (job #1193292)

Utilizator ZenusTudor Costin Razvan Zenus Data 31 mai 2014 13:47:55
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:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d",&N,&A,&B,&C); ^ user.cpp:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:45:28: warning: operation on ‘V[0]’ may be undefined [-Wsequence-point] V[++V[0]]=(A*V[V[0]-1]+B)%C; ^ user.cpp:50:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] for (i=1;i<=V[0];i+=10) printf("%d ",V[i]); ^ user.cpp:37: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:38: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:40:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&N,&A,&B,&C); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbOK1030
212ms1068kbOK10
3196ms8088kbOK10
4200ms8088kbOK100
5Depăşit78384kbTime limit exceeded.0
6Depăşit78384kbTime limit exceeded.0
7264ms8092kbOK10
8Depăşit78380kbTime limit exceeded.00
9Depăşit78376kbTime limit exceeded.0
10Depăşit78376kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?