Pagini recente » Borderou de evaluare (job #3040134) | Borderou de evaluare (job #377821) | Borderou de evaluare (job #2778537) | Borderou de evaluare (job #682794) | Borderou de evaluare (job #1767135)
Borderou de evaluare (job #1767135)
Raport evaluator
Compilare:
user.cpp: In function ‘bool hasPoint(const std::vector<Point>&, const Point&, const Point&)’:
user.cpp:33:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (l < ch.size() - 1 && crossProduct(ch[m], fi, se) < crossProduct(ch[m + 1], fi, se)) {
^
user.cpp: In function ‘int main()’:
user.cpp:87:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.in", "r", stdin);
^
user.cpp:88:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri3.out", "w", stdout);
^
user.cpp:89:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
user.cpp:91:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &p[i].x, &p[i].y);
^
user.cpp:101:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a.x, &a.y);
^
user.cpp:102:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &b.x, &b.y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 5036kb | OK | 10 |
2 | 12ms | 5080kb | OK | 10 |
3 | 128ms | 7752kb | OK | 10 |
4 | 276ms | 17092kb | OK | 10 |
5 | 548ms | 27468kb | OK | 10 |
6 | 732ms | 12736kb | OK | 10 |
7 | 928ms | 14856kb | OK | 10 |
8 | 728ms | 18448kb | OK | 10 |
9 | 824ms | 18864kb | OK | 10 |
10 | 896ms | 19676kb | OK | 10 |
Punctaj total | 100 |