Problem bestplace
User ICantRemember
Submission Time 2023-11-09 10:24:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bestplace.cpp: In function ‘int32_t main()’:
bestplace.cpp:4:15: error: expected ‘(’ before ‘static_cast’
4 | #define round static_cast<long long>
| ^~~~~~~~~~~
bestplace.cpp:25:35: note: in expansion of macro ‘round’
25 | cout << static_cast<long long>round(sumx/n) << " " << static_cast<long long>round(sumy/n);
| ^~~~~
bestplace.cpp:25:49: error: invalid operands of types ‘long long int’ and ‘const char [2]’ to binary ‘operator<<’
25 | cout << static_cast<long long>round(sumx/n) << " " << static_cast<long long>round(sumy/n);
| ^~ ~~~
| |
| const char [2]
bestplace.cpp:4:15: error: expected ‘(’ before ‘static_cast’
4 | #define roun