Problem thedarknight
User ETkilobyte
Submission Time 2024-09-30 11:01:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

thedarknight.cpp:5:5: error: cannot declare ‘::main’ to be a global variable
5 | int main{
| ^~~~
thedarknight.cpp:7:33: error: expected ‘}’ before ‘;’ token
7 | ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
| ^
thedarknight.cpp:5:9: note: to match this ‘{’
5 | int main{
| ^
thedarknight.cpp:7:34: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
| ^~~
| sin
thedarknight.cpp:7:51: error: ‘cout’ does not name a type
7 | ios_base::sync_with_stdio(0);cin.tie(nullptr);cout.tie(nullptr);
| ^~~~
thedarknight.cpp:9:21: error: ‘cin’ does not name a type; did you mean ‘sin’?
9 | long long a,b,c;cin>>a>>b>&g