| Problem | glottalstops |
|---|---|
| User | apples |
| Submission Time | 2026-05-15 14:38:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
glottalstops.cpp: In function ‘int main()’:
glottalstops.cpp:15:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | if(s[a]=="a"||s[a]=="e"||s[a]=="i"||s[a]=="o"||s[a]=="u"&&s[a+1]=="a"||s[a+1]=="e"||s[a+1]=="i"||s[a+1]=="o"||s[a+1]=="u") {
| ^~~
glottalstops.cpp:15:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | if(s[a]=="a"||s[a]=="e"||s[a]=="i"||s[a]=="o"||s[a]=="u"&&s[a+1]=="a"||s[a+1]=="e"||s[a+1]=="i"||s[a+1]=="o"||s[a+1]=="u") {
| ^~~
glottalstops.cpp:15:38: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
15 | if(s[a]=="a"||s[a]=="e"||s[a]=="i"||s[a]=="o"||s[a]=="u"&&s[a+1]=="a"||s[a+1]=="e"||s[a+1]=="i"||s[a+1]=="o"||s[a+1]=="u") {
| ^~~
glottalstops.cpp:15:49: error: ISO C++ forbids comparison between pointer and integer [-fper