Borderou de evaluare (job #1724012)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 2 iulie 2016 00:23:51
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:89: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:116: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:117: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:120:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:122: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:124: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:72:28: warning: ‘answer’ may be used uninitialized in this function [-Wmaybe-uninitialized] return distances[answer]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms484kbCorect!5
216ms8596kbKilled by signal 11(SIGSEGV).0
348ms8796kbKilled by signal 11(SIGSEGV).0
484ms9092kbKilled by signal 11(SIGSEGV).0
5104ms9336kbKilled by signal 11(SIGSEGV).0
6152ms9672kbKilled by signal 11(SIGSEGV).0
7148ms9940kbKilled by signal 11(SIGSEGV).0
8264ms10372kbKilled by signal 11(SIGSEGV).0
9272ms10748kbKilled by signal 11(SIGSEGV).0
10316ms11184kbKilled by signal 11(SIGSEGV).0
11532ms12112kbKilled by signal 11(SIGSEGV).0
12400ms12112kbKilled by signal 11(SIGSEGV).0
13556ms12732kbKilled by signal 11(SIGSEGV).0
14620ms13148kbKilled by signal 11(SIGSEGV).0
15Depăşit13764kbTime limit exceeded.0
16Depăşit12744kbTime limit exceeded.0
17Depăşit14124kbTime limit exceeded.0
18Depăşit14188kbTime limit exceeded.0
19Depăşit13376kbTime limit exceeded.0
20Depăşit14384kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?