Problem | glottalstops |
---|---|
User | PlayVoltz |
Submission Time | 2024-07-06 22:34:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
glottalstops.cpp: In function ‘int32_t main()’:
glottalstops.cpp:38:21: error: request for member ‘size’ in ‘s’, which is of non-class type ‘long long int’
38 | for (int i=0; i<s.size()-1; ++i){
| ^~~~
glottalstops.cpp:39:20: error: invalid types ‘long long int[long long int]’ for array subscript
39 | if (!isvowel(s[i])||!isvowel(s[i+1]))continue;
| ^
glottalstops.cpp:39:9: error: ‘isvowel’ was not declared in this scope; did you mean ‘islower’?
39 | if (!isvowel(s[i])||!isvowel(s[i+1]))continue;
| ^~~~~~~
| islower
glottalstops.cpp:39:38: error: invalid types ‘long long int[long long int]’ for array subscript
39 | if (!isvowel(s[i])||!isvowel(s[i+1]))continue;
| ^
glottalstops.cpp:40:11: error: invalid types ‘long long int[long long int]’ for array subscript
40 | if (s[i]==s[i+1])++s;