Borderou de evaluare (job #1236944)

Utilizator DenisacheDenis Ehorovici Denisache Data 2 octombrie 2014 20:45:42
Problema Distante Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:47:54: note: in expansion of macro ‘INF’ for (i=1;i<=N;i++) scanf("%d",&Test[i]),D[i]=INF,viz[i]=false; ^ user.cpp:64:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0;i<G[x].size();i++) ^ user.cpp:26:21: warning: integer overflow in expression [-Woverflow] #define INF (1<<31)-1 ^ user.cpp:76:23: note: in expansion of macro ‘INF’ if (D[i]==INF) D[i]=0; ^ 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("distante.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("distante.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",&T); ^ user.cpp:46:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&N,&M,&S); ^ user.cpp:47:70: 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",&Test[i]),D[i]=INF,viz[i]=false; ^ user.cpp:51:39: 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 Punctaj/grupa
10ms1048kbOK1010
28ms1144kbOK1010
312ms1148kbOK1010
436ms1316kbOK1010
552ms1660kbOK1010
6Depăşit2508kbTime limit exceeded.00
7Depăşit3364kbTime limit exceeded.00
864ms1728kbOK10
9Depăşit2440kbTime limit exceeded.0
10Depăşit2676kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?