Pagini recente » Borderou de evaluare (job #2242225) | Borderou de evaluare (job #892300) | Borderou de evaluare (job #577745) | Borderou de evaluare (job #2714756) | Borderou de evaluare (job #1220364)
Borderou de evaluare (job #1220364)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int)’:
user.cpp:53:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < fp.v.size(); ++i) {
^
user.cpp:52:7: warning: unused variable ‘a’ [-Wunused-variable]
int a = 0, b = fp.v.size() - 1;
^
user.cpp:52: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 | Okay! | 10 |
2 | 0ms | 1884kb | Okay! | 10 |
3 | 4ms | 1948kb | Okay! | 10 |
4 | 8ms | 2080kb | Too bad! | 0 |
5 | 16ms | 2328kb | Okay! | 10 |
6 | Depăşit | 8616kb | Time limit exceeded. | 0 |
7 | 60ms | 3948kb | Okay! | 10 |
8 | 100ms | 4740kb | Okay! | 10 |
9 | Depăşit | 6404kb | Time limit exceeded. | 0 |
10 | 100ms | 7908kb | Too bad! | 0 |
Punctaj total | 60 |