Problem glottalstops
User R9q5P8
Submission Time 2026-05-15 15:09:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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