Mixture.cpp: In function 'void addPoint()':
Mixture.cpp:79:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka '__int128*'} [-Wformat=]
79 | scanf("%lld %lld %lld", &x, &y, &z);
| ~~~^ ~~
| | |
| | ll* {aka __int128*}
| long long int*
Mixture.cpp:79:20: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'll*' {aka '__int128*'} [-Wformat=]
79 | scanf("%lld %lld %lld", &x, &y, &z);
| ~~~^ ~~
| | |
| | ll* {aka __int128*}
| long long int*
Mixture.cpp:79:25: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'll*' {aka '__int128*'} [-Wformat=]
79 | scanf("%lld %lld %lld", &x, &y, &z);
| ~~~^ ~~
| | |
| | ll* {aka __int128*}
| long long int*
Mixture.cpp: In function 'int main()':
Mixture.cpp:140:15: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'll*' {aka '__int128*'} [-Wformat=]
140 | scanf("%lld %lld %lld %d", &A, &B, &C, &n);
| ~~~^ ~~
| | |
| long long int* ll* {aka __int128*}
Mixture.cpp:140:20: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'll*' {aka '__int128*'} [-Wformat=]
140 | scanf("%lld %lld %lld %d", &A, &B, &C, &n);
| ~~~^ ~~
| | |
| long long int* ll* {aka __int128*}
Mixture.cpp:140:25: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'll*' {aka '__int128*'} [-Wformat=]
140 | scanf("%lld %lld %lld %d", &A, &B, &C, &n);
| ~~~^ ~~
| | |
| long long int* ll* {aka __int128*}
Mixture.cpp: In function 'void addPoint()':
Mixture.cpp:79:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
79 | scanf("%lld %lld %lld", &x, &y, &z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mixture.cpp: In function 'void delPoint()':
Mixture.cpp:100:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
100 | scanf("%d", &i);
| ~~~~~^~~~~~~~~~
Mixture.cpp: In function 'int main()':
Mixture.cpp:140:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
140 | scanf("%lld %lld %lld %d", &A, &B, &C, &n);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mixture.cpp:143:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
143 | scanf(" %c", &c);
| ~~~~~^~~~~~~~~~~
Mixture.cpp: In function 'bool calc3()':
Mixture.cpp:21:36: warning: 'prv.vector2::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | return vector2(x-r.x, y-r.y);
| ^
Mixture.cpp:118:13: note: 'prv.vector2::x' was declared here
118 | vector2 prv;
| ^~~
Mixture.cpp:21:36: warning: 'prv.vector2::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | return vector2(x-r.x, y-r.y);
| ^
Mixture.cpp:118:13: note: 'prv.vector2::y' was declared here
118 | vector2 prv;
| ^~~