Pagini recente » Borderou de evaluare (job #2314998) | Borderou de evaluare (job #1435757) | Borderou de evaluare (job #2224926) | Borderou de evaluare (job #1666588) | Borderou de evaluare (job #1645618)
Borderou de evaluare (job #1645618)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch1(int, double)’:
user.cpp:56:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + step < fasii [k].size () && fasii [k][i + step].xm - value <= -eps)
^
user.cpp: In function ‘int main()’:
user.cpp:163:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (k1 < fasii [k].size ()) {
^
user.cpp:86: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:86: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:86: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:90: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:91: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:93: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:95: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:146: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 | 288kb | Okay! | 10 |
2 | 0ms | 300kb | Too bad! | 0 |
3 | 0ms | 348kb | Too bad! | 0 |
4 | 4ms | 508kb | Too bad! | 0 |
5 | 8ms | 892kb | Too bad! | 0 |
6 | 124ms | 7972kb | Too bad! | 0 |
7 | 32ms | 2476kb | Too bad! | 0 |
8 | 52ms | 3732kb | Too bad! | 0 |
9 | 80ms | 5392kb | Too bad! | 0 |
10 | 104ms | 7696kb | Too bad! | 0 |
Punctaj total | 10 |