10415 - Eb Alto Saxophone Player

All about problems in Volume 104. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

camus
New poster
Posts: 4
Joined: Sat Jan 22, 2005 8:30 am

Post by camus »

my code can give these output but still WA...
camus
New poster
Posts: 4
Joined: Sat Jan 22, 2005 8:30 am

Post by camus »

I make a string with size 255....
all input that u gave i have tried and nth wrong...
but still wrong ans
jaracz
Learning poster
Posts: 79
Joined: Sun Sep 05, 2004 3:54 pm
Location: Poland

Post by jaracz »

you should check if "music" is empty
therefore you'd better use gets(musik) instead of cin>>...
and check if(!strlen(music))printf(10 times "0") and continue your loop

Hope it helps
keep it real!
sunnycare
Learning poster
Posts: 74
Joined: Tue Mar 08, 2005 2:35 am
Location: China , Shanghai

Post by sunnycare »

3x accepted..
abhiramn
New poster
Posts: 29
Joined: Sat May 26, 2007 7:54 pm

Wrong Answer

Post by abhiramn »

Please Help I am getting Wrong Answer

Code: Select all

Code removed...
It is passing all the inputs on the board. Please help me!
Jan
Guru
Posts: 1334
Joined: Wed Jun 22, 2005 10:58 pm
Location: Dhaka, Bangladesh
Contact:

Post by Jan »

I think your code is correct. Try submitting it again.
Ami ekhono shopno dekhi...
HomePage
abhiramn
New poster
Posts: 29
Joined: Sat May 26, 2007 7:54 pm

Post by abhiramn »

Thanks so much! Yes you are right. God knows what happened that time!
Post Reply

Return to “Volume 104 (10400-10499)”