Pagini recente » Borderou de evaluare (job #2207596) | Borderou de evaluare (job #2922427) | Borderou de evaluare (job #304403) | Borderou de evaluare (job #3233894) | Borderou de evaluare (job #3242099)
Borderou de evaluare (job #3242099)
Raport evaluator
Compilare:
main.cpp: In function 'bool F(point, point, point)':
main.cpp:65:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
65 | return 1LL * (1LL * (A1.y - O1.y) * (B1.x - O1.x) - 1LL * (A1.x - O1.x) * (B1.y - O1.y) < 0);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'bool cmp(int, int)':
main.cpp:74:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
74 | return 1LL * (1LL * (A1.y - O1.y) * 1LL * (B1.x - O1.x) - 1LL * (A1.x - O1.x) * (B1.y - O1.y) < 0);
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:102:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
102 | for(int i = 0; i < v.size(); i++) {
| ~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 247ms | 4526kb | OK | 10 |
3 | 2ms | 819kb | OK | 10 |
4 | 331ms | 5959kb | OK | 10 |
5 | 331ms | 6000kb | OK | 10 |
6 | 28ms | 1204kb | OK | 10 |
7 | 262ms | 4681kb | OK | 10 |
8 | 78ms | 2822kb | OK | 10 |
9 | 272ms | 4866kb | OK | 10 |
10 | 262ms | 4808kb | OK | 10 |
Punctaj total | 100 |