Pagini recente » Borderou de evaluare (job #2501731) | Borderou de evaluare (job #2163994) | Borderou de evaluare (job #2899964) | Borderou de evaluare (job #2514858) | Borderou de evaluare (job #2102553)
Borderou de evaluare (job #2102553)
Raport evaluator
Compilare:
user.cpp: In function ‘Dreapta dreapta(Punct, Punct)’:
user.cpp:18:22: warning: narrowing conversion of ‘(p2.Punct::y - p1.Punct::y)’ from ‘long long int’ to ‘double’ inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
^
user.cpp:18:35: warning: narrowing conversion of ‘(p1.Punct::x - p2.Punct::x)’ from ‘long long int’ to ‘double’ inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
^
user.cpp:18:55: warning: narrowing conversion of ‘((p1.Punct::y * p2.Punct::x) - (p1.Punct::x * p2.Punct::y))’ from ‘long long int’ to ‘double’ inside { } [-Wnarrowing]
Dreapta d1 = {p2.y - p1.y, p1.x - p2.x, p1.y * p2.x - p1.x * p2.y};
^
user.cpp: In function ‘int main()’:
user.cpp:68:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rubarba.in", "r", stdin);
^
user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rubarba.out", "w", stdout);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:75:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &v[i].x, &v[i].y);
^
user.cpp:62:3: warning: ‘ind3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i + 1 > n)
^
user.cpp:91:25: note: ‘ind3’ was declared here
long long ind1, ind2, ind3;
^
user.cpp:62:3: warning: ‘ind2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i + 1 > n)
^
user.cpp:91:19: note: ‘ind2’ was declared here
long long ind1, ind2, ind3;
^
user.cpp:62:3: warning: ‘ind1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i + 1 > n)
^
user.cpp:91:13: note: ‘ind1’ was declared here
long long ind1, ind2, ind3;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | Ok! You are better than Ionel! | 10 |
2 | 0ms | 480kb | Ok! You are better than Ionel! | 10 |
3 | 0ms | 484kb | Ok! You are better than Ionel! | 10 |
4 | 0ms | 476kb | Ok! You are better than Ionel! | 10 |
5 | 12ms | 636kb | Ok! You are better than Ionel! | 10 |
6 | 128ms | 2036kb | Ok! You are better than Ionel! | 10 |
7 | 136ms | 2036kb | Ok! You are better than Ionel! | 10 |
8 | 0ms | 476kb | Ok! You are better than Ionel! | 10 |
9 | 136ms | 2040kb | Ok! You are better than Ionel! | 10 |
10 | 0ms | 476kb | Ok! You are better than Ionel! | 10 |
Punctaj total | 100 |