ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1226. esreveR redrO

My is accepted too.
Posted by neven 23 Jun 2004 11:31
The task is trivial but i don't know why the first time it send me compilation error - it doesnt see why?
for(int i = 0 ; i < strlen(line) ; i++)
        {
        if(!isalpha((int)line[i]))
        {

        if(started)
        {
        for(int z = i - 1 ; z >= startPos ; z--)
                cout << line[z];


#### that is some part of my code and it gave me compliation error because in int z = i - 1 z is undefined?