Problem lengthsort
User skibidininja98
Submission Time 2024-06-18 16:00:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lengthsort.cpp: In function ‘int main()’:
lengthsort.cpp:8:28: error: ‘s’ was not declared in this scope
8 | for (size_t i = 0; i < s.size(); ++i) {
| ^
lengthsort.cpp:16:26: error: expected ‘}’ at end of input
16 | words.push_back(word);
| ^
lengthsort.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^