Pagini recente » Borderou de evaluare (job #1935662) | Borderou de evaluare (job #3157109) | Borderou de evaluare (job #519010) | Borderou de evaluare (job #2858779) | Borderou de evaluare (job #1645595)
Borderou de evaluare (job #1645595)
Raport evaluator
Compilare:
user.cpp: In function ‘int binarySearch1(int, int)’:
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 | 304kb | Too bad! | 0 |
3 | 0ms | 356kb | Too bad! | 0 |
4 | 4ms | 516kb | Too bad! | 0 |
5 | 8ms | 896kb | Too bad! | 0 |
6 | 124ms | 7976kb | Too bad! | 0 |
7 | 32ms | 2488kb | Too bad! | 0 |
8 | 52ms | 3740kb | Too bad! | 0 |
9 | 80ms | 5396kb | Too bad! | 0 |
10 | 104ms | 7704kb | Too bad! | 0 |
Punctaj total | 10 |