Borderou de evaluare (job #1375105)

Utilizator DenisacheDenis Ehorovici Denisache Data 5 martie 2015 12:14:08
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:22: warning: integer overflow in expression [-Woverflow] #define INF ((1<<31)-1) ^ user.cpp:44:33: note: in expansion of macro ‘INF’ for (int i=2;i<=n;i++) D[i]=INF; ^ user.cpp:11:22: warning: integer overflow in expression [-Woverflow] #define INF ((1<<31)-1) ^ user.cpp:48:29: note: in expansion of macro ‘INF’ printf("%d ",(D[i]==INF)?0:D[i]); ^ user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.in","r",stdin); ^ user.cpp:36:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.out","w",stdout); ^ user.cpp:37:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); ^ user.cpp:41:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&a,&b,&c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit832kbTime limit exceeded.0
2Depăşit832kbTime limit exceeded.0
3Depăşit872kbTime limit exceeded.0
4Depăşit880kbTime limit exceeded.0
5Depăşit1172kbTime limit exceeded.0
6Depăşit1456kbTime limit exceeded.0
7Depăşit1668kbTime limit exceeded.0
868ms1984kbOK10
9Depăşit3576kbTime limit exceeded.0
10Depăşit4332kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?