Borderou de evaluare (job #1887223)

Utilizator Luncasu_VictorVictor Luncasu Luncasu_Victor Data 21 februarie 2017 14:01:26
Problema Catun Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In member function ‘void Heap::pop()’: user.cpp:51:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (2 * t + 1 < h.size()) { ^ user.cpp:53:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (f + 1 < h.size() && (h[f + 1].val < h[f].val || (h[f + 1].val == h[f].val && h[f + 1].fort < h[f].fort))) f++; ^ user.cpp: In member function ‘void Dijkstra::dist()’: user.cpp:87:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < g[x].size(); ++i) { ^ user.cpp: In function ‘int main()’: user.cpp:120:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.in","r",stdin); ^ user.cpp:121:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("catun.out", "w", stdout); ^ user.cpp:122:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &n, &m, &k); ^ user.cpp:124:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &dd[i]); ^ user.cpp:127:38: 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
10ms1044kbOK10
24ms1188kbIncorect0
312ms1580kbIncorect0
40ms1036kbIncorect0
532ms2176kbIncorect0
660ms3108kbIncorect0
74ms1212kbOK10
816ms1524kbIncorect0
948ms2512kbOK10
10116ms4220kbIncorect0
Punctaj total30

Ceva nu functioneaza?