Problem | 1609 |
---|---|
User | Lazer |
Submission Time | 2025-08-20 16:28:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
1609.cpp:5:8: error: cannot declare ‘::main’ to be a global variable
5 | signed main{
| ^~~~
1609.cpp:6:12: error: expected ‘}’ before ‘;’ token
6 | cout << "";
| ^
1609.cpp:5:12: note: to match this ‘{’
5 | signed main{
| ^
1609.cpp:6:7: error: invalid user-defined conversion from ‘std::basic_ostream<char>’ to ‘int’ [-fpermissive]
6 | cout << "";
| ~~~~~^~~~~
In file included from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from 1609.cpp:1:
/usr/include/c++/9/bits/basic_ios.h:117:16: note: candidate is: ‘std::basic_ios<_CharT, _Traits>::operator bool(