Borderou de evaluare (job #1593049)

Utilizator iulian_f2kGuraliuc Iulian iulian_f2k Data 8 februarie 2016 11:32:12
Problema Dragoni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int&)’: user.cpp:33:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<G[nod].size(); i++) ^ user.cpp: In function ‘void Dijkstra(int)’: user.cpp:6:22: warning: integer overflow in expression [-Woverflow] #define Inf ((2<<30)-1) ^ user.cpp:42:21: note: in expansion of macro ‘Inf’ dist.assign(N+2,Inf); ^ user.cpp:51:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<G[nOptim].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d%d", &p, &N, &M); ^ user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:67:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragoni.in", "rt", stdin); ^ user.cpp:68:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragoni.out", "wt", stdout); ^ user.cpp:70:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &p, &N, &M); ^ user.cpp:73:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &d); ^ user.cpp:77:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms412kbKilled by signal 11(SIGSEGV).0
20ms420kbKilled by signal 11(SIGSEGV).0
30ms424kbKilled by signal 11(SIGSEGV).0
40ms428kbKilled by signal 11(SIGSEGV).0
50ms424kbKilled by signal 11(SIGSEGV).0
60ms424kbKilled by signal 11(SIGSEGV).0
74ms680kbKilled by signal 6(SIGABRT).0
80ms432kbKilled by signal 11(SIGSEGV).0
90ms424kbKilled by signal 11(SIGSEGV).0
100ms424kbKilled by signal 11(SIGSEGV).0
114ms632kbKilled by signal 6(SIGABRT).0
120ms448kbRaspuns gresit!0
13516msDepăşitMemory limit exceeded.0
140ms428kbKilled by signal 11(SIGSEGV).0
150ms428kbKilled by signal 11(SIGSEGV).0
160ms428kbKilled by signal 11(SIGSEGV).0
170ms424kbKilled by signal 11(SIGSEGV).0
180ms432kbKilled by signal 11(SIGSEGV).0
190ms428kbKilled by signal 11(SIGSEGV).0
204ms684kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?