Problem shamelessad
User yanwen
Submission Time 2025-02-03 16:47:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shamelessad.cpp:1:1: error: ‘ios’ does not name a type
1 | ios::sync_with_stdio(0); cin.tie(0);
| ^~~
shamelessad.cpp:1:26: error: ‘cin’ does not name a type
1 | ios::sync_with_stdio(0); cin.tie(0);
| ^~~
shamelessad.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main {
| ^~~~
shamelessad.cpp:4:7: error: ‘cout’ is not a member of ‘std’
4 | std::cout << "Join Shor the Duck’s server, Shor’s Nest!"
| ^~~~
shamelessad.cpp:1:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | ios::sync_with_stdio(0); cin.tie(0);
shamelessad.cpp:4:15: error: expected ‘}’ at end of input
4 | std::cout << "Join Shor the Duck’s server, Shor’s Nest!"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shamelessad.cpp:3:10: note: