Borderou de evaluare (job #1673920)

Utilizator SmarandaMaria Pandele Smaranda Data 4 aprilie 2016 11:05:31
Problema Count Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [nod].size (); ++ j) ^ user.cpp:66:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (k = j + 1; k < graph [nod].size (); ++ k) ^ user.cpp:70:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (l = k + 1; l < graph [nod].size (); ++ l) { ^ user.cpp:86:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < graph [nod].size (); ++ j) { ^ user.cpp:35:26: warning: variable ‘g’ set but not used [-Wunused-but-set-variable] int n, m, x, y, nod, g, i, j, k, l, num, A, B, C, glob, lim = 0; ^ user.cpp:37:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("count.in", "r", stdin); ^ user.cpp:38:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("count.out", "w", stdout); ^ user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &m); ^ user.cpp:42:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2900kbOK10
28ms2908kbOK10
38ms2912kbOK10
48ms2944kbOK10
516ms3048kbOK10
620ms3176kbOK10
716ms3044kbOK10
892ms4880kbOK10
9260ms6464kbOK10
10156ms6144kbOK10
Punctaj total100

Ceva nu functioneaza?