Pagini recente » Borderou de evaluare (job #3130132) | Borderou de evaluare (job #349216) | Borderou de evaluare (job #478121) | Borderou de evaluare (job #218846) | Borderou de evaluare (job #1645651)
Borderou de evaluare (job #1645651)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch1(int, Point)’:
user.cpp:67:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + step < fasii [k].size () && ccw (fasii [k][i + step].A, fasii [k][i + step].B, C) < 0)
^
user.cpp: In function ‘int main()’:
user.cpp:154:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k1 < fasii [k].size ()) {
^
user.cpp:88:15: warning: unused variable ‘xc’ [-Wunused-variable]
int n, i, xc, yc, x, y, m, l, j, med, ans = 0, num, k, k1, cp;
^
user.cpp:88:19: warning: unused variable ‘yc’ [-Wunused-variable]
int n, i, xc, yc, x, y, m, l, j, med, ans = 0, num, k, k1, cp;
^
user.cpp:88:38: warning: unused variable ‘med’ [-Wunused-variable]
int n, i, xc, yc, x, y, m, l, j, med, ans = 0, num, k, k1, cp;
^
user.cpp:92:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("poligon.in", "r", stdin);
^
user.cpp:93:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("poligon.out", "w", stdout);
^
user.cpp:95:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &m);
^
user.cpp:97:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp:148:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Okay! | 10 |
2 | 0ms | 304kb | Okay! | 10 |
3 | 0ms | 352kb | Okay! | 10 |
4 | 4ms | 512kb | Too bad! | 0 |
5 | 8ms | 896kb | Okay! | 10 |
6 | 128ms | 7980kb | Too bad! | 0 |
7 | 36ms | 2488kb | Okay! | 10 |
8 | 52ms | 3736kb | Too bad! | 0 |
9 | 84ms | 5392kb | Too bad! | 0 |
10 | 108ms | 7704kb | Too bad! | 0 |
Punctaj total | 50 |