Pagini recente » Borderou de evaluare (job #2461620) | Borderou de evaluare (job #2135932) | Borderou de evaluare (job #1165944) | Borderou de evaluare (job #784125) | Borderou de evaluare (job #1783978)
Borderou de evaluare (job #1783978)
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:79:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < s2.size()-1; i++)
^
user.cpp:83: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:94: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:124: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:108:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:136: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:137: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 | 480kb | Diferenta minima gresita! | 0 |
2 | 8ms | 484kb | Diferenta minima gresita! | 0 |
3 | 252ms | 496kb | Diferenta minima gresita! | 0 |
4 | 892ms | 492kb | Diferenta minima gresita! | 0 |
5 | 244ms | 488kb | Diferenta minima gresita! | 0 |
6 | 112ms | 492kb | Diferenta minima gresita! | 0 |
7 | 772ms | 492kb | Diferenta minima gresita! | 0 |
8 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 524ms | 500kb | Diferenta minima gresita! | 0 |
10 | 912ms | 492kb | Diferenta minima gresita! | 0 |
Punctaj total | 0 |