| Problem | scicom |
|---|---|
| User | CapK1wi |
| Submission Time | 2026-06-22 16:06:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
scicom.cpp:3:2: error: expected initializer before ‘std’
3 | std::string n; std::cin >> n; std::cout << n << " Silver" << endl;
| ^~~
scicom.cpp:3:22: error: ‘cin’ in namespace ‘std’ does not name a type
3 | std::string n; std::cin >> n; std::cout << n << " Silver" << endl;
| ^~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from scicom.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
scicom.cpp:3:37: error: ‘cout’ in namespace ‘std’ does not name a type
3 | std::string n; std::cin >> n; std::cout << n << " Silver" << endl;
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
fr