Borderou de evaluare (job #1535966)

Utilizator andreey_047Andrei Maxim andreey_047 Data 25 noiembrie 2015 15:05:59
Problema Project management Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 51

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d %d\n",g[i],K[i]); ^ user.cpp:68:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.in","r",stdin); ^ user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pm2.out","w",stdout); ^ user.cpp:43:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:44:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) scanf("%d",&t[i]); ^ user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK!10
20ms456kbOK!10
30ms456kbA doua valoare gresita!7
40ms452kbOK!10
5Depăşit472kbTime limit exceeded.0
6Depăşit468kbTime limit exceeded.0
70ms452kbA doua valoare gresita!7
8Depăşit416kbTime limit exceeded.0
9Depăşit428kbTime limit exceeded.0
100ms456kbA doua valoare gresita!7
Punctaj total51

Ceva nu functioneaza?