Problem sumint
User iso6ky
Submission Time 2024-05-15 11:52:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:2: error: ‘tokens’ was not declared in this scope
11 | tokens<string> (N);
| ^~~~~~
sumint.cpp:11:15: error: expected primary-expression before ‘>’ token
11 | tokens<string> (N);
| ^
sumint.cpp:13:18: error: ‘str’ was not declared in this scope; did you mean ‘std’?
13 | stringstream ss(str);
| ^~~
| std
sumint.cpp:14:22: error: ‘token’ was not declared in this scope
14 | while (getline(ss , token , ' ')) {
| ^~~~~