All about problems in Volume IV. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
I tried this problem for several time but still getting WA. Could you please help me?
- Code: Select all
int len,flag =0;
len = strlen(str);
for(i = 0;i<len;i++)
val = val + (str[i]-48);
j = 0;
else if(str[i] == '!'||str[i] == '\n')
val = 0;
- New poster
- Posts: 3
- Joined: Sun Mar 23, 2008 1:29 pm
Do not create a new thread for a problem if one already exists!
- Posts: 862
- Joined: Thu Jan 30, 2003 5:50 am
- Location: University of Texas at San Antonio
Return to Volume IV
Who is online
Users browsing this forum: No registered users and 1 guest