Problem | generosity |
---|---|
User | WHEE29alt |
Submission Time | 2024-06-18 13:19:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
generosity.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main{
| ^~~~
generosity.cpp:4:89: error: expected ‘}’ before ‘;’ token
4 | cout << "CBEC08CD7A97AAE838365DB8B6B54D7448235918F43D5B54474B0DCB20C566D6" << std::endl;
| ^
generosity.cpp:3:9: note: to match this ‘{’
3 | int main{
| ^
generosity.cpp:4:77: error: invalid user-defined conversion from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘int’ [-fpermissive]
4 | cout << "CBEC08CD7A97AAE838365DB8B6B54D7448235918F43D5B54474B0DCB20C566D6" << std::endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
In file included from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/istream:38,