| Problem | glottalstops |
|---|---|
| User | R9q5P8 |
| Submission Time | 2026-05-15 15:09:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
glottalstops.cpp: In function ‘bool isVowel(char)’:
glottalstops.cpp:6:21: error: ‘a’ was not declared in this scope
6 | return c == 'a' || a == 'e' || a== 'i' || a=='o' || a=='u';
| ^
glottalstops.cpp: In function ‘void compute(int&, int&, int&, int&, std::string)’:
glottalstops.cpp:12:22: error: ‘s’ was not declared in this scope
12 | for (int i = 1; i < s.size())
| ^
glottalstops.cpp:12:30: error: expected ‘;’ before ‘)’ token
12 | for (int i = 1; i < s.size())
| ^
| ;
glottalstops.cpp: In function ‘int main()’:
glottalstops.cpp:32:11: error: ‘ING_MAX’ was not declared in this scope; did you mean ‘INT_MAX’?
32 | int lh = ING_MAX;
| ^~~~~~~
| INT_MAX