Borderou de evaluare (job #2311858)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 3 ianuarie 2019 19:23:20
Problema Cuiburi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool cerccerc(forma, forma)': main.cpp:47:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (a.r >= sqrt ((b.x - a.x) * (b.x - a.x) + (b.y - a.y) * (b.y - a.y)) + b.r); ^~ main.cpp:48:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' return true; ^~~~~~ main.cpp: In function 'int main()': main.cpp:83:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("cuiburi.in", "r", stdin); ^ main.cpp:84:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("cuiburi.out", "w", stdout); ^ main.cpp:86:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ main.cpp:89:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &a[i].tip); ^ main.cpp:92:65: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d", &a[i].x1, &a[i].y1, &a[i].x2, &a[i].y2); ^ main.cpp:94:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &a[i].x, &a[i].y, &a[i].r); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
22ms131kbIncorect0
33ms262kbIncorect0
48ms786kbIncorect0
59ms524kbIncorect0
628ms1310kbIncorect0
7148ms7864kbIncorect0
8146ms7471kbIncorect0
9138ms7864kbIncorect0
10142ms7340kbIncorect0
Punctaj total0

Ceva nu functioneaza?