Borderou de evaluare (job #1710093)

Utilizator Spiromanii_MessiUNIBUCThrowTerror Spiromanii_Messi Data 28 mai 2016 14:59:33
Problema Revolta Status done
Runda ONIS 2016 - Runda - 2 - ACM ICPC Romanian Programming Contest Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int makeDiametru()’: user.cpp:48:22: warning: variable ‘f’ set but not used [-Wunused-but-set-variable] int i, maxim, s, f; ^ user.cpp: In function ‘int placeEdge(const int&)’: user.cpp:72:9: warning: unused variable ‘i’ [-Wunused-variable] int i, c1, c2, c3, c4, h, ans = (1ll << 31) - 1; ^ user.cpp: In function ‘void read()’: user.cpp:17:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:20:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &a, &b); ^ user.cpp: In function ‘int main()’: user.cpp:192:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("revolta.in", "r", stdin); ^ user.cpp:193:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("revolta.out", "w", stdout); ^ user.cpp:195:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^ user.cpp: In function ‘int makeDiametru()’: user.cpp:61:12: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized] dfs (s); ^ user.cpp: In function ‘void solve()’: user.cpp:167:5: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = f; i != s; i = last [i]) ^ user.cpp:167:5: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
11760ms8304kbIncorect0
Punctaj total0

Ceva nu functioneaza?