Borderou de evaluare (job #1309067)

Utilizator gabimoiseMoise Gabriel gabimoise Data 5 ianuarie 2015 10:50:13
Problema Pluricex Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:43:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&n,&k,&d); ^ user.cpp:43:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:43:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:46:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&nr); ^ user.cpp:47:44: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] for (j=1;j<=nr;j++) {scanf("%ld",&t); s[i][t]=1;} ^ user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.in","r",stdin); ^ user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.out","w",stdout); ^ user.cpp:43:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&n,&k,&d); ^ user.cpp:46:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&nr); ^ user.cpp:47:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1;j<=nr;j++) {scanf("%ld",&t); s[i][t]=1;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK10
20ms428kbOK10
30ms424kbOK10
4Depăşit404kbTime limit exceeded.0
50ms428kbOK10
624ms424kbOK10
74ms428kbOK10
8Depăşit416kbTime limit exceeded.0
9Depăşit420kbTime limit exceeded.0
100ms432kbOK10
Punctaj total70

Ceva nu functioneaza?