Pagini recente » Borderou de evaluare (job #993028) | Borderou de evaluare (job #1380130) | Borderou de evaluare (job #2784561) | Borderou de evaluare (job #227898) | Borderou de evaluare (job #1783629)
Borderou de evaluare (job #1783629)
Raport evaluator
Compilare:
user.cpp: In function ‘int buildPoly(coord, coord, int)’:
user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size(); i++)
^
user.cpp:82:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size(); i++)
^
user.cpp: In function ‘double arie()’:
user.cpp:92:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < poly.size()-1; i++)
^
user.cpp: In function ‘void solve()’:
user.cpp:120:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (dif < best || eq(dif, best) && better()) {
^
user.cpp: In function ‘void read()’:
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &a[i].x, &a[i].y);
^
user.cpp: In function ‘int better()’:
user.cpp:105:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:132:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.in", "r", stdin);
^
user.cpp:133:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gradina.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | Diferenta minima gresita! | 0 |
2 | 8ms | 488kb | Diferenta minima gresita! | 0 |
3 | 416ms | 488kb | Diferenta minima gresita! | 0 |
4 | 1284ms | 496kb | Diferenta minima gresita! | 0 |
5 | 356ms | 488kb | Diferenta minima gresita! | 0 |
6 | 164ms | 488kb | Diferenta minima gresita! | 0 |
7 | 1064ms | 488kb | Diferenta minima gresita! | 0 |
8 | 1080ms | 492kb | Diferenta minima gresita! | 0 |
9 | 692ms | 496kb | Diferenta minima gresita! | 0 |
10 | 1152ms | 492kb | Diferenta minima gresita! | 0 |
Punctaj total | 0 |