Pagini recente » Borderou de evaluare (job #165972) | Borderou de evaluare (job #2868811) | Borderou de evaluare (job #916602) | Borderou de evaluare (job #1421830) | Borderou de evaluare (job #1220363)
Borderou de evaluare (job #1220363)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int)’:
user.cpp:52:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < fp->v.size(); ++i) {
^
user.cpp:51:7: warning: unused variable ‘a’ [-Wunused-variable]
int a = 0, b = fp->v.size() - 1;
^
user.cpp:51:14: warning: unused variable ‘b’ [-Wunused-variable]
int a = 0, b = fp->v.size() - 1;
^
user.cpp: In function ‘int main()’:
user.cpp:96:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i + 1 < unic_x.size(); ++i) {
^
user.cpp:99:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < s.size(); ++j) if (intersect(*fp, s[j])) {
^
user.cpp:69:35: 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:70:37: 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:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:74:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &px[i], &py[i]);
^
user.cpp:111:26: 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 | 1864kb | Too bad! | 0 |
2 | 0ms | 1884kb | Too bad! | 0 |
3 | 4ms | 1948kb | Too bad! | 0 |
4 | 4ms | 2080kb | Too bad! | 0 |
5 | 8ms | 2332kb | Too bad! | 0 |
6 | Depăşit | 8632kb | Time limit exceeded. | 0 |
7 | 32ms | 3948kb | Too bad! | 0 |
8 | 48ms | 4740kb | Too bad! | 0 |
9 | 72ms | 6324kb | Too bad! | 0 |
10 | 72ms | 7908kb | Too bad! | 0 |
Punctaj total | 0 |