Pagini recente » Borderou de evaluare (job #1027189) | Borderou de evaluare (job #2025048) | Borderou de evaluare (job #1056498) | Borderou de evaluare (job #3280070) | Borderou de evaluare (job #1710093)
Borderou de evaluare (job #1710093)
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 |
1 | 1760ms | 8304kb | Incorect | 0 |
Punctaj total | 0 |