Pagini recente » Borderou de evaluare (job #887383) | Borderou de evaluare (job #623647) | Borderou de evaluare (job #1351000) | Borderou de evaluare (job #484398) | Borderou de evaluare (job #2705380)
Borderou de evaluare (job #2705380)
Raport evaluator
Compilare:
main.cpp: In function 'Dreapta dreapta(Punct, Punct)':
main.cpp:19: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};
~~~~~^~~~~~
main.cpp:19: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};
~~~~~^~~~~~
main.cpp:19: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};
~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:69: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);
^
main.cpp:70: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);
^
main.cpp:73:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:76: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);
^
main.cpp:65:14: warning: 'ind3' may be used uninitialized in this function [-Wmaybe-uninitialized]
return i + 1;
^
main.cpp:92:25: note: 'ind3' was declared here
long long ind1, ind2, ind3;
^~~~
main.cpp:65:14: warning: 'ind2' may be used uninitialized in this function [-Wmaybe-uninitialized]
return i + 1;
^
main.cpp:92:19: note: 'ind2' was declared here
long long ind1, ind2, ind3;
^~~~
main.cpp:65:14: warning: 'ind1' may be used uninitialized in this function [-Wmaybe-uninitialized]
return i + 1;
^
main.cpp:92:13: note: 'ind1' was declared here
long long ind1, ind2, ind3;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
2 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
3 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
4 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
5 | 11ms | 262kb | Ok! You are better than Ionel! | 10 |
6 | 99ms | 1835kb | Ok! You are better than Ionel! | 10 |
7 | 110ms | 1703kb | Ok! You are better than Ionel! | 10 |
8 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
9 | 120ms | 1703kb | Ok! You are better than Ionel! | 10 |
10 | 2ms | 131kb | Ok! You are better than Ionel! | 10 |
Punctaj total | 100 |