Problem | summarising2024 |
---|---|
User | kesleryak |
Submission Time | 2025-01-01 17:52:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
xyfriend.cpp: In function ‘std::vector<int> friendofxy(int, long long int)’:
xyfriend.cpp:5:2: error: ‘stringstream’ was not declared in this scope
5 | stringstream ss;
| ^~~~~~~~~~~~
xyfriend.cpp:2:1: note: ‘std::stringstream’ is defined in header ‘<sstream>’; did you forget to ‘#include <sstream>’?
1 | #include "xyfriend.h"
+++ |+#include <sstream>
2 | #include <vector>
xyfriend.cpp:6:2: error: ‘ss’ was not declared in this scope
6 | ss << X;
| ^~
xyfriend.cpp:7:2: error: ‘string’ was not declared in this scope
7 | string str = ss.str();
| ^~~~~~
xyfriend.cpp:2:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
1 | #include "xyfriend.h"
+++ |+#include <string>
2 | #include <vector>
xyfriend.cpp:9:16: error: ‘str’ was not declared in this scope; did you mean ‘std’?
9