Borderou de evaluare (job #1724013)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 2 iulie 2016 00:28:33
Problema Adapost Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘bool BellmanFord()’: user.cpp:91:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<g[node].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:118:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.in","r",stdin); ^ user.cpp:119:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost.out","w",stdout); ^ user.cpp:122:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:124:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&soldier[i].x,&soldier[i].y); ^ user.cpp:126:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&shelter[i].x,&shelter[i].y); ^ user.cpp: In function ‘double BinarySearch()’: user.cpp:74:28: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized] return distances[answer]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbCorect!5
216ms8628kbKilled by signal 11(SIGSEGV).0
344ms8788kbKilled by signal 11(SIGSEGV).0
480ms9152kbKilled by signal 11(SIGSEGV).0
5104ms9352kbKilled by signal 11(SIGSEGV).0
6144ms9700kbKilled by signal 11(SIGSEGV).0
7148ms9960kbKilled by signal 11(SIGSEGV).0
8268ms10372kbKilled by signal 11(SIGSEGV).0
9268ms10772kbKilled by signal 11(SIGSEGV).0
10304ms11196kbKilled by signal 11(SIGSEGV).0
11524ms12128kbKilled by signal 11(SIGSEGV).0
12404ms12128kbKilled by signal 11(SIGSEGV).0
13548ms12732kbKilled by signal 11(SIGSEGV).0
14620ms13168kbKilled by signal 11(SIGSEGV).0
15Depăşit13784kbTime limit exceeded.0
16Depăşit12824kbTime limit exceeded.0
17Depăşit14208kbTime limit exceeded.0
18Depăşit14160kbTime limit exceeded.0
19Depăşit13524kbTime limit exceeded.0
20Depăşit14376kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?