Borderou de evaluare (job #1678645)

Utilizator serbanSlincu Serban serban Data 7 aprilie 2016 14:35:42
Problema Flux maxim de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘bool dijkstra()’: user.cpp:36:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[act].size(); i ++) { ^ user.cpp:31:13: warning: unused variable ‘kost’ [-Wunused-variable] int kost = pq.top().first; ^ user.cpp: In function ‘bool bellmanFord()’: user.cpp:85:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[act].size(); i ++) { ^ user.cpp: In function ‘int main()’: user.cpp:112:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d %d %d", &n, &m, &s, &d); ^ user.cpp:114:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &x, &y); ^ user.cpp:115:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &c[x][y], &cost[x][y]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms476kbOK1010
20ms476kbOK1010
30ms588kbOK1010
40ms588kbOK1010
50ms584kbOK1010
6584ms1092kbOK100
7Depăşit1060kbTime limit exceeded.0
8Depăşit1508kbTime limit exceeded.00
9Depăşit1508kbTime limit exceeded.0
10Depăşit1512kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?