Borderou de evaluare (job #1253838)

Utilizator DenisacheDenis Ehorovici Denisache Data 1 noiembrie 2014 21:11:43
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:53:33: note: in expansion of macro ‘INF’ for (i=1;i<=N;i++) minim[i]=INF; ^ user.cpp:28:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:57:33: note: in expansion of macro ‘INF’ for (i=1;i<=N;i++) D[i]=INF; ^ user.cpp:28:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:80:48: note: in expansion of macro ‘INF’ for (i=1;i<=N;i++) printf("%d ",(minim[i]==INF)?0:sol[i]); ^ 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("catun.in","r",stdin); ^ user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.out","w",stdout); ^ user.cpp:44:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&N,&M,&K); ^ user.cpp:45:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1;i<=K;i++) scanf("%d",&catune[i]); ^ user.cpp:49:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&x,&y,&z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms880kbOK10
24ms988kbOK10
336ms1048kbIncorect0
40ms872kbIncorect0
5Depăşit1748kbTime limit exceeded.0
6104ms2484kbOK10
74ms1040kbOK10
8Depăşit1200kbTime limit exceeded.0
9Depăşit2008kbTime limit exceeded.0
10Depăşit3344kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?