Borderou de evaluare (job #1380957)

Utilizator gabimoiseMoise Gabriel gabimoise Data 8 martie 2015 11:15:15
Problema Drum6 Status done
Runda Algoritmiada 2015 - Runda 2, Juniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld\n",&n,&m); ^ user.cpp:14:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drum6.in","r",stdin); ^ user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("drum6.out","w",stdout); ^ user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld\n",&n,&m); ^ user.cpp:16:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1;j<=m;j++) {scanf("%c",&x); a[i][j]=(int)x;} scanf("\n");} ^ user.cpp:16:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (j=1;j<=m;j++) {scanf("%c",&x); a[i][j]=(int)x;} scanf("\n");} ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms496kbOK100
2Depăşit468kbTime limit exceeded.0
3Depăşit860kbTime limit exceeded.00
4Depăşit820kbTime limit exceeded.0
5Depăşit860kbTime limit exceeded.0
6Depăşit2492kbTime limit exceeded.00
7Depăşit4736kbTime limit exceeded.00
8Depăşit4704kbTime limit exceeded.0
9Depăşit4736kbTime limit exceeded.00
10Depăşit4736kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?